From dde87a38bdade971a961c3a465354e8af2174be1 Mon Sep 17 00:00:00 2001 From: Thierry Moudiki Date: Mon, 6 May 2024 08:33:27 +0200 Subject: [PATCH] update examples --- .github/workflows/python-publish.yml | 10 ++++----- examples/lsboost_classifier.py | 19 ------------------ mlsauce/adaopt/_adaoptc.cpython-311-darwin.so | Bin 494336 -> 494336 bytes .../booster/_boosterc.cpython-311-darwin.so | Bin 425848 -> 425848 bytes mlsauce/lasso/_lassoc.cpython-311-darwin.so | Bin 329024 -> 329024 bytes mlsauce/ridge/_ridgec.cpython-311-darwin.so | Bin 166384 -> 166384 bytes mlsauce/stump/_stumpc.cpython-311-darwin.so | Bin 266008 -> 266008 bytes 7 files changed, 5 insertions(+), 24 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 1c32c20..a5b8c8b 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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/ diff --git a/examples/lsboost_classifier.py b/examples/lsboost_classifier.py index 59b1cfa..e871b8f 100644 --- a/examples/lsboost_classifier.py +++ b/examples/lsboost_classifier.py @@ -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) diff --git a/mlsauce/adaopt/_adaoptc.cpython-311-darwin.so b/mlsauce/adaopt/_adaoptc.cpython-311-darwin.so index 68e0bea7877a091fe27978c95f50bae6df7f58cd..63246a6d59c8bba1d956f1dccc7ffca500504e4e 100755 GIT binary patch delta 68 zcmZpeCf6`cZo>jrf!ym;&)>LWnZMH_KKjC?Z@Zf}u(oetWdvd-AZ7+)79eKbzJZnP TLnBjHdHbSvw(X1B+2fc2FLoUt delta 68 zcmZpeCf6`cZo>jrfdk9KgtXrpF56mhB*8RadTa9r*7gmoj6lo;#LPg<0>rG_H?XpO TXk#j1prxp8V3LX diff --git a/mlsauce/lasso/_lassoc.cpython-311-darwin.so b/mlsauce/lasso/_lassoc.cpython-311-darwin.so index 4c9a6dd306c583b0677e30aec84cc6809e48f355..2fbc0d5b5bd5130bada678f3f12192817d2c10ea 100755 GIT binary patch delta 56 zcmX@mC32ukWWxehfsN*KBWLtk%dfo?*e`UEpSyVjYx@RPMj&PaV&?4|SXna6n68v> Km$G3|I|%@WMinyv delta 56 zcmX@mC32ukWWxehfwKDbmv8!7)lEHpq+zc2rghC5Slc(SG6FFZ5HoMzz{-+g#`Ldn KyOa%!+DQQ62^Z7= diff --git a/mlsauce/ridge/_ridgec.cpython-311-darwin.so b/mlsauce/ridge/_ridgec.cpython-311-darwin.so index e45e0acc832986f19099c1e063dba23f49f43ed5..a0fdc57757ac48b90778fbaae5f9946e2731b155 100755 GIT binary patch delta 48 zcmV-00MGyMlM3*Y3b0TG5M?>kM-V$ZkddU1hXBkbJ%eBchhPN(w_pVVz#9VNcef%T G0?ug61QFE$ delta 48 zcmV-00MGyMlM3*Y3b0TG5Q^%Fa?{i`KZ)h^_-e(=2ZLY*hhPN(w_pVVz#9S#a`*7gmoj6lq^eFH1=k8GxY<=a;k IGUv?&07ViO761SM delta 52 zcmbO+PhiG8fei~-1sYZI4QdZsiR}=)xbberE1BjEtnC|E8G)E-`vz9#AK6T5McY>u IGUv?&06f7JSpWb4