Commit Graph

364 Commits

Author SHA1 Message Date
jmrichardson e43485607a
Disable shuffle for custom CV (#659)
* Disable shuffle for custom CV

* Add custom fold shuffle test

* Update test_split.py

* Update test_split.py
2022-08-12 17:05:32 -07:00
Chi Wang ca9f9054e7
categorical choice can be ordered or unordered (#677)
* categorical choice can be ordered or unordered

* ordered -> order

* move choice into utils

* version comparison

* packaging -> setuptools

* import version

* version_parse

* test order for choice
2022-08-12 13:55:17 -07:00
Kevin Chen f718d18b5e
time series forecasting with panel datasets (#541)
* time series forecasting with panel datasets
- integrate Temporal Fusion Transformer as a learner based on pytorchforecasting

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update setup.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update test_forecast.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update setup.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update setup.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update model.py and test_forecast.py
- remove blank lines

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update model.py to prevent errors

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update automl.py and data.py
- change forecast task name
- update documentation for fit() method

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update test_forecast.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update test_forecast.py
- add performance test
- use 'fit_kwargs_by_estimator'

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* add time index function

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update test_forecast.py performance test

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update data.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update automl.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update data.py to prevent type error

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update setup.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update for pytorch forecasting tft on panel datasets

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update automl.py documentations

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* - rename estimator
- add 'gpu_per_trial' for tft estimator

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update test_forecast.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* include ts panel forecasting as an example

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update model.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update documentations

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update automl_time_series_forecast.ipynb

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update documentations

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* "weights_summary" argument deprecated and removed for pl.Trainer()

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update model.py tft estimator prediction method

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update model.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update `fit_kwargs` documentation

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

* update automl.py

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>

Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2022-08-12 08:39:22 -07:00
Qingyun Wu b436459e47
Documentation on search space and parallel/sequential tuning (#675)
* add search space doc

* remove redundancy

* add parallel and sequential guidelines

* add caveats

* update doc

* add code example

* wording

* revise example

* add a tutorial link in readme

* wording change

* update readme

* remove redundancy

* Update website/docs/Use-Cases/Task-Oriented-AutoML.md

Co-authored-by: Xueqing Liu <liususan091219@users.noreply.github.com>

* Update website/docs/Use-Cases/Task-Oriented-AutoML.md

Co-authored-by: Xueqing Liu <liususan091219@users.noreply.github.com>

Co-authored-by: Xueqing Liu <liususan091219@users.noreply.github.com>
2022-08-12 01:17:31 -04:00
Xueqing Liu 809639f723
Update Research.md (#672)
* Update Research.md

Update Research.md

* Update website/docs/Research.md

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>

* Update Research.md

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2022-08-11 23:16:33 -04:00
Chi Wang 524e5e2140
pull request template (#668)
* pull request template

* update instructions about tests
2022-08-11 17:35:41 -07:00
jmrichardson 25ad397d55
Skip transform (#665)
* Skip transform

* Fix logic and docstring, add test

* Add period ending to skip_transform doc

* Add skip_transform to retrain_from_log method

* Update test/automl/test_classification.py

Co-authored-by: Xueqing Liu <liususan091219@users.noreply.github.com>

Co-authored-by: Xueqing Liu <liususan091219@users.noreply.github.com>
2022-08-11 19:41:23 -04:00
Rui Zhuang b6e8b9ccca
Add pipeline tuner component and dependencies. (#671)
* add pipeline tuner component and dependencies.

* clean code.

* do not need force rerun.

* replace the resources.

* update metrics retrieving.

* Update test/pipeline_tuning_example/requirements.txt

* Update test/pipeline_tuning_example/train/env.yaml

* Update test/pipeline_tuning_example/tuner/env.yaml

* Update test/pipeline_tuning_example/tuner/tuner_func.py

* Update test/pipeline_tuning_example/data_prep/env.yaml

* fix issues found by lint with flake8.

* add documentation

* add data.

* do not need AML resource for local run.

* AML -> AzureML

* clean code.

* Update website/docs/Examples/Tune-AzureML pipeline.md

* rename and add pip install.

* update figure name.

* align docs with code.

* remove extra line.
2022-08-10 20:20:21 -07:00
Chi Wang 816a82a115
make test result more stable (#646) 2022-08-05 10:17:41 -07:00
Xueqing Liu 21fa6c10ec
Fixing the issue that FLAML trial number is significantly smaller than Transformers.hyperparameter_search (#657)
* fix 636

* adding low cost config

* update padding; update tokenization output y type (series -> DF); update low cost init config

* updating todf; updating metric_loss_score
2022-08-03 00:11:29 -04:00
Xueqing Liu 74e6026ab9
bump version to 1.0.9 (#656) 2022-07-31 10:02:08 -07:00
Xueqing Liu 5eb5d43d7f
Fix HPO evaluation bug (#645)
* fix eval automl metric bug on val_loss inconsistency

* updating starting point search space to continuous

* shortening notebok
2022-07-28 23:08:42 -04:00
Luis Quintanilla d649fefa6b
Update .NET documentation (#643)
* Updated install instructions

* Update website/docs/Installation.md

* Updated install and README
2022-07-26 16:53:49 -07:00
zsk ebbfa0c7f5
Merge pull request #644 from skzhang1/fix_alerts
Fix alerts
2022-07-26 17:05:42 -04:00
zsk 655b7bfefa
Merge branch 'main' into fix_alerts 2022-07-26 16:25:56 -04:00
Zhonghua Zheng 05292c8c74
added "**kwargs" to "predict" (#641)
* added "**kwargs" to "predict" functions
2022-07-26 16:19:37 -04:00
skzhang1 26113dd2d6 Merge branch 'main' into fix_alerts 2022-07-26 15:31:08 -04:00
zsk f3a0438c86
Merge branch 'microsoft:main' into main 2022-07-26 15:25:45 -04:00
Xueqing Liu 731afec9eb
This PR fixes the frequent NLP bugs in the other PRs (#647)
* fix nlp bug

* resetting model to electra small

* removing model_path from fit_kwargs_by_estimator
2022-07-25 17:46:33 -04:00
skzhang1 6ced9cb5cc update node forge 2022-07-21 15:09:22 -04:00
skzhang1 d88c7390ce ignore engine 2022-07-21 14:48:21 -04:00
skzhang1 aaec58908a update 2022-07-21 14:32:28 -04:00
zsk a2c3c7cb1c
Merge branch 'microsoft:main' into main 2022-07-20 20:32:52 -04:00
dependabot[bot] 89d9c4426e
Bump terser from 5.10.0 to 5.14.2 in /website (#642)
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 08:44:30 -07:00
Xueqing Liu a64956a7c8
updating search space (#633)
* updating search space
2022-07-11 18:20:09 -04:00
Xueqing Liu 8fb1c1a29a
fix NER roberta bug (#632)
* fix NER roberta bug
2022-07-10 23:04:26 -04:00
Chi Wang e14e909af9
Feature names and importances (#621)
* feature names and importances

* None check

* StackingClassifier has no feature_importances_

* StackingClassifier has no feature_names_in_
2022-07-10 12:25:59 -07:00
Aditya Agarwal 59bd3c1979
fix #630 n_cpus -> num_cpus (#631) 2022-07-10 08:19:39 -07:00
Xueqing Liu 214566313c
disable max_len for ner (#629)
* disable max_len for ner
2022-07-10 06:33:02 -04:00
Qingyun Wu b7846048dc
Allow FLAML_sample_size in starting_points (#619)
* FLAML_sample_size

* clean up

* starting_points as a list

* catch AssertionError

* per estimator sample size

* import

* per estimator min_sample_size

* Update flaml/automl.py

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* Update test/automl/test_warmstart.py

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* add warnings

* adding more tests

* fix a bug in validating starting points

* improve test

* revise test

* revise test

* documentation about custom_hp

* doc and efficiency

* update test

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2022-07-09 16:04:46 -04:00
Xueqing Liu 6cb6a2a19a
isinstance(x, int) -> isinstance(x, (int, np.integer)) (#627)
* isinstance(x, int) -> isinstance(x, (int, np.integer))
2022-07-06 13:22:05 -04:00
Xueqing Liu 6108493e0b
fix ner bug; refactor post processing of TransformersEstimator prediction (#615)
* fix ner bug; refactor post processing

* fix too many values to unpack

* supporting id/token label for NER
2022-07-05 13:38:21 -04:00
Sanskrati 6dd93bc939
Add space after comma (#623)
Add space after comma in 'subscription_id='<azure-subscription-id>',resource_group='myresourcegroup')'
2022-07-02 09:04:32 -07:00
Chi Wang 9bf13d66f1
use relative url in doc (#620)
* use relative url in doc

* update link
2022-07-01 13:28:16 -07:00
Zvi Baratz beb10273e8
Typo fix (#618) 2022-06-30 06:43:09 -07:00
Chi Wang 74cca60606
Allow custom GroupKFold object as split_type (#616)
* Allow custom GroupKFold object

* handle unpickle error for prophet 1.1

* eval_method in test_object()
2022-06-29 21:04:25 -07:00
zsk 8b0ff486fa
Merge branch 'microsoft:main' into main 2022-06-26 20:56:11 -04:00
Chi Wang cbb85e2aab
Py36 (#614)
* allow installation in py 3.6

* test py 3.6
2022-06-26 08:32:28 -07:00
zsk 72deb84b50
Merge branch 'microsoft:main' into main 2022-06-25 14:49:48 -04:00
Zvi Baratz 8e3fccf592
Updated hooks (#609)
Updated the flake8 hook and black's version, closes #608.

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2022-06-25 13:46:28 -04:00
Chi Wang 7d6822aa40 cath URLError 2022-06-24 08:07:26 -07:00
zsk f471d6f822
Merge branch 'microsoft:main' into main 2022-06-23 23:26:14 -04:00
Zvi Baratz 127e482ac8
Replaced !pip calls with %pip magic command. (#604)
Closes #603.
2022-06-23 18:45:42 -07:00
Chi Wang 6cb44484f6 min eci depends on cost_attr; cost_attr in ls 2022-06-23 15:16:27 -07:00
zsk 9415fa2ec9
Merge branch 'microsoft:main' into main 2022-06-23 14:23:33 -04:00
Chi Wang 4377d53a73
update got version (#607)
* update got version

* None check
2022-06-23 08:02:46 -07:00
Zvi Baratz fefdb48ef3
Fix automl settings in scikit-learn pipeline integration example (#602)
* Added test directory and core file to gitignore.

Closes #601.

* Fixed pipeline fit parameters.

Closes #600.

* Reverted changes to gitignore.
2022-06-22 19:44:14 -07:00
zsk 7cfc41e2ac
Merge branch 'microsoft:main' into main 2022-06-22 11:00:47 -04:00
Chi Wang c45741a67b
support latest xgboost version (#599)
* support latest xgboost version

* Update test_classification.py

* Update 

Exists problems when installing xgb1.6.1 in py3.6

* cleanup

* xgboost version

* remove time_budget_s in test

* remove redundancy

* stop support of python 3.6

Co-authored-by: zsk <shaokunzhang529@gmail.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2022-06-21 18:59:07 -07:00
zsk e4b7946de6
Merge branch 'microsoft:main' into main 2022-06-20 16:19:19 -04:00