Skip to content

Commit

Permalink
Merge pull request #30 from Techtonique/v0180
Browse files Browse the repository at this point in the history
update examples
  • Loading branch information
thierrymoudiki authored May 6, 2024
2 parents 439ba6b + dde87a3 commit ef93a00
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 24 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
- name: Run examples
run: pip install .&&find examples -maxdepth 2 -name "*.py" -exec python3 {} \;

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_GLOBAL_MLSAUCE }}
repository-url: https://upload.pypi.org/legacy/
#- name: Publish to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PYPI_GLOBAL_MLSAUCE }}
# repository-url: https://upload.pypi.org/legacy/
19 changes: 0 additions & 19 deletions examples/lsboost_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,22 +270,3 @@
print(time()-start)


obj = ms.LSBoostClassifier(solver="enet",
n_clusters=3, degree=2,
clustering_method="gmm")
print(obj.get_params())
start = time()
obj.fit(X_train, y_train)
print(time()-start)
start = time()
print(obj.score(X_test, y_test))
print(time()-start)
# MORE DATA NEEDED # MORE DATA NEEDED # MORE DATA NEEDED
# obj = ms.LSBoostClassifier(backend="gpu", solver="lasso")
# print(obj.get_params())
# start = time()
# obj.fit(X_train, y_train)
# print(time()-start)
# start = time()
# print(obj.score(X_test, y_test))
# print(time()-start)
Binary file modified mlsauce/adaopt/_adaoptc.cpython-311-darwin.so
Binary file not shown.
Binary file modified mlsauce/booster/_boosterc.cpython-311-darwin.so
Binary file not shown.
Binary file modified mlsauce/lasso/_lassoc.cpython-311-darwin.so
Binary file not shown.
Binary file modified mlsauce/ridge/_ridgec.cpython-311-darwin.so
Binary file not shown.
Binary file modified mlsauce/stump/_stumpc.cpython-311-darwin.so
Binary file not shown.

0 comments on commit ef93a00

Please sign in to comment.