887 Commits

Author SHA1 Message Date
Susan Xueqing Liu
97928609ba
adding openai documentation (#938)
* adding openai documentation

* adding openai documentation

* Update website/docs/Examples/Integrate - OpenAI.md

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

* Update website/docs/Examples/Integrate - OpenAI.md

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

* Update website/docs/Examples/Integrate - OpenAI.md

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

* Update website/docs/Examples/Integrate - OpenAI.md

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

* Update website/docs/Examples/Integrate - OpenAI.md

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

* addressing comments

* Update website/docs/Examples/Integrate - OpenAI.md

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

* Update website/docs/Examples/Integrate - OpenAI.md

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

* adding Azure

* rerun

* addressing comments about Azure

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-03-05 01:15:49 +00:00
dependabot[bot]
0b5a637f9a
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /website (#913)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

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>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-03-01 03:09:18 +00:00
Jirka Borovec
a340919458
adding precommit check (#930)
* adding precommit check

* run precommit

* Apply suggestions from code review

Co-authored-by: Zvi Baratz <z.baratz@gmail.com>

* apply precommit

---------

Co-authored-by: Zvi Baratz <z.baratz@gmail.com>
2023-02-28 16:29:07 +00:00
Jirka Borovec
2ff1035733
precommit: end-of-file-fixer (#929)
* precommit: end-of-file-fixer

* exclude .gitignore

* apply

---------

Co-authored-by: Shaokun <shaokunzhang529@gmail.com>
2023-02-28 16:27:14 +00:00
Chi Wang
a3e368d2ca
minor change to notebook (#928) 2023-02-24 10:43:18 +00:00
levscaut
c6a2440348
add PySparkOvertimeMonitor to avoid exceeding time budget (#923)
* merging

* clean commit

* Delete mylearner.py

This file is not needed.

* fix py4j import error

* more tolerant cancelling time

* fix problems following suggestions

* Update flaml/tune/spark/utils.py

Co-authored-by: Li Jiang <bnujli@gmail.com>

* remove redundant model

* Update test/spark/custom_mylearner.py

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

* add docstr

* reverse change in gitignore

* Update test/spark/custom_mylearner.py

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

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-02-24 08:07:00 +00:00
Xiaoyun Zhang
4118c8e27f
fix #493 (#932)
* add custom meta feature function

* Update flaml/default/suggest.py

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

---------

Co-authored-by: littlelittlecloud <g2260578356@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-02-24 04:31:46 +00:00
Li Jiang
7c0340fde6
Updated dict type args default value to None (#927) 2023-02-23 05:23:24 +00:00
Andrea Ruggerini
8e447562c7
Improve annotations in automl and ml modules (#919)
* begin annotation in automl.py and ml.py

* EstimatorSubclass + annotate metric

* review: fixes + setting fit_kwargs as proper Optional

* import from flaml.automl.model (import from flaml.model is deprecated)

* comment n_jobs in train_estimator as well

* better annotation in _compute_with_config_base

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

---------

Co-authored-by: Andrea W <a.ruggerini@ammagamma.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-02-22 02:49:56 +00:00
Jirka Borovec
6aa1d16ebc
pre-commit: update config (#925)
* update config

* apply precommit
2023-02-22 00:49:38 +00:00
Shaokun
c18dd456c7
Fix Dependabot alerts (#922)
* fix_alerts

* clean up

---------

Co-authored-by: “skzhang1” <“shaokunzhang529@gmail.com”>
2023-02-20 23:45:49 +00:00
Animaholic
0eaac7d018
added a documentation about small time budget (#914)
* added documentation about small time budget

* small change for better clarity

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

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

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-02-18 23:56:58 +00:00
Chi Wang
501a0b8eb8
bump version to 1.1.3; workflow trigger (#924) 2023-02-18 16:07:27 +00:00
Susan Xueqing Liu
2273937e68
Update hf version (#918)
* update hf version

* adding transformers version

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-02-17 23:52:36 +00:00
Li Jiang
138eb78dbc
Added extras for synapse (#916)
* Added extras for synapse

* Update Installation doc
2023-02-17 16:38:55 +00:00
Chi Wang
35ce9b79e8
azure oai (#920)
* azure oai

* price update in notebook

* text Davinci

* pytorch-lightning version

* trigger action in merge queue

* types

* doc check in mege group
2023-02-16 23:38:50 +00:00
Chi Wang
671146146a
workflow path->paths (#915)
* workflow path->paths

* Apply suggestions from code review

Co-authored-by: Li Jiang <bnujli@gmail.com>

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-02-08 20:47:07 -08:00
Chi Wang
63d350d4c8
Openai (#905)
* add cost budget; move loc of make_dir

* support openai completion

* install pytest in workflow

* skip openai test

* test openai

* path for docs rebuild

* install datasets

* signal

* notebook

* notebook in workflow

* optional arguments and special params

* key -> k

* improve readability

* assumption

* optimize for model selection

* larger range of max_tokens

* notebook

* python package workflow

* skip on win
2023-02-05 20:13:08 -08:00
Animaholic
bcc6a197fd
Add bibtex entries for research publications (#904)
* Update Research.md

* Update website/docs/Research.md

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

* Update website/docs/Research.md

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

* Update website/docs/Research.md

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

* Update website/docs/Research.md

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

* Update website/docs/Research.md

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

* Update website/docs/Research.md

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

* Update website/docs/Research.md

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>
2023-02-05 20:48:07 -05:00
Chi Wang
3b6bfc2876
add cost budget; move loc of make_dir (#888)
* add cost budget; move loc of make_dir

* remove None in return

---------

Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-02-05 19:34:59 -05:00
Chi Wang
fbea1d06dd
stratified group kfold splitter (#899)
* stratified group kfold splitter

* exclude catboost

---------

Co-authored-by: Shaokun <shaokunzhang529@gmail.com>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-02-05 18:26:14 -05:00
Shaokun
cb3378d621
Merge pull request #912 from microsoft/tutorial-updates
update doc for research papers
2023-02-04 09:18:05 -05:00
Qingyun Wu
d0f7b30b61 update doc for research papers 2023-02-03 16:57:16 -08:00
Shaokun
50a7b624d1
Merge pull request #894 from coffepowered/first_contribution
Document how to use the group k-fold
2023-01-31 15:19:53 -05:00
skzhang1
c6f8e004e7 fix link 2023-01-30 06:01:20 -08:00
Andrea W
58ac6b61c4 Merge branch 'first_contribution' of https://github.com/coffepowered/FLAML into first_contribution 2023-01-30 11:21:43 +00:00
Andrea W
3e6247ae59 add link to notebook showing group cv 2023-01-30 11:17:27 +00:00
Shaokun
df5efa5c2d
Merge branch 'main' into first_contribution 2023-01-29 22:56:45 -05:00
Shaokun
871f3776f3
Merge pull request #875 from skzhang1/support_percentages
Support percentage tolerance for lexicographic optimization
2023-01-29 14:08:46 -05:00
Shaokun
7644265d1f
Merge branch 'main' into first_contribution 2023-01-29 10:48:16 -05:00
Shaokun
b342337875
Merge branch 'main' into support_percentages 2023-01-29 10:39:41 -05:00
Chi Wang
d46532efda
display data head in notebook; exclude None (#885) 2023-01-28 15:42:49 -08:00
Shaokun
175a2eaaf6
Merge branch 'main' into support_percentages 2023-01-28 10:00:57 -05:00
skzhang1
b8982f7cf2 update 2023-01-28 06:58:58 -08:00
skzhang1
184251a2a7 update 2023-01-28 06:53:37 -08:00
Shaokun
dbd48c555f
Merge pull request #900 from microsoft/dependabot/npm_and_yarn/website/ua-parser-js-0.7.33
Bump ua-parser-js from 0.7.32 to 0.7.33 in /website
2023-01-27 21:25:44 -05:00
dependabot[bot]
b740d79369
Bump ua-parser-js from 0.7.32 to 0.7.33 in /website
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.32 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.32...0.7.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 17:35:14 +00:00
Andrea W
2f93736740 remove postponed eval of annotations from automl.py 2023-01-27 10:00:16 +00:00
Andrea W
bdbba6e3bc modify doc 2023-01-26 14:31:54 +00:00
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