614 Commits

Author SHA1 Message Date
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
Shaokun Zhang
2531980dc3
Merge pull request #802 from royninja/main
Documentation about classification/regression task #753
2022-11-08 22:26:33 -05:00
Qingyun Wu
7d11e3cf40
Merge branch 'main' into main 2022-11-07 08:07:33 -05:00
zsk
e90ea72dd6
Merge branch 'main' into dependabot/github_actions/actions/checkout-3 2022-11-06 18:28:17 -05:00
zsk
d2bc168f36
Merge pull request #799 from skzhang1/fix_alert
fix_alerts
2022-11-06 18:27:40 -05:00
Sayan Roy
289f4d61d3
Merge branch 'microsoft:main' into main 2022-11-07 01:34:15 +05:30
Sayan Roy
f1d4adf4ff
limiting the scope to tabular data.
limiting the scope to tabular data.
2022-11-07 01:29:12 +05:30
skzhang1
6779584804 fix_alerts 2022-11-05 15:21:32 -04:00
zsk
0ecfe60196
Merge branch 'main' into dependabot/github_actions/actions/checkout-3 2022-11-05 11:17:34 -04:00
zsk
1ed342617e
Merge pull request #797 from ElinaAndreeva/main
Fixed typo
2022-11-05 09:48:26 -04:00
zsk
958432190f
Merge branch 'main' into main 2022-11-04 23:07:13 -04:00
dependabot[bot]
b58151b3fa
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 23:23:27 +00:00
zsk
53d8d62348
Merge pull request #793 from skzhang1/fix_alert
fix_alert
2022-11-04 19:22:50 -04:00
zsk
8856fff44a
Merge branch 'main' into fix_alert 2022-11-04 16:05:40 -04:00
skzhang1
944e56028b fix 2022-11-04 11:20:21 -04:00
zsk
d25330c497
Merge pull request #790 from satya-vinay/issue-775
Removed extra | in documentation
2022-11-04 09:16:21 -04:00
ElinaAndreeva
723662c502 Fixed typo 2022-11-04 12:06:07 +04:00
skzhang1
7b1fad4e5f update yarn.lock 2022-11-03 11:23:15 -04:00
skzhang1
991eaa8be8 fix_alert 2022-11-03 10:02:23 -04:00
satya-vinay
ddebfaea1c Removed extra | in documentation 2022-11-03 13:30:42 +05:30
zsk
d3f83d8b48
Merge pull request #697 from microsoft/dependabot/github_actions/codecov/codecov-action-3
Bump codecov/codecov-action from 1 to 3
2022-11-01 21:33:01 -04:00
zsk
d6fd89a80a
Merge branch 'main' into dependabot/github_actions/codecov/codecov-action-3 2022-11-01 20:13:22 -04:00
zsk
af586e3b39
Merge pull request #700 from microsoft/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 2 to 4
2022-11-01 20:13:12 -04:00
zsk
0d6714c05f
Merge branch 'main' into dependabot/github_actions/codecov/codecov-action-3 2022-11-01 16:07:09 -04:00
zsk
beb3419e84
Merge branch 'main' into dependabot/github_actions/actions/setup-python-4 2022-11-01 16:07:01 -04:00
Nicolas Beltran-Velez
65ad6508ce
Docs (#765)
* Small docstring change for clarity

* Added tentative changes to docs

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

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

* Update flaml/model.py

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

* Updated model.py to reflect `n_jobs = None` suggestion

* Updated tutorial to reflect `n_jobs=None` suggestion

* Update model.py

Improved string

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2022-11-01 15:14:08 -04:00
zsk
dfdef8db32
Merge branch 'main' into dependabot/github_actions/codecov/codecov-action-3 2022-11-01 11:07:47 -04:00
zsk
06cff076f0
Merge branch 'main' into dependabot/github_actions/actions/setup-python-4 2022-11-01 11:07:39 -04:00
zsk
29dea3a983
Merge pull request #786 from evensure/patch-1
Included hint to escape brackets for pip setup
2022-11-01 11:03:49 -04:00
evensure
4d4e6ba499
Added hint to escape brackets for pip setup
As described in #777, I had trouble executing the setup using zsh.
Eventually, I noticed that I had to escape the brackets.

My proposed change includes both brackets to be escaped, however for me it was enough to escape the opening one only, since as far as I know a trailing non-escaped closing bracket will then be recognized, accordingly.
2022-10-31 17:51:11 +01:00
Kirito
b63f1bc8b8
Indentation corrected (#778) 2022-10-29 21:15:46 -07:00
zsk
58227a976b
Merge pull request #752 from Anonymous-submission-repo/LexiFlow
Multiple objectives hyperparameter tuning with lexicographic preference
2022-10-19 09:23:47 -04:00
Anonymous-submission-repo
79c479ae46 update 2022-10-18 23:18:09 +00:00
Anonymous-submission-repo
e5b3cb4ef2 update 2022-10-18 18:02:49 +00:00
Anonymous-submission-repo
02d643bc80 update 2022-10-18 17:33:12 +00:00