Commit Graph

3198 Commits

Author SHA1 Message Date
Andrea W
297fc5ad7c annotate state, add cv notebook 2023-01-26 14:18:55 +00:00
Shaokun
cdc4201188 update (#883) 2023-01-18 14:35:57 -05:00
Shaokun
60a3e85b98 Merge branch 'main' into support_percentages 2023-01-17 10:06:51 -05:00
skzhang1
3a68da8774 update 2023-01-17 06:49:59 -08:00
dependabot[bot]
100bfe2d43 Bump json5 from 2.2.1 to 2.2.3 in /website (#877)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shaokun <shaokunzhang529@gmail.com>
2023-01-10 09:39:29 -08:00
Chi Wang
7b07b9778d handle num_samples=-1 (#879)
* handle num_samples=-1

* comment on num_samples=0
2023-01-10 07:04:28 -08:00
Chi Wang
75e3454120 notebook test; spark warning message; reproducibility bug; sequential tuning stop condition (#869)
* notebook test

* add ipykernel, remove except

* only create dir if not empty

* Stop sequential tuning when result is None

* fix reproducibility of global search

* save gs seed

* use get to avoid KeyError

* test
2023-01-07 18:39:29 -08:00
skzhang1
b7c0c24269 support percentage tolerance for lexicographic 2023-01-07 11:41:24 -08:00
Li Jiang
9fde27e536 fix #871: call check_spark only when necessary (#872)
Co-authored-by: Li Jiang <lijiang1@microsoft.com>
2023-01-07 07:41:35 -08:00
Antoni Baum
5f67c0ab8a Do not persist entire AutoMLState in Searcher (#870)
* Do not persist entire AutoMLState in Searcher

Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>

* Fix tests

Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>

Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>
2023-01-05 18:00:05 -08:00
Chi Wang
90aea9c28b create dir for log file name (#867) 2022-12-30 10:21:30 -08:00
Chi Wang
b78d0b57c4 Info and naming (#864)
* remove __class__

* var name
2022-12-25 14:43:22 -05:00
Li Jiang
da2cd7ca89 Add supporting using Spark as the backend of parallel training (#846)
* Added spark support for parallel training.

* Added tests and fixed a bug

* Added more tests and updated docs

* Updated setup.py and docs

* Added customize_learner and tests

* Update spark tests and setup.py

* Update docs and verbose

* Update logging, fix issue in cloud notebook

* Update github workflow for spark tests

* Update github workflow

* Remove hack of handling _choice_

* Allow for failures

* Fix tests, update docs

* Update setup.py

* Update Dockerfile for Spark

* Update tests, remove some warnings

* Add test for notebooks, update utils

* Add performance test for Spark

* Fix lru_cache maxsize

* Fix test failures on some platforms

* Fix coverage report failure

* resovle PR comments

* resovle PR comments 2nd round

* resovle PR comments 3rd round

* fix lint and rename test class

* resovle PR comments 4th round

* refactor customize_learner to broadcast_code
2022-12-23 08:18:49 -08:00
Shaokun
4140fc9022 Format errors on the web. (#855)
* fix_doc

* update

* fix lint

* fix lint

* reformat

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2022-12-22 22:36:34 -05:00
Shaokun
f98b7555e9 Merge pull request #853 from jingdong00/jingdong00-patch-1
Fix example tune-pytorch where the checkpoint path may be named differently
2022-12-19 16:38:19 -05:00
Shaokun
91ec8e9355 Merge branch 'main' into jingdong00-patch-1 2022-12-19 12:40:58 -05:00
Jing Dong
3a194d047b fix checkpoint.value in the notebook and test 2022-12-19 09:22:16 -08:00
Jing Dong
b2d51b648c Added an info reminding user that if no time_budget and no max_iter is specified, then effectively zero-shot AutoML is used (#850)
* Added an info reminding user that if no time_budget and no max_iter is specified, then effectively zero-shot AutoML is used

* moved message to line 2818

* Update flaml/automl/automl.py

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

* Update flaml/automl/automl.py

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

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2022-12-18 12:49:00 -05:00
skzhang1
7e4e4c7901 clean up 2022-12-17 13:34:11 -05:00
skzhang1
6888605388 remove 2022-12-17 13:31:52 -05:00
Jing Dong
5778227a71 Fix checkpoint path issue
checkpoint path may be named dir_or_data instead of value
2022-12-16 14:41:33 +08:00
Jing Dong
c1872861b6 Merge branch 'microsoft:main' into main 2022-12-16 14:31:08 +08:00
Luis Quintanilla
2b203ca694 Update .NET documentation links (#847)
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2022-12-13 22:56:45 -05:00
Chi Wang
2338431990 FAQ about OOM (#849)
* FAQ about OOM

* reduce -> resolve
2022-12-13 18:09:50 -05:00
Jing Dong
f6aa8eed3f Added an info reminding user that if no time_budget and no max_iter is specified, then effectively zero-shot AutoML is used 2022-12-13 14:19:09 -08:00
Chi Wang
232c356a4b fix bug related to _choice_ (#848)
* fix bug related to _choice_

* remove py 3.6

* sanitize config

* optimize test
2022-12-13 15:48:32 -05:00
Shaokun
f50415305f Merge pull request #843 from skzhang1/update_doc
Update doc
2022-12-07 15:54:52 -05:00
Shaokun
24eb0e9227 Merge branch 'main' into update_doc 2022-12-07 13:05:00 -05:00
Shaokun
10303854e2 Update website/docs/Examples/Tune-Lexicographic-objectives.md
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2022-12-07 13:04:55 -05:00
Shaokun
28c7626e99 Update Tune-Lexicographic-objectives.md 2022-12-07 10:57:33 -05:00
Chi Wang
dbc2e2d796 Use get to avoid KeyError (#824)
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
Co-authored-by: Kevin Chen <74878789+int-chaos@users.noreply.github.com>
2022-12-07 01:23:45 -05:00
Qingyun Wu
2a4d9d3ecc Merge branch 'main' into update_doc 2022-12-06 21:41:07 -05:00
HangHouCheong
f8fa5258e1 Edit the announcement of AAAI-23 tutorial and the KDD tutorial announcement. (#820)
* AAAI

* KDD

* Update README.md

Co-authored-by: Kevin Chen <74878789+int-chaos@users.noreply.github.com>

* Update README.md

Co-authored-by: Kevin Chen <74878789+int-chaos@users.noreply.github.com>

* revise

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Exchange_order

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
Co-authored-by: Kevin Chen <74878789+int-chaos@users.noreply.github.com>
2022-12-06 21:27:15 -05:00
skzhang1
5adce62857 update 2022-12-06 20:42:06 -05:00
Mark Harley
44ddf9e104 Refactor into automl subpackage (#809)
* Refactor into automl subpackage

Moved some of the packages into an automl subpackage to tidy before the
task-based refactor. This is in response to discussions with the group
and a comment on the first task-based PR.

Only changes here are moving subpackages and modules into the new
automl, fixing imports to work with this structure and fixing some
dependencies in setup.py.

* Fix doc building post automl subpackage refactor

* Fix broken links in website post automl subpackage refactor

* Fix broken links in website post automl subpackage refactor

* Remove vw from test deps as this is breaking the build

* Move default back to the top-level

I'd moved this to automl as that's where it's used internally, but had
missed that this is actually part of the public interface so makes sense
to live where it was.

* Re-add top level modules with deprecation warnings

flaml.data, flaml.ml and flaml.model are re-added to the top level,
being re-exported from flaml.automl for backwards compatability. Adding
a deprecation warning so that we can have a planned removal later.

* Fix model.py line-endings

* Pin pytorch-lightning to less than 1.8.0

We're seeing strange lightning related bugs from pytorch-forecasting
since the release of lightning 1.8.0. Going to try constraining this to
see if we have a fix.

* Fix the lightning version pin

Was optimistic with setting it in the 1.7.x range, but that isn't
compatible with python 3.6

* Remove lightning version pin

* Revert dependency version changes

* Minor change to retrigger the build

* Fix line endings in ml.py and model.py

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
Co-authored-by: EgorKraevTransferwise <egor.kraev@transferwise.com>
2022-12-06 15:46:08 -05:00
Chi Wang
92b79221b6 make performance test reproducible (#837)
* make performance test reproducible

* fix test error

* Doc update and disable logging

* document random_state and version

* remove hardcoded budget

* fix test error and dependency; close #777

* iloc
2022-12-06 10:13:39 -08:00
Shreyas
3b3b0bfa8e roc_auc_weighted metric addition (#827)
* Pending changes exported from your codespace

* Update flaml/automl.py

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

* Update flaml/automl.py

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

* Update flaml/ml.py

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

* Update flaml/ml.py

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

* Update website/docs/Examples/Integrate - Scikit-learn Pipeline.md

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

* added documentation for new metric

* Update flaml/ml.py

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

* minor notebook changes

* Update Integrate - Scikit-learn Pipeline.md

* Update notebook/automl_classification.ipynb

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

* Update integrate_azureml.ipynb

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2022-12-02 19:27:32 -08:00
Kevin Chen
d213ae8f39 catch TFT logger bugs (#833)
* catch logger bugs

* indentations issues

* fix logger issues

* specify exception

* document reason for exception

* update exceptions

* disable callbacks when `logger=False`

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2022-12-02 13:56:59 -08:00
Li Jiang
2501b86444 fix typo of output directory (#828)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2022-11-30 17:04:29 -08:00
Chi Wang
70d86942f4 skip test in py 3.6 (#832) 2022-11-29 13:10:35 -08:00
Chi Wang
595af7a04f install editable package in codespace (#826)
* install editable package in codespace

* fix test error in test_forecast

* fix test error in test_space

* openml version

* break tests; pre-commit

* skip on py10+win32

* install mlflow in test

* install mlflow in [test]

* skip test in windows

* import

* handle PermissionError

* skip test in windows

* skip test in windows

* skip test in windows

* skip test in windows

* remove ts_forecast_panel from doc
2022-11-27 14:22:54 -05:00
Shaokun Zhang
586afe0d6b fix typo (#823) 2022-11-22 11:58:02 -05:00
Shaokun Zhang
54220d6752 Merge pull request #818 from skzhang1/fix_alert
fix dependably alert
2022-11-16 16:35:13 -05:00
skzhang1
fda42fb576 upgrade 2022-11-16 14:58:41 -05:00
Shaokun Zhang
beea11adeb Merge pull request #699 from microsoft/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-11-15 21:20:23 -05:00
Shaokun Zhang
3466e38549 Merge branch 'main' into dependabot/github_actions/actions/checkout-3 2022-11-15 15:10:40 -05:00
Anonymous-submission-repo
5eb9927642 Add performance test for LexiFlow (#812)
* add test

* fix

* change test name
2022-11-15 10:44:53 -05:00
shreyas36
cb3402052f added the models used for forecasting in documentation (#811) 2022-11-14 15:29:36 -05:00
Chi Wang
30e200985c Fix issues related to zero-shot automl (#783)
* skip in-search-space check for small max iter

* resolve Pickle Transformer #730

* resolve default config unrecognized #784

* Change definition of init_config

* copy points_to_evaluate

* make test pass

* check learner selector
2022-11-13 12:47:59 -08:00
Jing Dong
9a7a9ef1c6 Added a link to documentation webpage in notebook time_series_forcast (#791)
* added a link to documentation webpage in notebook time_series_forcast

* added a link to documentation webpage in notebook time_series_forcast

* Update notebook/automl_time_series_forecast.ipynb

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

* complete output

* added all cell output

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: zsk <shaokunzhang529@gmail.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2022-11-12 18:36:06 -08:00