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
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
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
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
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
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
Chi Wang
cbb85e2aab
Py36 ( #614 )
...
* allow installation in py 3.6
* test py 3.6
2022-06-26 08:32:28 -07:00
Chi Wang
7d6822aa40
cath URLError
2022-06-24 08:07:26 -07:00
Chi Wang
4377d53a73
update got version ( #607 )
...
* update got version
* None check
2022-06-23 08:02:46 -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
Chi Wang
f8cc38bc16
enable ensemble when using ray ( #583 )
...
* enable ensemble when using ray
* sanitize config
2022-06-10 21:28:47 -07:00
Chi Wang
0642b6e7bb
init value type match ( #575 )
...
* init value type match
* bump version to 1.0.6
* add a note about flaml version in notebook
* add note about mismatched ITER_HP
* catch SSLError when accessing OpenML data
* catch errors in autovw test
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu >
2022-06-09 08:11:15 -07:00
Xueqing Liu
e0e317bfb1
fixing trainable and update function, completing NOTE ( #566 )
...
* fix checkpoint naming + trial id for non-ray mode, fix the bug in running test mode, delete all the checkpoints in non-ray mode
* finished testing for checkpoint naming, delete checkpoint, ray, max iter = 1
2022-06-03 15:19:22 -04:00
Chi Wang
1af682b7f5
update doc about scheduler exception ( #564 )
...
* update doc about scheduler exception
* remove assert
2022-05-31 17:21:57 -07:00
Chi Wang
49e8f7f028
use zeroshot when no budget is given; custom_hp ( #563 )
...
* use zeroshot when no budget is given; custom_hp
* update Getting-Started
* protobuf version
* X_val
2022-05-28 17:22:09 -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
Qiaochu Song
2851134052
Quick-fix ( #539 )
...
* fix doc string; enable label transform in automl.score
2022-05-19 11:43:34 -04:00
Chi Wang
7126b69ce0
choose n_jobs for ensemble according to n_jobs per learner ( #551 )
...
* set n_jobs in ensemble dict
* catch the ensemble error
* choose n_jobs for stacker
* clarify
2022-05-18 21:01:51 -07:00
Xueqing Liu
2a8decdc50
fix the post-processing bug in NER ( #534 )
...
* fix conll bug
* update DataCollatorForAuto
* adding label_list comments
2022-05-10 17:22:57 -04:00
Chi Wang
c1bb66980c
test reproducibility from retrain ( #533 )
2022-05-07 09:13:17 -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
Xueqing Liu
ca35fa969f
refactoring TransformersEstimator to support default and custom_hp ( #511 )
...
* refactoring TransformersEstimator to support default and custom_hp
* handling starting_points not in search space
* addressing starting point more than max_iter
* fixing upper < lower bug
2022-04-28 14:06:29 -04: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
e877de6414
use ffill in forecasting example
2022-04-01 09:23:23 -07:00
Chi Wang
84f1ae7424
Bump minimist from 1.2.5 to 1.2.6 in /website ( #502 )
...
* Bump minimist from 1.2.5 to 1.2.6 in /website
* check best_config in test
2022-03-30 22:19:47 -07:00
Qingyun Wu
2cdc08a75a
update notebook and test
2022-03-30 19:11:10 -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
Xueqing Liu
72301b8568
fixing a few bugs in nlp ( #503 )
...
* fixing bugs in nlp
2022-03-26 14:08:51 -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
Xueqing Liu
5f97532986
adding evaluation ( #495 )
...
* adding automl.score
* fixing the metric name in train_with_config
* adding pickle after score
* fixing a bug in automl.pickle
2022-03-25 17:00:08 -04:00
Xueqing Liu
af423463c3
fixing bug for ner ( #463 )
...
* fixing bug for ner
* removing global var
* adding class for trial counter
* adding notebook
* adding use_ray dict
* updating documentation for nlp
2022-03-20 22:03:02 -04:00
Qingyun Wu
f6ae1331f5
metric constraints in flaml.automl ( #479 )
...
* metric constraints
* revise docstr
* fix docstr
* improve docstr
* 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/automl.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* docstr
Co-authored-by: Qingyun Wu <qxw5138@psu.edu >
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
2022-03-12 00:39:35 -05:00
Kevin Chen
f9eda0cc40
update documentation for time series forecasting ( #472 )
...
* update automl.py
- documentation update
* update test_forecast.py
* update model.py
* update automl_time_series_forecast.ipynb
* update time series forecast website examples
Signed-off-by: Kevin Chen <chenkevin.8787@gmail.com >
2022-03-08 11:21:18 -08: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
df01031cfe
Zero-shot AutoML ( #468 )
...
* Prepare for release
Co-authored-by: Moe Kayali <t-moekayali@microsoft.com >
* bug fix
* improve doc and code quality
Co-authored-by: Qingyun Wu
2022-03-01 15:39:09 -08:00
Chi Wang
9e88f22167
fix a bug when using ray & update ray on aml ( #455 )
...
* fix a bug when using ray & update ray on aml
When using with_parameters(), the config argument must be the first argument in the trainable function.
* make training function runnable standalone
2022-02-11 20:14:10 -08:00
Chi Wang
b4d312412a
bump ray version to 1.10 ( #450 )
...
* bump ray version to 1.10
* init ray in test
* Update setup.py to include hotfixes
Co-authored-by: Antoni Baum <antoni.baum@protonmail.com >
2022-02-09 15:04:29 -08:00
Chi Wang
8a44dd4318
data in csv ( #430 )
...
* data in csv
* support ray ObjectRef #365
* use object store to store data when using ray
* make lgbm tuning example a test
* homepage title
2022-01-30 19:36:41 -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
Kevin Chen
c75f97b475
Change the upper bound for "lags" hyperparameter for sklearn forecast models ( #437 )
...
* update model.py
- change upper bound for "lags" hyperparameter
* update test_forecast.py
- add a test for a large dataset
* update sample.py
- pre-commit changes
2022-01-30 07:30:30 -08:00
Xueqing Liu
438ccaa0c9
adding catch for HTTP error ( #432 )
2022-01-29 22:53:32 -08:00
Kevin Chen
81f54026c9
Support time series forecasting for discrete target variable ( #416 )
...
* support 'ts_forecast_classification' task to forecast discrete values
* update test_forecast.py
- add test for forecasting discrete values
* update test_model.py
* pre-commit changes
2022-01-24 18:39:36 -08:00
Xueqing Liu
4814091d87
remove redundant imports ( #426 )
...
* remove redundant imports
* getting ride of hf dataset
2022-01-24 14:24:14 -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
38ad31ea25
remove FLAML sample size from config ( #418 )
2022-01-22 22:59:44 -08:00