887 Commits

Author SHA1 Message Date
Chi Wang
2dbf38da0a
discount running thread (#121)
* discount running thread

* version

* limit dir

* report result

* catch

* remove handler
2021-06-25 14:24:46 -07:00
Xueqing Liu
da9fc51e62
update notebook 2021-06-22 22:20:16 -07:00
Chi Wang
83080d94bb
ML.NET (#119) 2021-06-22 21:57:36 -07:00
Xueqing Liu
54fbf09322
fixing jupyter notebook (#118) 2021-06-21 19:08:24 -07:00
Xueqing Liu
d40993d920
apidoc (#116)
* fixing apidoc errors

Co-authored-by: Chi Wang (MSR) <wang.chi@microsoft.com>
Co-authored-by: liususan091219 <Xqq630517>
2021-06-19 19:09:49 -07:00
Xueqing Liu
6133db84e8
remove learning_rate and weight_decay (#113)
* remove varying_arg1, varying_args
2021-06-19 09:27:51 -07:00
Chi Wang
e039861ab0
multiple logged metrics in cv (#114) 2021-06-18 21:19:59 -07:00
Chi Wang
3a2b6cdddc
Update version.py (#111) 2021-06-18 10:59:00 -07:00
Xueqing Liu
cd4be9c0e5
add notebook (#109)
* added support for transformers==3.4.0

* updating error message

* adding arxiv
2021-06-17 21:42:26 -07:00
Chi Wang
183b867856
groups (#107)
* groups

* version

* developer's guide
2021-06-15 18:52:57 -07:00
Xueqing Liu
a5a5a4bc20
fixed API doc and import (#108)
* removed run_analysis.py, run_autohf.py, test_jupyter.py
2021-06-15 09:55:23 -07:00
Xueqing Liu
926589bdda
exception, coverage for autohf (#106)
* increase coverage

* fixing exception messages

* fixing import
2021-06-14 14:11:40 -07:00
Chi Wang
c26720c299
api doc for chacha (#105)
* api doc for chacha

* update params

* link to paper

* update dataset id

Co-authored-by: Chi Wang (MSR) <chiw@microsoft.com>
Co-authored-by: Qingyun Wu <qiw@microsoft.com>
2021-06-11 10:25:45 -07:00
Xueqing Liu
a4049ad9b6
autohf (#43)
automate huggingface transformer
2021-06-09 08:37:03 -07:00
Qingyun Wu
e031c2eb7d
Test restore (#103)
* pickle the AutoML object

* get best model per estimator

* test deberta

* stateless API

* pickle the AutoML object

* get best model per estimator

* test deberta

* stateless API

* prevent divide by zero

* test roberta

* BlendSearchTuner

* sync

* version number

* update gitignore

* delta time

* reindex columns when dropping int-indexed columns

* add seed

* add seed in Args

* merge

* stabilize SearchThread speed

* add seed

* fix import

* use except

* add restore test for CFO

* remove test_restore

* remove inspect

* remove print

* change to SearchThread._esp

* add _eps lower bound

* _eps in SearchThread

* add test_restore

* 1<<32

Co-authored-by: Chi Wang (MSR) <chiw@microsoft.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qiw@microsoft.com>
2021-06-07 19:49:45 -04:00
Chi Wang
682cb49654
move import position (#102)
* move import position
2021-06-05 11:36:26 -07:00
Qingyun Wu
c0be2eefe8
typo (#101) 2021-06-04 11:13:28 -07:00
Qingyun Wu
c8da829e4d
ChaCha documentation (#100)
* update readme

* naming
2021-06-04 10:52:52 -07:00
Chi Wang
f7cf2ea45a
Multiclass (#99)
* utility functions

* stepsize lower bound
2021-06-04 10:31:33 -07:00
Qingyun Wu
0d3a0bfab6
Add ChaCha (#92)
* pickle the AutoML object

* get best model per estimator

* test deberta

* stateless API

* pickle the AutoML object

* get best model per estimator

* test deberta

* stateless API

* prevent divide by zero

* test roberta

* BlendSearchTuner

* sync

* version number

* update gitignore

* delta time

* reindex columns when dropping int-indexed columns

* add seed

* add seed in Args

* merge

* init upload of ChaCha

* remove redundancy

* add back catboost

* improve AutoVW API

* set min_resource_lease in VWOnlineTrial

* docstr

* rename

* docstr

* add docstr

* improve API and documentation

* fix name

* docstr

* naming

* remove max_resource in scheduler

* add TODO in flow2

* remove redundancy in rearcher

* add input type

* adapt code from ray.tune

* move files

* naming

* documentation

* fix import error

* fix format issues

* remove cb in worse than test

* improve _generate_all_comb

* remove ray tune

* naming

* VowpalWabbitTrial

* import error

* import error

* merge test code

* scheduler import

* fix import

* remove

* import, minor bug and version

* Float or Categorical

* fix default

* add test_autovw.py

* add vowpalwabbit and openml

* lint

* reorg

* lint

* indent

* add autovw notebook

* update notebook

* update log msg and autovw notebook

* update autovw notebook

* update autovw notebook

* add available strings for model_select_policy

* string for metric

* Update vw format in flaml/onlineml/trial.py

Co-authored-by: olgavrou <olgavrou@gmail.com>

* make init_config optional

* add _setup_trial_runner and update notebook

* space

Co-authored-by: Chi Wang (MSR) <chiw@microsoft.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qiw@microsoft.com>
Co-authored-by: olgavrou <olgavrou@gmail.com>
2021-06-02 22:08:24 -04:00
Chi Wang
61d1263dfd
log best model (#96)
* log best model
2021-06-02 13:11:41 -07:00
Qingyun Wu
a2a37cb60f
add tutorial (#93) 2021-05-27 16:04:13 -04:00
Gian Pio Domiziani
c4c15f533f
datetime feature engineering added. (#89)
* datetime feature engineering added.

* check if datetime in columns moved after drop check. Check if the new columns do not already exist.

* check the drop condition before to add new_column. In transform, check directly if new columns are present in num_column.

* check if new_column is in X.columns.

* fixed lint issue. update version to 0.4.1.
2021-05-25 08:30:08 -07:00
Qingyun Wu
f79e6637a1
add NOTICE file (#91)
* add notice

* notice and licenses

* license
2021-05-24 14:35:08 -04:00
Chi Wang
b206363c9a
metric constraint (#90)
* penalty change

* metric modification

* catboost init
2021-05-22 08:51:38 -07:00
Chi Wang
0925e2b308
constraints (#88)
* pre-training constraints

* metric constraints after training
2021-05-18 15:57:42 -07:00
Chi Wang
3083229e40
Notebook (#87)
* notebook update
2021-05-07 19:50:50 -07:00
Chi Wang
0b23c3a028
stepsize (#86)
* decrease step size in suggest

* initialization of the counters

* increase step size

* init phase

* check converge in suggest
2021-05-06 21:29:38 -07:00
Qingyun Wu
363197cef8
Blendsearch documentation (#81)
* blendsearch documentation

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2021-04-30 20:19:49 -07:00
Chi Wang
e5123f5595
V0.3.5 (#84)
* choose one direction
2021-04-30 17:19:41 -07:00
Qingyun Wu
3e991e4352
code coverage (#79)
* add codecov.yml

* change tests to test

* condition

* windows

* install coverage

* remove conditions

* revert remove conditions

* check build failure

* code coverage

* Revert "check build failure"

This reverts commit bc06b3f961d05c923c2974451961f5c252c9e042.

* del codecov.yml

Co-authored-by: Chi Wang (MSR) <chiw@microsoft.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2021-04-26 20:04:57 -04:00
Gian Pio Domiziani
730fd14ef6
micro/macro f1 metrics added. (#80)
* micro/macro f1 metrics added.

* format lines.
2021-04-26 14:50:41 -04:00
Gian Pio Domiziani
068fb9f5c2
X.copy() in the process method (#78)
* X.copy() in the transformer method.

* update version 0.3.4
2021-04-23 17:14:29 -07:00
Chi Wang
b6f57894ef
v0.3.3 (#74) 2021-04-21 11:48:12 -07:00
Gian Pio Domiziani
ad42889a3b
datetime columns preprocess for validation data fixed. (#73)
* datetime columns preprocess for validation data fixed.

* code line formatted.
2021-04-21 10:22:54 -04:00
Qingyun Wu
f4f3f4f17b
update image url (#71)
* update image url

* ArffException

* OpenMLError is ValueError

* CatBoostError

* reduce build on push

Co-authored-by: Chi Wang (MSR) <wang.chi@microsoft.com>
2021-04-21 01:36:06 -07:00
Chi Wang
d08bb15475
Update version.py (#70)
* Update version.py

* update logo
2021-04-20 16:57:35 -07:00
Gian Pio Domiziani
9ff4ae0cb2
(data.py) fit_transform method able to transform datatime columns to float values. (#68)
* fit_transform method able to transform datatime columns to float values.
2021-04-20 08:32:58 -07:00
Qingyun Wu
06045703bf
Lgbm w customized obj (#64)
* add customized lgbm learner

* add comments

* fix format issue

* format

* OpenMLError

* add test

* add notebook

Co-authored-by: Chi Wang (MSR) <chiw@microsoft.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2021-04-10 21:14:28 -04:00
Chi Wang
72d17b37c2
Update README.md (#63) 2021-04-10 16:36:38 -07:00
Chi Wang
97a7c114ee
Issue58 (#59)
* iter per learner

* code cleanup
2021-04-08 09:29:55 -07:00
Chi Wang
b7a91e0385
V0.3.0 (#55)
* flaml v0.3

* low cost partial config
2021-04-06 11:37:52 -07:00
Chi Wang
37d7518a4c
sample weight in xgboost (#54) 2021-03-31 22:11:56 -07:00
Chi Wang
f28d093522
v0.2.10 (#51)
* increase search space

* None check
2021-03-28 17:54:25 -07:00
Chi Wang
8bcdb2a0c2
example (#49) 2021-03-22 13:33:30 -07:00
Qingyun Wu
b058e0e041
add seed argument in BlendSearch (#50)
* pickle the AutoML object

* get best model per estimator

* test deberta

* stateless API

* pickle the AutoML object

* get best model per estimator

* test deberta

* stateless API

* prevent divide by zero

* test roberta

* BlendSearchTuner

* sync

* version number

* update gitignore

* delta time

* reindex columns when dropping int-indexed columns

* add seed

* add seed in Args

* merge

Co-authored-by: Chi Wang (MSR) <chiw@microsoft.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2021-03-19 23:31:35 -04:00
Chi Wang
ae5f8e5426
data validation (#45)
* pickle the AutoML object

* get best model per estimator

* test deberta

* stateless API

* prevent divide by zero

* test roberta

* BlendSearchTuner

* delta time

* reindex columns when dropping int-indexed columns

* test drop columns and small training data

* param set for ensemble builder

* fillna on copy

Co-authored-by: Chi Wang (MSR) <chiw@microsoft.com>
2021-03-19 09:50:47 -07:00
Iman Hosseini
bf95d7c455
nni example + bugfix in blendsearch (#44)
* nni example + bugfix in blendsearch

re: https://github.com/microsoft/FLAML/issues/36
2021-03-18 22:35:23 -07:00
Iman Hosseini
0f99526b63
Update automl.py to add verbose argument to fit (#40)
* Update automl.py

* Pass verbose-1 to tune

passing verbose-1 to tune, ensures that for verbose=1, tune is silenced (no INFO prints) and for verbose=2 we see the INFO prints, and for verbose=3 we get DEBUG level at tune, as we want. This is due to: https://github.com/microsoft/FLAML/blob/main/flaml/tune/tune.py#L227
2021-03-17 10:54:17 -07:00
Antoni Baum
b8736bc600
Normalize config in _valid (#42) 2021-03-17 09:51:23 -07:00