Граф коммитов

435 Коммитов

Автор SHA1 Сообщение Дата
Karla Saur dc4e58d92e Unpinning onnx/skl2onnx after release
This reverts commit f1f719549d.
2023-05-09 16:05:38 +00:00
Karla Saur f1f719549d
Problem with ONNX=1.14 and skl2onnx (#700)
* Adding pin due to version incompatbility
2023-05-08 18:32:46 +00:00
Karla Saur 17856fe50c
Removing pins for pyspark (#698)
Now that upstream fix merged for pandas conflict.  But this may cause problems with Prophet (see #519)
2023-04-21 10:14:37 -07:00
Karla Saur ea84cc58be
Removing sklearn-onnx pin now that update is released (#693) 2023-04-03 14:15:27 -07:00
Karla Saur b4f8f14153
follwing up on 639, should be fixed (#692) 2023-04-03 12:50:33 -07:00
Karla Saur 9abe83fb00
addressing #694 (#695) 2023-04-03 11:36:36 -07:00
Masahiro Hiramori 3d2e63cbd2
torch==2.0.0 (#691) 2023-03-15 21:11:29 -07:00
Karla Saur 7ae2d17b1e
bump to v0.4.8 (#689) 2023-02-27 22:15:06 -08:00
Karla Saur fde406a057
Working on #675 (#686)
ORT is released, but I think we still need SKL-ONNX
2023-02-13 10:36:19 -08:00
Karla Saur 3a0bdb7583
scheduling cron pipeline runs for Fridays at 1:15pm PST (#685) 2023-02-10 11:35:03 -08:00
Masahiro Hiramori 4033daa77f
use LLVM@14 (#681) 2023-02-06 10:40:22 -08:00
Masahiro Hiramori 828ab68260
add support for BGMM (#677) 2023-01-25 11:53:16 -08:00
Karla Saur 36ebab4d1a
Security vuln update from Dependabot alerts (#635)
* Security vuln update from Dependabot alerts

* formatting

* pin onnx for now?

* Update setup.py

* ordering?

* reverting

* putting onnx in pipeline for now to test

* ordering

* an experiment that will def fail

* reverting to the last working try
2023-01-13 13:47:54 -08:00
Joppe Geluykens c862916676
allow for identity POST_TRANSFORM (#674)
* allow for identity POST_TRANSFORM

* add test
2023-01-10 14:58:00 -08:00
Karla Saur a1fc5cf0c1
not using os.sys call (#673)
* not using os.sys call

* fatfinger
2023-01-10 22:40:00 +01:00
Karla Saur e63aed0983
adding acks (#669) 2022-12-27 15:39:36 -08:00
Masahiro Hiramori ef48e01531
Updating macOS runner version (#668)
* update macOS ver 11->12

* solve cache key conflict

* fix error on TVM installation
2022-12-27 08:53:30 -08:00
Masahiro Hiramori 41aae4bf60
update Windows ver 2019->2022 (#665) 2022-12-21 22:15:06 -08:00
Masahiro Hiramori e59b9fe9f9
Fix inhomogeneous shape error on numpy array creation (#667)
* fix inhomogeneous shape error

* reshape to 1-d array
2022-12-20 12:01:57 -08:00
Karla Saur dc24aa3e9c
Changes for SKL1.2 (#661)
* s/boston/cali/g

* removing the Normalizer with wrong params as it is no longer possible

* Whiten parameter of PCA must now be bool

* lint

* pulling from github for skl to unblock for now

* trying again with skl2onnx

* skl2onnx install keeps getting overwritten, must be in two places for now

* we skipped identity in parse, causing it to miss probab

* lint
2022-12-09 13:23:37 -08:00
Masahiro Hiramori d7a969e1f8
Cleanup GitHub Action workflow (#658)
* update torch installation

* remove `pip list` actions

* fix typo
2022-12-08 10:22:49 -08:00
Karla Saur 90dfcde91b
bump to v0.4.7 (#657) 2022-11-29 11:38:55 -08:00
Chris Hua d0bb48151d
fix: support varying batch sizes (#654)
* feat: dynamic axes

* feat: add test for varying batch size

* chore: cleanup variable naming

* chore: lint

`pre-commit run --all-files` was quite aggressive

* fix: check onnx conv, not torch

* chore: remove `fix_graph`

* chore: lint

* fix: skip onnx test if not installed

* chore: add more tests

notably, the multi-classification models appear to still have the previous behavior.

* Revert "chore: lint"

This reverts commit 8b4ea4ed33.

* fix: limit array properly

* chore: clean up remaining print statements

* fix: set first dimension in tests to custom

Necessary to support arbitrary batch sizes
Also refactors tests to properly separate out model conversion and testing

* chore: update LGBM-ONNXML notebook

Must set first dimension to None in the ONNXMLTools conversion.

* fix: more bumpversion locations
2022-11-29 10:09:14 -08:00
Chris Hua 37849b5d79
chore: update deprecated calls (#655)
* chore: address deprecations

* chore: remove LooseVersion

grep find replace

* feat: remove distutils

Deprecated, uses setuptools instead

* chore: drop Python 2 references

These exist as backports for Python 2, but the package requires >=3.8 anyways.
2022-11-25 14:52:09 -08:00
Karla Saur 12e75137f6
bump to v0.4.6 (#652) 2022-11-10 15:22:53 -08:00
Matteo Interlandi 29c3f68923
added support for Tweedie, Poisson and Gamma regressors (#650) 2022-11-04 14:31:51 -07:00
Masahiro Hiramori abfeee4e02
update codecov/codecov-action to v3 (#648) 2022-11-02 08:53:48 -07:00
Masahiro Hiramori 8acd18bfd2
Update actions/checkout and actions/setup-python (#647)
* update actions/checkout to v3

* update actions/setup-python to v4
2022-11-01 09:58:22 -07:00
Matteo Interlandi df2bd0b95d
Update pythonapp.yml (#646) 2022-10-31 12:13:45 -07:00
Masahiro Hiramori ea6d11251f
Update TVM to 0.10 (#642) 2022-10-28 09:32:28 -07:00
Liangfu Chen 9e59b1e259
unify load params interface (#640) 2022-10-04 17:49:33 -07:00
Liangfu Chen 0fdf25059b
allow derived types of DataFrame (#637)
* update DataFrame type checkings to allow derived types of DataFrame

* fix testing errors

* Update setup.py

Co-authored-by: Matteo Interlandi <m.interlandi@gmail.com>
2022-10-04 12:44:28 -07:00
Roman Bredehoft a0906815c7
Corrects some typos (#628)
Co-authored-by: Roman <Roman Bredehoft>
2022-09-12 11:16:03 -07:00
Rafail Giavrimis 2b712a30de
Added support for more decision conditions in trees and ONNX conversion (#631)
* Added support for more decision conditions in trees and ONNX conversion

* Added test for BRANCH_LT in ONNXML

* Use convert_model from onnxmltools instead of manually picking converter for test
2022-09-11 19:22:15 -07:00
Roman Bredehoft c38178c4d1
fix linear models conversion when fit_intercept set to False (#630) 2022-08-31 10:37:00 -07:00
Luis Montero 0a1f21ea91
Add ElasticNet, Lasso and Ridge support (#625)
Using the same function as for LinearRegression this adds support for
ElasticNet, Lasso and Ridge.

closes #624
2022-08-29 10:34:37 -07:00
Karla Saur 77b15612b4
updating ubuntu version (#623)
* updating ubuntu version

* addressing mshr-h's comment
2022-08-29 18:16:00 +02:00
Karla Saur 8df9db3313
deprecating email due to spammers.... (#621) 2022-08-17 10:07:37 +02:00
Masahiro Hiramori 45c9851cc9
Fix deprecation warnings for sklearn/scipy (#610)
* remove `import enable_hist_gradient_boosting` because it's not needed since skl 1.0

* remove the `except` part and use `n_features_in_` for HistGradientBoosting

* use `var_` instead of `sigma_` because it was deprecated in skl 1.0 and will be removed in skl 1.2

* Use `algorithm=lloyd` for KMeans instead of `algorithm=full/auto`

* Use `csr_matrix` from the `scipy.sparse` namespace because the `scipy.sparse.csr` namespace is deprecated.

* Use `loss='log_loss'` instead of `loss='log'` because it was deprecated in v1.1 and will be removed in version 1.3.

* Use `eigenvalues_` instead of `lambdas_` because it was deprecated in version 1.0 and will be removed in 1.2.

* Use `eigenvectors_` instead of `alphas_` because it was deprecated in version 1.0 and will be removed in 1.2.
2022-08-10 09:12:14 -07:00
Masahiro Hiramori e838260ef3
Bump `action/cache` to v3 (#619)
* bump `action/cache` to v3

* see cache works

* Use `~/work/tvm` for TVM

* fix TVM path

* Oops

* see cache works
2022-08-09 21:57:31 -07:00
Matteo Interlandi e6d44e2b3a
Update setup.py (#618) 2022-08-08 21:04:42 -07:00
Karla Saur 01407294fd
bump to v0.4.5 (#617) 2022-08-05 10:52:48 -07:00
Masahiro Hiramori 08e48cc5a8
Use pre-installed LLVM for building TVM on macOS-11 (#615)
* use pre-installed LLVM for TVM compilation

* increase CACHE_NUMBER
2022-08-05 08:49:22 -07:00
Karla Saur ac2f28136b
Pinning onnxconverter-common to avoid dep (#614)
Temp fix for #613
2022-08-03 12:11:20 -07:00
Masahiro Hiramori 4d20824bef
Bump TVM to v0.9 (#609)
* update TVM to 0.9 and use prebuild package if ubuntu

* statically link LLVM with TVM
2022-08-01 21:44:59 -07:00
Masahiro Hiramori 5565104621
Add Python 3.10 (#586)
* add python 3.10

* increase CACHE_NUMBER to fix TVM import error

* update README.md

* Update pythonapp.yml

Co-authored-by: Matteo Interlandi <m.interlandi@gmail.com>
2022-08-01 12:23:14 -07:00
Masahiro Hiramori bb87598466
upgrade prophet to v1.1 (#608) 2022-07-28 10:36:05 -07:00
SangamSwadik 2d474359b1
check for Sklearn model NotFitted before conversion (#607)
* check for model  NotFitted before conversion

* check for model type

* better model type check and basic tests for conversion without fit()

Co-authored-by: SangamSwadiK <sangamswadiK@users.noreply.github.com>
2022-07-13 09:25:15 -07:00
Masahiro Hiramori d98426d94d
Use `python -m pip` instead of the `pip` executable (#605)
* Use `n_features_in_` instead of `n_features_`.

* use `python -m pip` instead of the `pip` executable
2022-07-08 09:26:28 -07:00
Masahiro Hiramori 961ea8042b
Use `n_features_in_` instead of `n_features_`. (#604) 2022-07-05 20:39:54 -07:00