Shaokun
dd9202bb01
Update OptunaSearch ( #1106 )
...
* update optuna
* update setup
* fix dependencies
* fix bugs in test
* fix bugs, web format
---------
Co-authored-by: “skzhang1” <“shaokunzhang529@gmail.com ”>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu >
2023-07-05 03:14:02 +00:00
Shaokun
7a64148676
support string alg in tune ( #1093 )
...
* support string alg in tune
* add test, enforce string feasible, support lexico in set_search_priorities in CFO
* fix bug
* fix bug
* fix bug
* fix bug
* fix bugs
* fix yiran
---------
Co-authored-by: “skzhang1” <“shaokunzhang529@gmail.com ”>
2023-07-01 03:01:14 +00:00
Jirka Borovec
a701cd82f8
set black with 120 line length ( #975 )
...
* set black with 120 line length
* apply pre-commit
* apply black
2023-04-10 19:50:40 +00:00
Jirka Borovec
6aa1d16ebc
pre-commit: update config ( #925 )
...
* update config
* apply precommit
2023-02-22 00:49:38 +00: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
skzhang1
184251a2a7
update
2023-01-28 06:53:37 -08: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
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
Chi Wang
90aea9c28b
create dir for log file name ( #867 )
2022-12-30 10:21:30 -08: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
Jing Dong
3a194d047b
fix checkpoint.value in the notebook and test
2022-12-19 09:22:16 -08: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
Anonymous-submission-repo
2daaa4c637
clean up
2022-10-15 03:53:08 +00:00
Anonymous-submission-repo
6df7782c5e
Update test/tune/test_lexiflow.py
...
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
2022-10-14 22:52:07 -04:00
Anonymous-submission-repo
a1d9e333fe
update
2022-10-14 23:48:05 +00:00
Anonymous-submission-repo
bf81912f09
update
2022-10-14 20:40:49 +00:00
Anonymous-submission-repo
2d18c49cdd
update
2022-10-12 04:31:51 +00:00
Anonymous-submission-repo
4e37826417
update
2022-10-10 01:24:22 +00:00
Anonymous-submission-repo
f7a9d42dc7
update
2022-10-10 01:15:17 +00:00
Anonymous-submission-repo
9bc32acafb
first
2022-10-09 11:39:29 -04:00
Chi Wang
860cbc233e
move searcher and scheduler into tune ( #746 )
...
* move into tune
* correct path
* correct path
* import path
2022-10-04 16:03:22 -07:00
Chi Wang
b7a010e657
Move import location for Ray 2 ( #721 )
...
* ray version check when importing
* display learner_class when starting_points removed
* test ray 2
2022-09-13 19:13:06 -07:00
Chi Wang
d60d38b3e9
log_file_name in tune.run() ( #681 )
...
* log_file_name in tune.run()
* use_ray validates log_file_name
* assert no ray_args when not use_ray
* import os and use os.path
2022-08-15 06:15:31 -07:00
Chi Wang
5e1059ab82
check config constraints for the initial config ( #685 )
...
* check config constraints for the initial config
* default config value
2022-08-15 05:30:23 -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
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
Chi Wang
1b40b4b3a6
set_search_properties ( #595 )
...
* update the signature of set_search_properties
2022-06-16 16:30:50 -07:00
Chi Wang
1111d6d43a
backup & recover global vars for nested tune.run ( #584 )
...
* backup & recover global vars for nested tune.run
* ensure recovering global vars before return
2022-06-14 11:03:54 -07:00
Qingyun Wu
65fa72d583
Class variables, cost_attr, and reproducibility ( #587 )
...
* test reproducibility
* cost_attr, _eps and penalty as instance variables
2022-06-13 21:52:42 -07:00
Qingyun Wu
dcc640c1a3
Documentation, test and bugfix ( #556 )
...
* add bs restore test
* use default metric when not provided
* update documentation
* remove print
* period
* remove bs restore test
* Update website/docs/Use-Cases/Task-Oriented-AutoML.md
2022-05-26 07:12:30 -07:00
Qingyun Wu
bcdfdc8735
handle non-flaml scheduler in flaml.tune ( #532 )
...
* handle non-flaml scheduler in flaml.tune
* revise time budget
* Update website/docs/Use-Cases/Tune-User-Defined-Function.md
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* Update website/docs/Use-Cases/Tune-User-Defined-Function.md
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* Update flaml/tune/tune.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* add docstr
* remove random seed
* StopIteration
* StopIteration format
* format
* Update flaml/tune/tune.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* revise docstr
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
2022-05-06 14:09:35 -04:00
Chi Wang
dab0a3f6e5
Bump cross-fetch from 3.1.4 to 3.1.5 in /website ( #529 )
...
* Bump cross-fetch from 3.1.4 to 3.1.5 in /website
* Bump async from 2.6.3 to 2.6.4 in /website
* cleanup
2022-04-30 11:54:43 -07:00
Chi Wang
a1c49ca27b
allow evaluated_rewards shorter than points_to_evaluate ( #522 )
...
* allow evaluated_rewards shorter than points_to_evaluate
* docstr update
2022-04-23 16:22:34 -07:00
Chi Wang
9128c8811a
handle failing trials ( #505 )
...
* handle failing trials
* clarify when to return {}
* skip ensemble in accuracy check
2022-03-28 16:57:52 -07:00
Qingyun Wu
6c16e47e42
Bug fix and add documentation for metric_constraints ( #498 )
...
* metric constraint documentation
* update link
* update notebook
* fix a bug in adding 'time_total_s' to result
* use the default multiple factor from config file
* update notebook
* format
* improve test
* revise test budget for macos
* bug fix in adding time_total_s
* increase performance check budget
* revise test
* update notebook
* uncomment test
* remove redundancy
* clear output
* remove n_jobs
* remove constraint in notebook
* increase budget
* revise test
* add python version
* use getattr
* improve code robustness
Co-authored-by: Qingyun Wu <qxw5138@psu.edu >
2022-03-26 21:11:45 -04:00
Chi Wang
7eb7b46ea9
version number and doc ( #497 )
...
* version number
* add missing tasks in documentation
* update node-forge version
2022-03-25 17:32:37 -07:00
Chi Wang
31ac984c4b
don't init global search with points_to_evaluate unless evaluated_rewards is provided; handle callbacks in fit kwargs ( #469 )
2022-03-01 18:39:16 -08:00
Chi Wang
6960a833ec
Gpu support for xgboost ( #442 )
...
* xgboost gpu support
* test xgboost gpu
* test sparse data
* add xgboost test
* remove ray.init to avoid pytest error
2022-01-30 13:02:18 -08:00
Xueqing Liu
438ccaa0c9
adding catch for HTTP error ( #432 )
2022-01-29 22:53:32 -08:00
Chi Wang
6a7caa6a3d
max_iter < 2 -> no search; sign in metric constraints; test and example for forecasting ( #415 )
...
* max_iter < 2 -> no search
* use_ray in test
* eval_method in ts example
* check sign of constraints
* test metric constraint sign
2022-01-23 01:24:15 -08:00
Chi Wang
569908fbe6
fix issues in logging, bug in space.py, constraint sign, and improve code coverage ( #388 )
...
* console log handler
* version update
* doc
* skippable steps
* notebook update
* constraint sign
* doc for constraints
* bug fix: define-by-run and unflatten_hierarchical
* const
* handle nested space in indexof()
* test grid search
* test suggestion
* model test
* >1 ckpts
* always increase iter count
* log total # iterations
* security patch
* make iter_per_learner consistent
2022-01-14 13:39:09 -08:00
Z.sk
7b24662dca
Makes the evaluation_function could receive the incumbent best result as input in Tune ( #339 )
...
* update tune function
* pass incumbent result to the training function
* Update test/tune/test_record_incumbent.py
* Update flaml/searcher/search_thread.py
* Update flaml/searcher/blendsearch.py
* Update flaml/tune/tune.py
* add constant variable
Co-authored-by: 张少坤 <zhangshaokun@fuzhi.ai >
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
2021-12-15 21:12:47 -08:00
Qingyun Wu
17b17d084f
tune api for schedulers ( #322 )
...
* revise api and tests
* rename prune_attr
* update finetune notebook
* add scheduler test and notebook
* update tune api for scheduler
* remove scheduler notebook
* Update flaml/tune/tune.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* docstr
* fix imports
* clear notebook output
* fix ray import
* Update flaml/tune/tune.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* improve docstr
* Update flaml/searcher/blendsearch.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* remove redundant import
Co-authored-by: Qingyun Wu <qxw5138@psu.edu >
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
2021-12-04 21:52:20 -05:00
Chi Wang
00da79a90b
empty search space ( #295 )
...
fix the error when an empty dictionary is passed to BlendSearch as the search space.
2021-11-20 20:05:28 -08:00
Xueqing Liu
42de3075e9
Make NLP tasks available from AutoML.fit() ( #210 )
...
Sequence classification and regression: "seq-classification" and "seq-regression"
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
2021-11-16 11:06:20 -08:00
Antoni Baum
e0155c2339
Fix exception in CFO's _create_condition if all candidate start points didn't return yet ( #263 )
...
* Fix exception if first trial returns None
* Add test
2021-10-29 11:44:16 -07:00
Chi Wang
f48ca2618f
warning -> info for low cost partial config ( #231 )
...
* warning -> info for low cost partial config
#195 , #110
* when n_estimators < 0, use trained_estimator's
* log debug info
* test random seed
* remove "objective"; avoid ZeroDivisionError
* hp config to estimator params
* check type of searcher
* default n_jobs
* try import
* Update searchalgo_auto.py
* CLASSIFICATION
* auto_augment flag
* min_sample_size
* make catboost optional
2021-10-08 16:09:43 -07:00
Qingyun Wu
b1115d5347
add consistency test ( #216 )
...
* add consistency test
* test_consistency and format
* add results attribute
* skip when ray is not installed
* Update flaml/tune/analysis.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
Co-authored-by: Qingyun Wu <qxw5138@psu.edu >
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
2021-09-19 20:44:25 -04:00