From 2ff1035733af0f8465d8b0a0b43a1704ddece6e4 Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Tue, 28 Feb 2023 17:27:14 +0100 Subject: [PATCH] precommit: end-of-file-fixer (#929) * precommit: end-of-file-fixer * exclude .gitignore * apply --------- Co-authored-by: Shaokun --- .coveragerc | 2 +- .devcontainer/devcontainer.json | 2 +- .flake8 | 2 +- .github/workflows/python-package.yml | 2 +- .gitignore | 1 - .pre-commit-config.yaml | 4 +++- SECURITY.md | 2 +- flaml/automl/automl.py | 5 ++++- flaml/automl/nlp/README.md | 2 -- flaml/default/README.md | 2 +- flaml/default/all/binary.json | 2 +- flaml/default/all/multiclass.json | 2 +- flaml/default/all/regression.json | 2 +- flaml/default/extra_tree/binary.json | 2 +- flaml/default/extra_tree/multiclass.json | 2 +- flaml/default/extra_tree/regression.json | 2 +- flaml/default/lgbm/binary.json | 2 +- flaml/default/lgbm/multiclass.json | 2 +- flaml/default/lgbm/regression.json | 2 +- flaml/default/rf/binary.json | 2 +- flaml/default/rf/multiclass.json | 2 +- flaml/default/rf/regression.json | 2 +- flaml/default/xgb_limitdepth/binary.json | 2 +- flaml/default/xgb_limitdepth/multiclass.json | 2 +- flaml/default/xgb_limitdepth/regression.json | 2 +- flaml/default/xgboost/binary.json | 2 +- flaml/default/xgboost/multiclass.json | 2 +- flaml/default/xgboost/regression.json | 2 +- flaml/onlineml/README.md | 2 +- notebook/automl_time_series_forecast.ipynb | 0 pytest.ini | 1 - test/default/extra_tree/2dplanes.json | 2 +- test/default/extra_tree/Airlines.json | 2 +- test/default/extra_tree/Albert.json | 2 +- test/default/extra_tree/Amazon_employee_access.json | 2 +- test/default/extra_tree/adult.json | 2 +- test/default/extra_tree/bng_breastTumor.json | 2 +- test/default/extra_tree/bng_pbc.json | 2 +- test/default/extra_tree/car.json | 2 +- test/default/extra_tree/connect-4.json | 2 +- test/default/extra_tree/default.json | 2 +- test/default/extra_tree/dilbert.json | 2 +- test/default/extra_tree/poker.json | 2 +- test/default/lgbm/2dplanes.json | 2 +- test/default/lgbm/APSFailure.json | 2 +- test/default/lgbm/Airlines.json | 2 +- test/default/lgbm/Albert.json | 2 +- test/default/lgbm/Amazon_employee_access.json | 2 +- test/default/lgbm/Dionis.json | 2 +- test/default/lgbm/adult.json | 2 +- test/default/lgbm/bng_breastTumor.json | 2 +- test/default/lgbm/bng_pbc.json | 2 +- test/default/lgbm/car.json | 2 +- test/default/lgbm/connect-4.json | 2 +- test/default/lgbm/default.json | 2 +- test/default/lgbm/dilbert.json | 2 +- test/default/lgbm/poker.json | 2 +- test/default/rf/2dplanes.json | 2 +- test/default/rf/Airlines.json | 2 +- test/default/rf/Albert.json | 2 +- test/default/rf/Amazon_employee_access.json | 2 +- test/default/rf/Dionis.json | 2 +- test/default/rf/adult.json | 2 +- test/default/rf/bng_breastTumor.json | 2 +- test/default/rf/bng_pbc.json | 2 +- test/default/rf/car.json | 2 +- test/default/rf/connect-4.json | 2 +- test/default/rf/default.json | 2 +- test/default/rf/dilbert.json | 2 +- test/default/rf/poker.json | 2 +- test/default/xgb_limitdepth/2dplanes.json | 2 +- test/default/xgb_limitdepth/Airlines.json | 2 +- test/default/xgb_limitdepth/Amazon_employee_access.json | 2 +- test/default/xgb_limitdepth/adult.json | 2 +- test/default/xgb_limitdepth/bng_breastTumor.json | 2 +- test/default/xgb_limitdepth/bng_pbc.json | 2 +- test/default/xgb_limitdepth/car.json | 2 +- test/default/xgb_limitdepth/connect-4.json | 2 +- test/default/xgb_limitdepth/default.json | 2 +- test/default/xgb_limitdepth/dilbert.json | 2 +- test/default/xgb_limitdepth/poker.json | 2 +- test/default/xgboost/2dplanes.json | 2 +- test/default/xgboost/Airlines.json | 2 +- test/default/xgboost/Albert.json | 2 +- test/default/xgboost/Amazon_employee_access.json | 2 +- test/default/xgboost/adult.json | 2 +- test/default/xgboost/bng_breastTumor.json | 2 +- test/default/xgboost/bng_pbc.json | 2 +- test/default/xgboost/car.json | 2 +- test/default/xgboost/connect-4.json | 2 +- test/default/xgboost/default.json | 2 +- test/default/xgboost/dilbert.json | 2 +- test/default/xgboost/poker.json | 2 +- test/nlp/default/all/metafeatures.csv | 2 +- test/nlp/default/all/metafeatures_err.csv | 2 +- test/nlp/default/transformer_ms/glue-cola-.json | 2 +- test/nlp/default/transformer_ms/glue-mrpc-.json | 2 +- test/nlp/default/transformer_ms/glue-qnli-.json | 2 +- test/nlp/default/transformer_ms/glue-rte-.json | 2 +- test/nlp/default/transformer_ms/glue-sst2-.json | 2 +- test/pipeline_tuning_example/configs/train_config.yaml | 2 +- test/pipeline_tuning_example/data_prep/env.yaml | 2 +- test/pipeline_tuning_example/requirements.txt | 2 +- test/pipeline_tuning_example/train/env.yaml | 2 +- test/pipeline_tuning_example/tuner/env.yaml | 2 +- website/docs/Examples/AutoML-Classification.md | 2 +- website/docs/Examples/AutoML-NLP.md | 2 +- website/docs/Examples/AutoML-Rank.md | 2 +- website/docs/Examples/AutoML-Regression.md | 2 +- website/docs/Examples/AutoML-Time series forecast.md | 2 +- website/docs/Examples/AutoML-for-LightGBM.md | 2 +- website/docs/Examples/AutoML-for-XGBoost.md | 2 +- website/docs/Examples/Tune-HuggingFace.md | 2 +- website/docs/Installation.md | 2 +- website/docs/Research.md | 2 +- website/docs/Use-Cases/Task-Oriented-AutoML.md | 2 +- website/docs/Use-Cases/Zero-Shot-AutoML.md | 2 +- website/docusaurus.config.js | 1 - website/package.json | 3 --- website/static/img/auto.svg | 2 +- website/static/img/extend.svg | 2 +- website/static/img/fast.svg | 2 +- website/static/img/flaml.svg | 2 +- 123 files changed, 122 insertions(+), 125 deletions(-) mode change 100755 => 100644 notebook/automl_time_series_forecast.ipynb diff --git a/.coveragerc b/.coveragerc index 1d8d57370d57..91c9b36bc3ab 100644 --- a/.coveragerc +++ b/.coveragerc @@ -2,4 +2,4 @@ branch = True source = flaml omit = - *test* \ No newline at end of file + *test* diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 46517c859027..b01c3bbbe58a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,4 +10,4 @@ "terminal.integrated.defaultProfile.linux": "bash" }, "updateContentCommand": "pip install -e .[test,notebook] && pre-commit install" -} \ No newline at end of file +} diff --git a/.flake8 b/.flake8 index f35990a3ddda..73f6455d1320 100644 --- a/.flake8 +++ b/.flake8 @@ -2,4 +2,4 @@ ignore = E203, E266, E501, W503, F403, F401, C901 max-line-length = 127 max-complexity = 10 -select = B,C,E,F,W,T4,B9 \ No newline at end of file +select = B,C,E,F,W,T4,B9 diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a165f2655617..231ec46e6c40 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -122,4 +122,4 @@ jobs: # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # BRANCH: gh-pages # FOLDER: docs/_build/html - # CLEAN: true \ No newline at end of file + # CLEAN: true diff --git a/.gitignore b/.gitignore index e28ca4067cb2..e87598aa12c0 100644 --- a/.gitignore +++ b/.gitignore @@ -159,4 +159,3 @@ automl.pkl test/nlp/testtmp.py test/nlp/testtmpfl.py - diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f1098eb4dd03..076613ecff9c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,9 @@ repos: - id: check-toml - id: check-json - id: check-byte-order-marker + exclude: .gitignore - id: check-merge-conflict - id: detect-private-key - id: trailing-whitespace - - id: no-commit-to-branch \ No newline at end of file + - id: end-of-file-fixer + - id: no-commit-to-branch diff --git a/SECURITY.md b/SECURITY.md index 1f9d3d442146..a050f362c152 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -38,4 +38,4 @@ We prefer all communications to be in English. Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd). - \ No newline at end of file + diff --git a/flaml/automl/automl.py b/flaml/automl/automl.py index 2ebfd9dbc1f1..5d16ec9504cd 100644 --- a/flaml/automl/automl.py +++ b/flaml/automl/automl.py @@ -346,7 +346,10 @@ def _prepare_sample_train_data(self, sample_size: int): @staticmethod def _compute_with_config_base( - config_w_resource: dict, state: AutoMLState, estimator: str, is_report: bool = True + config_w_resource: dict, + state: AutoMLState, + estimator: str, + is_report: bool = True, ) -> dict: if "FLAML_sample_size" in config_w_resource: sample_size = int(config_w_resource["FLAML_sample_size"]) diff --git a/flaml/automl/nlp/README.md b/flaml/automl/nlp/README.md index 579de4d4582d..1896948b60c2 100644 --- a/flaml/automl/nlp/README.md +++ b/flaml/automl/nlp/README.md @@ -23,5 +23,3 @@ Our findings on troubleshooting fine-tuning the Electra and RoBERTa model for th booktitle={ACL-IJCNLP}, } ``` - - diff --git a/flaml/default/README.md b/flaml/default/README.md index cc4ad4c8a0b2..4704000d0c05 100644 --- a/flaml/default/README.md +++ b/flaml/default/README.md @@ -181,4 +181,4 @@ For more technical details, please check our research paper. year={2022}, journal={arXiv preprint arXiv:2202.09927}, } -``` \ No newline at end of file +``` diff --git a/flaml/default/all/binary.json b/flaml/default/all/binary.json index febd7d64b827..2cf6c748dc9d 100644 --- a/flaml/default/all/binary.json +++ b/flaml/default/all/binary.json @@ -943,4 +943,4 @@ "extra_tree/bank-marketing", "extra_tree/default" ] -} \ No newline at end of file +} diff --git a/flaml/default/all/multiclass.json b/flaml/default/all/multiclass.json index 0f41e93a2563..6a7769951d8d 100644 --- a/flaml/default/all/multiclass.json +++ b/flaml/default/all/multiclass.json @@ -1325,4 +1325,4 @@ "extra_tree/fried", "extra_tree/default" ] -} \ No newline at end of file +} diff --git a/flaml/default/all/regression.json b/flaml/default/all/regression.json index 85050e9776cb..a2fe73ef1304 100644 --- a/flaml/default/all/regression.json +++ b/flaml/default/all/regression.json @@ -882,4 +882,4 @@ "extra_tree/dilbert", "extra_tree/particulate-matter" ] -} \ No newline at end of file +} diff --git a/flaml/default/extra_tree/binary.json b/flaml/default/extra_tree/binary.json index 4b767f0575ea..8646a05288c5 100644 --- a/flaml/default/extra_tree/binary.json +++ b/flaml/default/extra_tree/binary.json @@ -358,4 +358,4 @@ "bank-marketing", "default" ] -} \ No newline at end of file +} diff --git a/flaml/default/extra_tree/multiclass.json b/flaml/default/extra_tree/multiclass.json index 5c720c1790be..ad11d4a4114b 100644 --- a/flaml/default/extra_tree/multiclass.json +++ b/flaml/default/extra_tree/multiclass.json @@ -307,4 +307,4 @@ "fried", "default" ] -} \ No newline at end of file +} diff --git a/flaml/default/extra_tree/regression.json b/flaml/default/extra_tree/regression.json index 114450094b47..077c8ed45a90 100644 --- a/flaml/default/extra_tree/regression.json +++ b/flaml/default/extra_tree/regression.json @@ -309,4 +309,4 @@ "dilbert", "particulate-matter" ] -} \ No newline at end of file +} diff --git a/flaml/default/lgbm/binary.json b/flaml/default/lgbm/binary.json index fa0b8fa5a493..5eb163938595 100644 --- a/flaml/default/lgbm/binary.json +++ b/flaml/default/lgbm/binary.json @@ -367,4 +367,4 @@ "Dionis", "default" ] -} \ No newline at end of file +} diff --git a/flaml/default/lgbm/multiclass.json b/flaml/default/lgbm/multiclass.json index 2956892e0d12..ad351db77ddd 100644 --- a/flaml/default/lgbm/multiclass.json +++ b/flaml/default/lgbm/multiclass.json @@ -413,4 +413,4 @@ "APSFailure", "default" ] -} \ No newline at end of file +} diff --git a/flaml/default/lgbm/regression.json b/flaml/default/lgbm/regression.json index 0159231ecde5..5a3ce8718b72 100644 --- a/flaml/default/lgbm/regression.json +++ b/flaml/default/lgbm/regression.json @@ -278,4 +278,4 @@ "poker", "default" ] -} \ No newline at end of file +} diff --git a/flaml/default/rf/binary.json b/flaml/default/rf/binary.json index a60af8840ee4..b9ee8e6a1826 100644 --- a/flaml/default/rf/binary.json +++ b/flaml/default/rf/binary.json @@ -330,4 +330,4 @@ "Helena", "default" ] -} \ No newline at end of file +} diff --git a/flaml/default/rf/multiclass.json b/flaml/default/rf/multiclass.json index 13cc634ac4e5..264f33384075 100644 --- a/flaml/default/rf/multiclass.json +++ b/flaml/default/rf/multiclass.json @@ -325,4 +325,4 @@ "MiniBooNE", "default" ] -} \ No newline at end of file +} diff --git a/flaml/default/rf/regression.json b/flaml/default/rf/regression.json index 45295ffbaa35..8bb8e545e062 100644 --- a/flaml/default/rf/regression.json +++ b/flaml/default/rf/regression.json @@ -290,4 +290,4 @@ "bank-marketing", "default" ] -} \ No newline at end of file +} diff --git a/flaml/default/xgb_limitdepth/binary.json b/flaml/default/xgb_limitdepth/binary.json index 8d54825773bc..cf078d4b15d3 100644 --- a/flaml/default/xgb_limitdepth/binary.json +++ b/flaml/default/xgb_limitdepth/binary.json @@ -326,4 +326,4 @@ "Amazon_employee_access", "default" ] -} \ No newline at end of file +} diff --git a/flaml/default/xgb_limitdepth/multiclass.json b/flaml/default/xgb_limitdepth/multiclass.json index 3468f8caaf61..9ad98d4ee94d 100644 --- a/flaml/default/xgb_limitdepth/multiclass.json +++ b/flaml/default/xgb_limitdepth/multiclass.json @@ -354,4 +354,4 @@ "vehicle", "mfeat-factors" ] -} \ No newline at end of file +} diff --git a/flaml/default/xgb_limitdepth/regression.json b/flaml/default/xgb_limitdepth/regression.json index d7d287014828..38c107cfb450 100644 --- a/flaml/default/xgb_limitdepth/regression.json +++ b/flaml/default/xgb_limitdepth/regression.json @@ -347,4 +347,4 @@ "bng_echomonths", "default" ] -} \ No newline at end of file +} diff --git a/flaml/default/xgboost/binary.json b/flaml/default/xgboost/binary.json index 3f63e5c05749..e34bfe1d984e 100644 --- a/flaml/default/xgboost/binary.json +++ b/flaml/default/xgboost/binary.json @@ -372,4 +372,4 @@ "pol", "Amazon_employee_access" ] -} \ No newline at end of file +} diff --git a/flaml/default/xgboost/multiclass.json b/flaml/default/xgboost/multiclass.json index e14af28d0cf2..40b0343640ae 100644 --- a/flaml/default/xgboost/multiclass.json +++ b/flaml/default/xgboost/multiclass.json @@ -509,4 +509,4 @@ "dilbert", "jungle_chess_2pcs_raw_endgame_complete" ] -} \ No newline at end of file +} diff --git a/flaml/default/xgboost/regression.json b/flaml/default/xgboost/regression.json index 331dc183666b..56a13caa23a7 100644 --- a/flaml/default/xgboost/regression.json +++ b/flaml/default/xgboost/regression.json @@ -308,4 +308,4 @@ "bng_echomonths", "house_16H" ] -} \ No newline at end of file +} diff --git a/flaml/onlineml/README.md b/flaml/onlineml/README.md index 751da064671d..25573c499f8a 100644 --- a/flaml/onlineml/README.md +++ b/flaml/onlineml/README.md @@ -44,4 +44,4 @@ autovw = AutoVW(max_live_model_num=5, search_space=search_space_nilr, init_confi A user can use the resulting AutoVW instances `autovw` in a similar way to a vanilla Vowpal Wabbit instance, i.e., `pyvw.vw`, to perform online learning by iteratively calling its `predict(data_example)` and `learn(data_example)` functions at each data example. For more examples, please check out -[AutoVW notebook](https://github.com/microsoft/FLAML/blob/main/notebook/autovw.ipynb). \ No newline at end of file +[AutoVW notebook](https://github.com/microsoft/FLAML/blob/main/notebook/autovw.ipynb). diff --git a/notebook/automl_time_series_forecast.ipynb b/notebook/automl_time_series_forecast.ipynb old mode 100755 new mode 100644 diff --git a/pytest.ini b/pytest.ini index 541db7503123..63249c6115c6 100644 --- a/pytest.ini +++ b/pytest.ini @@ -2,4 +2,3 @@ addopts = -m "not conda" markers = conda: test related to conda forge distribution - diff --git a/test/default/extra_tree/2dplanes.json b/test/default/extra_tree/2dplanes.json index 7d497f0e0157..79aa28f7f249 100644 --- a/test/default/extra_tree/2dplanes.json +++ b/test/default/extra_tree/2dplanes.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 16, "max_features": 1.0, "max_leaves": 54}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 16, "max_features": 1.0, "max_leaves": 54}} diff --git a/test/default/extra_tree/Airlines.json b/test/default/extra_tree/Airlines.json index 41a1743e963f..860d7e00df7a 100644 --- a/test/default/extra_tree/Airlines.json +++ b/test/default/extra_tree/Airlines.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 2047, "max_features": 1.0, "max_leaves": 8194, "criterion": "gini", "FLAML_sample_size": 436899}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 2047, "max_features": 1.0, "max_leaves": 8194, "criterion": "gini", "FLAML_sample_size": 436899}} diff --git a/test/default/extra_tree/Albert.json b/test/default/extra_tree/Albert.json index 018f4bd626a7..c5307f5de20e 100644 --- a/test/default/extra_tree/Albert.json +++ b/test/default/extra_tree/Albert.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 1733, "max_features": 0.3841826938360253, "max_leaves": 32767, "criterion": "entropy", "FLAML_sample_size": 344444}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 1733, "max_features": 0.3841826938360253, "max_leaves": 32767, "criterion": "entropy", "FLAML_sample_size": 344444}} diff --git a/test/default/extra_tree/Amazon_employee_access.json b/test/default/extra_tree/Amazon_employee_access.json index 3a041b265f8d..1826b6cb3d44 100644 --- a/test/default/extra_tree/Amazon_employee_access.json +++ b/test/default/extra_tree/Amazon_employee_access.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 812, "max_features": 1.0, "max_leaves": 1474, "criterion": "entropy"}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 812, "max_features": 1.0, "max_leaves": 1474, "criterion": "entropy"}} diff --git a/test/default/extra_tree/adult.json b/test/default/extra_tree/adult.json index 4522b49920c4..0d6b25801df2 100644 --- a/test/default/extra_tree/adult.json +++ b/test/default/extra_tree/adult.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 859, "max_features": 1.0, "max_leaves": 967, "criterion": "entropy"}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 859, "max_features": 1.0, "max_leaves": 967, "criterion": "entropy"}} diff --git a/test/default/extra_tree/bng_breastTumor.json b/test/default/extra_tree/bng_breastTumor.json index 38145c38c478..30b5a5b3793e 100644 --- a/test/default/extra_tree/bng_breastTumor.json +++ b/test/default/extra_tree/bng_breastTumor.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 90, "max_features": 1.0, "max_leaves": 1301, "FLAML_sample_size": 94478}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 90, "max_features": 1.0, "max_leaves": 1301, "FLAML_sample_size": 94478}} diff --git a/test/default/extra_tree/bng_pbc.json b/test/default/extra_tree/bng_pbc.json index 6eb8ced29811..9b7e895676e2 100644 --- a/test/default/extra_tree/bng_pbc.json +++ b/test/default/extra_tree/bng_pbc.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 1211, "max_features": 1.0, "max_leaves": 32767, "FLAML_sample_size": 810000}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 1211, "max_features": 1.0, "max_leaves": 32767, "FLAML_sample_size": 810000}} diff --git a/test/default/extra_tree/car.json b/test/default/extra_tree/car.json index 06904813d309..fb53741ca866 100644 --- a/test/default/extra_tree/car.json +++ b/test/default/extra_tree/car.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 333, "max_features": 1.0, "max_leaves": 201, "criterion": "gini"}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 333, "max_features": 1.0, "max_leaves": 201, "criterion": "gini"}} diff --git a/test/default/extra_tree/connect-4.json b/test/default/extra_tree/connect-4.json index 5d2e67ff9e67..3eb25232a734 100644 --- a/test/default/extra_tree/connect-4.json +++ b/test/default/extra_tree/connect-4.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 229, "max_features": 0.5372053700721111, "max_leaves": 11150, "criterion": "entropy"}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 229, "max_features": 0.5372053700721111, "max_leaves": 11150, "criterion": "entropy"}} diff --git a/test/default/extra_tree/default.json b/test/default/extra_tree/default.json index 88dfc865005d..1c9ff0e1bf0b 100644 --- a/test/default/extra_tree/default.json +++ b/test/default/extra_tree/default.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {}} diff --git a/test/default/extra_tree/dilbert.json b/test/default/extra_tree/dilbert.json index e7f4d89ffb35..8ae34e568d50 100644 --- a/test/default/extra_tree/dilbert.json +++ b/test/default/extra_tree/dilbert.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 346, "max_features": 1.0, "max_leaves": 1007, "criterion": "entropy"}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 346, "max_features": 1.0, "max_leaves": 1007, "criterion": "entropy"}} diff --git a/test/default/extra_tree/poker.json b/test/default/extra_tree/poker.json index 5d7f1ee483ab..777ce3935ca7 100644 --- a/test/default/extra_tree/poker.json +++ b/test/default/extra_tree/poker.json @@ -1 +1 @@ -{"class": "extra_tree", "hyperparameters": {"n_estimators": 1416, "max_features": 1.0, "max_leaves": 32767, "FLAML_sample_size": 830258}} \ No newline at end of file +{"class": "extra_tree", "hyperparameters": {"n_estimators": 1416, "max_features": 1.0, "max_leaves": 32767, "FLAML_sample_size": 830258}} diff --git a/test/default/lgbm/2dplanes.json b/test/default/lgbm/2dplanes.json index 3d65810fc9a5..d6198384adcb 100644 --- a/test/default/lgbm/2dplanes.json +++ b/test/default/lgbm/2dplanes.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 103, "num_leaves": 33, "min_child_samples": 4, "learning_rate": 0.05800185361316003, "log_max_bin": 6, "colsample_bytree": 1.0, "reg_alpha": 1.5987124004961213, "reg_lambda": 10.56445079499673}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 103, "num_leaves": 33, "min_child_samples": 4, "learning_rate": 0.05800185361316003, "log_max_bin": 6, "colsample_bytree": 1.0, "reg_alpha": 1.5987124004961213, "reg_lambda": 10.56445079499673}} diff --git a/test/default/lgbm/APSFailure.json b/test/default/lgbm/APSFailure.json index f36a730980bb..2d8d462636d0 100644 --- a/test/default/lgbm/APSFailure.json +++ b/test/default/lgbm/APSFailure.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 733, "num_leaves": 11, "min_child_samples": 94, "learning_rate": 0.06276798296942972, "log_max_bin": 6, "colsample_bytree": 0.6341928918435795, "reg_alpha": 0.5811038918218691, "reg_lambda": 43.304997517523944}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 733, "num_leaves": 11, "min_child_samples": 94, "learning_rate": 0.06276798296942972, "log_max_bin": 6, "colsample_bytree": 0.6341928918435795, "reg_alpha": 0.5811038918218691, "reg_lambda": 43.304997517523944}} diff --git a/test/default/lgbm/Airlines.json b/test/default/lgbm/Airlines.json index 15ec9a038cfe..6edb0fe6a687 100644 --- a/test/default/lgbm/Airlines.json +++ b/test/default/lgbm/Airlines.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 2541, "num_leaves": 1667, "min_child_samples": 29, "learning_rate": 0.0016660662914022302, "log_max_bin": 8, "colsample_bytree": 0.5157078343718623, "reg_alpha": 0.045792841240713165, "reg_lambda": 0.0012362651138125363, "FLAML_sample_size": 436899}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 2541, "num_leaves": 1667, "min_child_samples": 29, "learning_rate": 0.0016660662914022302, "log_max_bin": 8, "colsample_bytree": 0.5157078343718623, "reg_alpha": 0.045792841240713165, "reg_lambda": 0.0012362651138125363, "FLAML_sample_size": 436899}} diff --git a/test/default/lgbm/Albert.json b/test/default/lgbm/Albert.json index 1d81076961d7..784d9ab77805 100644 --- a/test/default/lgbm/Albert.json +++ b/test/default/lgbm/Albert.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 12659, "num_leaves": 566, "min_child_samples": 51, "learning_rate": 0.0017248557932071625, "log_max_bin": 10, "colsample_bytree": 0.35373661752616337, "reg_alpha": 0.004824272162679245, "reg_lambda": 8.51563063056529, "FLAML_sample_size": 344444}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 12659, "num_leaves": 566, "min_child_samples": 51, "learning_rate": 0.0017248557932071625, "log_max_bin": 10, "colsample_bytree": 0.35373661752616337, "reg_alpha": 0.004824272162679245, "reg_lambda": 8.51563063056529, "FLAML_sample_size": 344444}} diff --git a/test/default/lgbm/Amazon_employee_access.json b/test/default/lgbm/Amazon_employee_access.json index 39d0704548bd..d533cf95d9de 100644 --- a/test/default/lgbm/Amazon_employee_access.json +++ b/test/default/lgbm/Amazon_employee_access.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 198, "num_leaves": 6241, "min_child_samples": 3, "learning_rate": 0.003807690748728824, "log_max_bin": 10, "colsample_bytree": 0.3192882305722113, "reg_alpha": 0.024630507311503163, "reg_lambda": 0.06738306675149014}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 198, "num_leaves": 6241, "min_child_samples": 3, "learning_rate": 0.003807690748728824, "log_max_bin": 10, "colsample_bytree": 0.3192882305722113, "reg_alpha": 0.024630507311503163, "reg_lambda": 0.06738306675149014}} diff --git a/test/default/lgbm/Dionis.json b/test/default/lgbm/Dionis.json index b6531056bb9a..5cfda25789a8 100644 --- a/test/default/lgbm/Dionis.json +++ b/test/default/lgbm/Dionis.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 362, "num_leaves": 1208, "min_child_samples": 8, "learning_rate": 0.02070742242160566, "log_max_bin": 4, "colsample_bytree": 0.37915528071680865, "reg_alpha": 0.002982599447751338, "reg_lambda": 1.136605174453919, "FLAML_sample_size": 337147}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 362, "num_leaves": 1208, "min_child_samples": 8, "learning_rate": 0.02070742242160566, "log_max_bin": 4, "colsample_bytree": 0.37915528071680865, "reg_alpha": 0.002982599447751338, "reg_lambda": 1.136605174453919, "FLAML_sample_size": 337147}} diff --git a/test/default/lgbm/adult.json b/test/default/lgbm/adult.json index c3a0d02405e7..f5acceed896c 100644 --- a/test/default/lgbm/adult.json +++ b/test/default/lgbm/adult.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 11842, "num_leaves": 31, "min_child_samples": 3, "learning_rate": 0.0015861878568503534, "log_max_bin": 8, "colsample_bytree": 0.3814347840573729, "reg_alpha": 0.0009765625, "reg_lambda": 0.011319689446351965}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 11842, "num_leaves": 31, "min_child_samples": 3, "learning_rate": 0.0015861878568503534, "log_max_bin": 8, "colsample_bytree": 0.3814347840573729, "reg_alpha": 0.0009765625, "reg_lambda": 0.011319689446351965}} diff --git a/test/default/lgbm/bng_breastTumor.json b/test/default/lgbm/bng_breastTumor.json index e4f48fdc03ec..9c73d7832c4b 100644 --- a/test/default/lgbm/bng_breastTumor.json +++ b/test/default/lgbm/bng_breastTumor.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 644, "num_leaves": 40, "min_child_samples": 38, "learning_rate": 0.06007328261566753, "log_max_bin": 5, "colsample_bytree": 0.6950692048656423, "reg_alpha": 0.0009765625, "reg_lambda": 9.849318389111616, "FLAML_sample_size": 94478}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 644, "num_leaves": 40, "min_child_samples": 38, "learning_rate": 0.06007328261566753, "log_max_bin": 5, "colsample_bytree": 0.6950692048656423, "reg_alpha": 0.0009765625, "reg_lambda": 9.849318389111616, "FLAML_sample_size": 94478}} diff --git a/test/default/lgbm/bng_pbc.json b/test/default/lgbm/bng_pbc.json index d46d2511538b..4938d0e49c1d 100644 --- a/test/default/lgbm/bng_pbc.json +++ b/test/default/lgbm/bng_pbc.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 27202, "num_leaves": 848, "min_child_samples": 2, "learning_rate": 0.0019296395751528979, "log_max_bin": 5, "colsample_bytree": 0.7328229531785452, "reg_alpha": 6.112225454676263, "reg_lambda": 0.08606162543586986, "FLAML_sample_size": 810000}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 27202, "num_leaves": 848, "min_child_samples": 2, "learning_rate": 0.0019296395751528979, "log_max_bin": 5, "colsample_bytree": 0.7328229531785452, "reg_alpha": 6.112225454676263, "reg_lambda": 0.08606162543586986, "FLAML_sample_size": 810000}} diff --git a/test/default/lgbm/car.json b/test/default/lgbm/car.json index 93a463cd7670..278d7e188d9c 100644 --- a/test/default/lgbm/car.json +++ b/test/default/lgbm/car.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 311, "num_leaves": 4, "min_child_samples": 5, "learning_rate": 0.5547292134798673, "log_max_bin": 3, "colsample_bytree": 0.9917614238487915, "reg_alpha": 0.0009765625, "reg_lambda": 0.0019177370889840813}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 311, "num_leaves": 4, "min_child_samples": 5, "learning_rate": 0.5547292134798673, "log_max_bin": 3, "colsample_bytree": 0.9917614238487915, "reg_alpha": 0.0009765625, "reg_lambda": 0.0019177370889840813}} diff --git a/test/default/lgbm/connect-4.json b/test/default/lgbm/connect-4.json index bd06c8138a1b..c00ae6bda0e5 100644 --- a/test/default/lgbm/connect-4.json +++ b/test/default/lgbm/connect-4.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 3726, "num_leaves": 155, "min_child_samples": 4, "learning_rate": 0.040941607728296484, "log_max_bin": 5, "colsample_bytree": 0.5326256194627191, "reg_alpha": 0.7408711930398492, "reg_lambda": 0.5467731065349226}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 3726, "num_leaves": 155, "min_child_samples": 4, "learning_rate": 0.040941607728296484, "log_max_bin": 5, "colsample_bytree": 0.5326256194627191, "reg_alpha": 0.7408711930398492, "reg_lambda": 0.5467731065349226}} diff --git a/test/default/lgbm/default.json b/test/default/lgbm/default.json index 76a6ef5fa60e..fb666971aa2b 100644 --- a/test/default/lgbm/default.json +++ b/test/default/lgbm/default.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {}} diff --git a/test/default/lgbm/dilbert.json b/test/default/lgbm/dilbert.json index 46891b958b72..deb930db81fb 100644 --- a/test/default/lgbm/dilbert.json +++ b/test/default/lgbm/dilbert.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 7325, "num_leaves": 15, "min_child_samples": 6, "learning_rate": 0.009932524214971736, "log_max_bin": 6, "colsample_bytree": 0.8592091503131608, "reg_alpha": 0.0009997224940106115, "reg_lambda": 0.04069855891326503}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 7325, "num_leaves": 15, "min_child_samples": 6, "learning_rate": 0.009932524214971736, "log_max_bin": 6, "colsample_bytree": 0.8592091503131608, "reg_alpha": 0.0009997224940106115, "reg_lambda": 0.04069855891326503}} diff --git a/test/default/lgbm/poker.json b/test/default/lgbm/poker.json index c38415277e80..35dbb341f60c 100644 --- a/test/default/lgbm/poker.json +++ b/test/default/lgbm/poker.json @@ -1 +1 @@ -{"class": "lgbm", "hyperparameters": {"n_estimators": 32767, "num_leaves": 372, "min_child_samples": 4, "learning_rate": 0.03517259015200922, "log_max_bin": 5, "colsample_bytree": 1.0, "reg_alpha": 0.02271142170225636, "reg_lambda": 0.001963791798843179, "FLAML_sample_size": 830258}} \ No newline at end of file +{"class": "lgbm", "hyperparameters": {"n_estimators": 32767, "num_leaves": 372, "min_child_samples": 4, "learning_rate": 0.03517259015200922, "log_max_bin": 5, "colsample_bytree": 1.0, "reg_alpha": 0.02271142170225636, "reg_lambda": 0.001963791798843179, "FLAML_sample_size": 830258}} diff --git a/test/default/rf/2dplanes.json b/test/default/rf/2dplanes.json index 0ae89789bb67..3bf47c86d151 100644 --- a/test/default/rf/2dplanes.json +++ b/test/default/rf/2dplanes.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 38, "max_features": 1.0, "max_leaves": 58}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 38, "max_features": 1.0, "max_leaves": 58}} diff --git a/test/default/rf/Airlines.json b/test/default/rf/Airlines.json index d87f6a21aa85..a299cbc2914f 100644 --- a/test/default/rf/Airlines.json +++ b/test/default/rf/Airlines.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 418, "max_features": 0.5303485415288045, "max_leaves": 6452, "criterion": "entropy", "FLAML_sample_size": 436899}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 418, "max_features": 0.5303485415288045, "max_leaves": 6452, "criterion": "entropy", "FLAML_sample_size": 436899}} diff --git a/test/default/rf/Albert.json b/test/default/rf/Albert.json index 74ee8c516f10..928431a7c5c0 100644 --- a/test/default/rf/Albert.json +++ b/test/default/rf/Albert.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 2047, "max_features": 0.10091610074262287, "max_leaves": 32767, "criterion": "entropy", "FLAML_sample_size": 344444}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 2047, "max_features": 0.10091610074262287, "max_leaves": 32767, "criterion": "entropy", "FLAML_sample_size": 344444}} diff --git a/test/default/rf/Amazon_employee_access.json b/test/default/rf/Amazon_employee_access.json index 7983e1e03a8b..be83bc1c1bd8 100644 --- a/test/default/rf/Amazon_employee_access.json +++ b/test/default/rf/Amazon_employee_access.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 501, "max_features": 0.24484242524861066, "max_leaves": 1156, "criterion": "entropy"}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 501, "max_features": 0.24484242524861066, "max_leaves": 1156, "criterion": "entropy"}} diff --git a/test/default/rf/Dionis.json b/test/default/rf/Dionis.json index 2159b581b271..e26e4edca6f0 100644 --- a/test/default/rf/Dionis.json +++ b/test/default/rf/Dionis.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 510, "max_features": 0.12094682590862652, "max_leaves": 32767, "criterion": "entropy", "FLAML_sample_size": 337147}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 510, "max_features": 0.12094682590862652, "max_leaves": 32767, "criterion": "entropy", "FLAML_sample_size": 337147}} diff --git a/test/default/rf/adult.json b/test/default/rf/adult.json index daba279813b4..ec912200b3b2 100644 --- a/test/default/rf/adult.json +++ b/test/default/rf/adult.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 1212, "max_features": 0.3129111648657632, "max_leaves": 779, "criterion": "entropy"}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 1212, "max_features": 0.3129111648657632, "max_leaves": 779, "criterion": "entropy"}} diff --git a/test/default/rf/bng_breastTumor.json b/test/default/rf/bng_breastTumor.json index 5fa43ab96a03..f794e0029985 100644 --- a/test/default/rf/bng_breastTumor.json +++ b/test/default/rf/bng_breastTumor.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 288, "max_features": 0.6436380990499977, "max_leaves": 1823, "FLAML_sample_size": 94478}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 288, "max_features": 0.6436380990499977, "max_leaves": 1823, "FLAML_sample_size": 94478}} diff --git a/test/default/rf/bng_pbc.json b/test/default/rf/bng_pbc.json index fd537b20ec7b..612053b93205 100644 --- a/test/default/rf/bng_pbc.json +++ b/test/default/rf/bng_pbc.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 2047, "max_features": 0.3158919059422144, "max_leaves": 32767, "FLAML_sample_size": 810000}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 2047, "max_features": 0.3158919059422144, "max_leaves": 32767, "FLAML_sample_size": 810000}} diff --git a/test/default/rf/car.json b/test/default/rf/car.json index 99d6eb824ec4..d633ab2c32dc 100644 --- a/test/default/rf/car.json +++ b/test/default/rf/car.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 792, "max_features": 1.0, "max_leaves": 67, "criterion": "entropy"}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 792, "max_features": 1.0, "max_leaves": 67, "criterion": "entropy"}} diff --git a/test/default/rf/connect-4.json b/test/default/rf/connect-4.json index f045a9984922..ea8bf1965bf4 100644 --- a/test/default/rf/connect-4.json +++ b/test/default/rf/connect-4.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 1907, "max_features": 0.3728618389498168, "max_leaves": 11731, "criterion": "entropy"}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 1907, "max_features": 0.3728618389498168, "max_leaves": 11731, "criterion": "entropy"}} diff --git a/test/default/rf/default.json b/test/default/rf/default.json index 527a662a7bcd..d2c400d9243a 100644 --- a/test/default/rf/default.json +++ b/test/default/rf/default.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {}} \ No newline at end of file +{"class": "rf", "hyperparameters": {}} diff --git a/test/default/rf/dilbert.json b/test/default/rf/dilbert.json index 2c822d77f965..ac6caae8ce79 100644 --- a/test/default/rf/dilbert.json +++ b/test/default/rf/dilbert.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 350, "max_features": 0.748250835121453, "max_leaves": 433, "criterion": "entropy"}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 350, "max_features": 0.748250835121453, "max_leaves": 433, "criterion": "entropy"}} diff --git a/test/default/rf/poker.json b/test/default/rf/poker.json index ab6fd2d4aa99..da989b55a392 100644 --- a/test/default/rf/poker.json +++ b/test/default/rf/poker.json @@ -1 +1 @@ -{"class": "rf", "hyperparameters": {"n_estimators": 2047, "max_features": 1.0, "max_leaves": 32767, "FLAML_sample_size": 830258}} \ No newline at end of file +{"class": "rf", "hyperparameters": {"n_estimators": 2047, "max_features": 1.0, "max_leaves": 32767, "FLAML_sample_size": 830258}} diff --git a/test/default/xgb_limitdepth/2dplanes.json b/test/default/xgb_limitdepth/2dplanes.json index 98fd90de0399..db5c3b026b0d 100644 --- a/test/default/xgb_limitdepth/2dplanes.json +++ b/test/default/xgb_limitdepth/2dplanes.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 2704, "max_depth": 2, "min_child_weight": 0.23751738294732322, "learning_rate": 0.019828117294812268, "subsample": 0.8798706041292946, "colsample_bylevel": 0.978891799553329, "colsample_bytree": 1.0, "reg_alpha": 0.3023181744217667, "reg_lambda": 101.10719177747677}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 2704, "max_depth": 2, "min_child_weight": 0.23751738294732322, "learning_rate": 0.019828117294812268, "subsample": 0.8798706041292946, "colsample_bylevel": 0.978891799553329, "colsample_bytree": 1.0, "reg_alpha": 0.3023181744217667, "reg_lambda": 101.10719177747677}} diff --git a/test/default/xgb_limitdepth/Airlines.json b/test/default/xgb_limitdepth/Airlines.json index 037f2744517d..2a79a85f75ab 100644 --- a/test/default/xgb_limitdepth/Airlines.json +++ b/test/default/xgb_limitdepth/Airlines.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 3573, "max_depth": 13, "min_child_weight": 2.921657581984971, "learning_rate": 0.00699976723859477, "subsample": 0.6110504706508572, "colsample_bylevel": 0.9998661537469163, "colsample_bytree": 0.5457693412489456, "reg_alpha": 0.05315763138176945, "reg_lambda": 23.067599600958623, "FLAML_sample_size": 436899}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 3573, "max_depth": 13, "min_child_weight": 2.921657581984971, "learning_rate": 0.00699976723859477, "subsample": 0.6110504706508572, "colsample_bylevel": 0.9998661537469163, "colsample_bytree": 0.5457693412489456, "reg_alpha": 0.05315763138176945, "reg_lambda": 23.067599600958623, "FLAML_sample_size": 436899}} diff --git a/test/default/xgb_limitdepth/Amazon_employee_access.json b/test/default/xgb_limitdepth/Amazon_employee_access.json index 4c7798552c6f..c7efaaa9156a 100644 --- a/test/default/xgb_limitdepth/Amazon_employee_access.json +++ b/test/default/xgb_limitdepth/Amazon_employee_access.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 3526, "max_depth": 13, "min_child_weight": 0.0994486725676356, "learning_rate": 0.0009765625, "subsample": 0.46123759274652554, "colsample_bylevel": 1.0, "colsample_bytree": 0.4498813776397717, "reg_alpha": 0.002599398546499414, "reg_lambda": 0.028336396854402753}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 3526, "max_depth": 13, "min_child_weight": 0.0994486725676356, "learning_rate": 0.0009765625, "subsample": 0.46123759274652554, "colsample_bylevel": 1.0, "colsample_bytree": 0.4498813776397717, "reg_alpha": 0.002599398546499414, "reg_lambda": 0.028336396854402753}} diff --git a/test/default/xgb_limitdepth/adult.json b/test/default/xgb_limitdepth/adult.json index ad1e7d9b7039..98cf60e2a586 100644 --- a/test/default/xgb_limitdepth/adult.json +++ b/test/default/xgb_limitdepth/adult.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 5457, "max_depth": 6, "min_child_weight": 0.19978269031877885, "learning_rate": 0.003906732665632749, "subsample": 0.8207785234496902, "colsample_bylevel": 0.8438751931476698, "colsample_bytree": 0.42202862997585794, "reg_alpha": 0.017372558844968737, "reg_lambda": 0.03977802121721031}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 5457, "max_depth": 6, "min_child_weight": 0.19978269031877885, "learning_rate": 0.003906732665632749, "subsample": 0.8207785234496902, "colsample_bylevel": 0.8438751931476698, "colsample_bytree": 0.42202862997585794, "reg_alpha": 0.017372558844968737, "reg_lambda": 0.03977802121721031}} diff --git a/test/default/xgb_limitdepth/bng_breastTumor.json b/test/default/xgb_limitdepth/bng_breastTumor.json index 328f82a5ed5c..a0f79ea30493 100644 --- a/test/default/xgb_limitdepth/bng_breastTumor.json +++ b/test/default/xgb_limitdepth/bng_breastTumor.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 7782, "max_depth": 7, "min_child_weight": 0.3794874452608909, "learning_rate": 0.006733035771172325, "subsample": 1.0, "colsample_bylevel": 1.0, "colsample_bytree": 0.5611305922560855, "reg_alpha": 8.203853065625196, "reg_lambda": 56.48543538808782, "FLAML_sample_size": 94478}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 7782, "max_depth": 7, "min_child_weight": 0.3794874452608909, "learning_rate": 0.006733035771172325, "subsample": 1.0, "colsample_bylevel": 1.0, "colsample_bytree": 0.5611305922560855, "reg_alpha": 8.203853065625196, "reg_lambda": 56.48543538808782, "FLAML_sample_size": 94478}} diff --git a/test/default/xgb_limitdepth/bng_pbc.json b/test/default/xgb_limitdepth/bng_pbc.json index 3495e1ad4930..52db9b3387f9 100644 --- a/test/default/xgb_limitdepth/bng_pbc.json +++ b/test/default/xgb_limitdepth/bng_pbc.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 1013, "max_depth": 15, "min_child_weight": 57.33124114425335, "learning_rate": 0.009706354607542536, "subsample": 1.0, "colsample_bylevel": 0.7925997002174675, "colsample_bytree": 0.874062117666267, "reg_alpha": 0.7965442116152655, "reg_lambda": 2.769937488341342, "FLAML_sample_size": 810000}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 1013, "max_depth": 15, "min_child_weight": 57.33124114425335, "learning_rate": 0.009706354607542536, "subsample": 1.0, "colsample_bylevel": 0.7925997002174675, "colsample_bytree": 0.874062117666267, "reg_alpha": 0.7965442116152655, "reg_lambda": 2.769937488341342, "FLAML_sample_size": 810000}} diff --git a/test/default/xgb_limitdepth/car.json b/test/default/xgb_limitdepth/car.json index af7a7becc813..65be45683386 100644 --- a/test/default/xgb_limitdepth/car.json +++ b/test/default/xgb_limitdepth/car.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 624, "max_depth": 3, "min_child_weight": 0.0017043575728019624, "learning_rate": 0.8481863978692453, "subsample": 0.9897901748446495, "colsample_bylevel": 1.0, "colsample_bytree": 1.0, "reg_alpha": 0.0009765625, "reg_lambda": 0.008686469265798288}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 624, "max_depth": 3, "min_child_weight": 0.0017043575728019624, "learning_rate": 0.8481863978692453, "subsample": 0.9897901748446495, "colsample_bylevel": 1.0, "colsample_bytree": 1.0, "reg_alpha": 0.0009765625, "reg_lambda": 0.008686469265798288}} diff --git a/test/default/xgb_limitdepth/connect-4.json b/test/default/xgb_limitdepth/connect-4.json index bdcf5a28b189..faf2a0edf580 100644 --- a/test/default/xgb_limitdepth/connect-4.json +++ b/test/default/xgb_limitdepth/connect-4.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 1499, "max_depth": 11, "min_child_weight": 0.07563529776156448, "learning_rate": 0.039042609221240955, "subsample": 0.7832981935783824, "colsample_bylevel": 1.0, "colsample_bytree": 1.0, "reg_alpha": 0.0009765625, "reg_lambda": 23.513066752844153}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 1499, "max_depth": 11, "min_child_weight": 0.07563529776156448, "learning_rate": 0.039042609221240955, "subsample": 0.7832981935783824, "colsample_bylevel": 1.0, "colsample_bytree": 1.0, "reg_alpha": 0.0009765625, "reg_lambda": 23.513066752844153}} diff --git a/test/default/xgb_limitdepth/default.json b/test/default/xgb_limitdepth/default.json index 31a35648d050..80302ace1611 100644 --- a/test/default/xgb_limitdepth/default.json +++ b/test/default/xgb_limitdepth/default.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {}} diff --git a/test/default/xgb_limitdepth/dilbert.json b/test/default/xgb_limitdepth/dilbert.json index 200ca8faac7e..5771e16e3e36 100644 --- a/test/default/xgb_limitdepth/dilbert.json +++ b/test/default/xgb_limitdepth/dilbert.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 405, "max_depth": 4, "min_child_weight": 0.2264977130755997, "learning_rate": 0.3390883186947167, "subsample": 0.8078627200173096, "colsample_bylevel": 0.8570282862730856, "colsample_bytree": 0.8280063772581445, "reg_alpha": 0.007634576038353066, "reg_lambda": 1.7101180066063097}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 405, "max_depth": 4, "min_child_weight": 0.2264977130755997, "learning_rate": 0.3390883186947167, "subsample": 0.8078627200173096, "colsample_bylevel": 0.8570282862730856, "colsample_bytree": 0.8280063772581445, "reg_alpha": 0.007634576038353066, "reg_lambda": 1.7101180066063097}} diff --git a/test/default/xgb_limitdepth/poker.json b/test/default/xgb_limitdepth/poker.json index 85b183afcb83..72ad6f04bf8f 100644 --- a/test/default/xgb_limitdepth/poker.json +++ b/test/default/xgb_limitdepth/poker.json @@ -1 +1 @@ -{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 3234, "max_depth": 13, "min_child_weight": 0.07784911437942721, "learning_rate": 0.0565426521738442, "subsample": 1.0, "colsample_bylevel": 1.0, "colsample_bytree": 1.0, "reg_alpha": 0.007928962402687697, "reg_lambda": 3.881249823648859, "FLAML_sample_size": 830258}} \ No newline at end of file +{"class": "xgb_limitdepth", "hyperparameters": {"n_estimators": 3234, "max_depth": 13, "min_child_weight": 0.07784911437942721, "learning_rate": 0.0565426521738442, "subsample": 1.0, "colsample_bylevel": 1.0, "colsample_bytree": 1.0, "reg_alpha": 0.007928962402687697, "reg_lambda": 3.881249823648859, "FLAML_sample_size": 830258}} diff --git a/test/default/xgboost/2dplanes.json b/test/default/xgboost/2dplanes.json index 451bef1278d8..81e564b370e4 100644 --- a/test/default/xgboost/2dplanes.json +++ b/test/default/xgboost/2dplanes.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 6705, "max_leaves": 24, "min_child_weight": 58.562722088466444, "learning_rate": 0.0009765625, "subsample": 0.8993009465247683, "colsample_bylevel": 1.0, "colsample_bytree": 1.0, "reg_alpha": 0.2679275019160531, "reg_lambda": 91.95034898844547}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 6705, "max_leaves": 24, "min_child_weight": 58.562722088466444, "learning_rate": 0.0009765625, "subsample": 0.8993009465247683, "colsample_bylevel": 1.0, "colsample_bytree": 1.0, "reg_alpha": 0.2679275019160531, "reg_lambda": 91.95034898844547}} diff --git a/test/default/xgboost/Airlines.json b/test/default/xgboost/Airlines.json index 8d4ec16617a1..37ff712cd0eb 100644 --- a/test/default/xgboost/Airlines.json +++ b/test/default/xgboost/Airlines.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 17309, "max_leaves": 1146, "min_child_weight": 0.0193980002033358, "learning_rate": 0.0009765625, "subsample": 0.4169778612218198, "colsample_bylevel": 1.0, "colsample_bytree": 0.5504959296065052, "reg_alpha": 0.00505548829948545, "reg_lambda": 21.287234956122028, "FLAML_sample_size": 436899}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 17309, "max_leaves": 1146, "min_child_weight": 0.0193980002033358, "learning_rate": 0.0009765625, "subsample": 0.4169778612218198, "colsample_bylevel": 1.0, "colsample_bytree": 0.5504959296065052, "reg_alpha": 0.00505548829948545, "reg_lambda": 21.287234956122028, "FLAML_sample_size": 436899}} diff --git a/test/default/xgboost/Albert.json b/test/default/xgboost/Albert.json index cbcbe4d4ddc7..4485b079a827 100644 --- a/test/default/xgboost/Albert.json +++ b/test/default/xgboost/Albert.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 6357, "max_leaves": 206, "min_child_weight": 1.9495322566288034, "learning_rate": 0.0068766724195393905, "subsample": 0.9451618245005704, "colsample_bylevel": 0.9030482524943064, "colsample_bytree": 0.9278972006416252, "reg_alpha": 0.01857648400903689, "reg_lambda": 6.021166480604588, "FLAML_sample_size": 344444}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 6357, "max_leaves": 206, "min_child_weight": 1.9495322566288034, "learning_rate": 0.0068766724195393905, "subsample": 0.9451618245005704, "colsample_bylevel": 0.9030482524943064, "colsample_bytree": 0.9278972006416252, "reg_alpha": 0.01857648400903689, "reg_lambda": 6.021166480604588, "FLAML_sample_size": 344444}} diff --git a/test/default/xgboost/Amazon_employee_access.json b/test/default/xgboost/Amazon_employee_access.json index 2b64393501e5..9416ac3a9cc0 100644 --- a/test/default/xgboost/Amazon_employee_access.json +++ b/test/default/xgboost/Amazon_employee_access.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 591, "max_leaves": 16651, "min_child_weight": 0.03356567864689129, "learning_rate": 0.002595066436678338, "subsample": 0.9114132805513452, "colsample_bylevel": 0.9503441844594458, "colsample_bytree": 0.5703338448066768, "reg_alpha": 0.010405212349127894, "reg_lambda": 0.05352660657433639}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 591, "max_leaves": 16651, "min_child_weight": 0.03356567864689129, "learning_rate": 0.002595066436678338, "subsample": 0.9114132805513452, "colsample_bylevel": 0.9503441844594458, "colsample_bytree": 0.5703338448066768, "reg_alpha": 0.010405212349127894, "reg_lambda": 0.05352660657433639}} diff --git a/test/default/xgboost/adult.json b/test/default/xgboost/adult.json index d4b4d1defe4e..a0f237beff37 100644 --- a/test/default/xgboost/adult.json +++ b/test/default/xgboost/adult.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 23282, "max_leaves": 19, "min_child_weight": 0.02198438885474473, "learning_rate": 0.001700636796132106, "subsample": 1.0, "colsample_bylevel": 0.8954745234489918, "colsample_bytree": 0.22331977285961732, "reg_alpha": 0.4115502489939291, "reg_lambda": 0.015523027968801352}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 23282, "max_leaves": 19, "min_child_weight": 0.02198438885474473, "learning_rate": 0.001700636796132106, "subsample": 1.0, "colsample_bylevel": 0.8954745234489918, "colsample_bytree": 0.22331977285961732, "reg_alpha": 0.4115502489939291, "reg_lambda": 0.015523027968801352}} diff --git a/test/default/xgboost/bng_breastTumor.json b/test/default/xgboost/bng_breastTumor.json index 9a723d6c7493..0bceab5dd940 100644 --- a/test/default/xgboost/bng_breastTumor.json +++ b/test/default/xgboost/bng_breastTumor.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 4038, "max_leaves": 89, "min_child_weight": 0.23500921146599626, "learning_rate": 0.0039779941096963365, "subsample": 0.9421092355451888, "colsample_bylevel": 0.7772326835688742, "colsample_bytree": 0.6864341727912397, "reg_alpha": 4.8782018848557, "reg_lambda": 0.7531969031616396, "FLAML_sample_size": 94478}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 4038, "max_leaves": 89, "min_child_weight": 0.23500921146599626, "learning_rate": 0.0039779941096963365, "subsample": 0.9421092355451888, "colsample_bylevel": 0.7772326835688742, "colsample_bytree": 0.6864341727912397, "reg_alpha": 4.8782018848557, "reg_lambda": 0.7531969031616396, "FLAML_sample_size": 94478}} diff --git a/test/default/xgboost/bng_pbc.json b/test/default/xgboost/bng_pbc.json index f09afbee5058..66f0714710e9 100644 --- a/test/default/xgboost/bng_pbc.json +++ b/test/default/xgboost/bng_pbc.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 32767, "max_leaves": 623, "min_child_weight": 0.03783048691639616, "learning_rate": 0.0021758863899615554, "subsample": 0.9086242379539484, "colsample_bylevel": 0.5880499360809446, "colsample_bytree": 1.0, "reg_alpha": 0.0037398450188259108, "reg_lambda": 16.894310259361305, "FLAML_sample_size": 810000}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 32767, "max_leaves": 623, "min_child_weight": 0.03783048691639616, "learning_rate": 0.0021758863899615554, "subsample": 0.9086242379539484, "colsample_bylevel": 0.5880499360809446, "colsample_bytree": 1.0, "reg_alpha": 0.0037398450188259108, "reg_lambda": 16.894310259361305, "FLAML_sample_size": 810000}} diff --git a/test/default/xgboost/car.json b/test/default/xgboost/car.json index 8a042e24514b..c77a06932ec6 100644 --- a/test/default/xgboost/car.json +++ b/test/default/xgboost/car.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 765, "max_leaves": 6, "min_child_weight": 0.001, "learning_rate": 1.0, "subsample": 0.9833803894285497, "colsample_bylevel": 1.0, "colsample_bytree": 1.0, "reg_alpha": 0.0012553728257619922, "reg_lambda": 0.03280542610559108}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 765, "max_leaves": 6, "min_child_weight": 0.001, "learning_rate": 1.0, "subsample": 0.9833803894285497, "colsample_bylevel": 1.0, "colsample_bytree": 1.0, "reg_alpha": 0.0012553728257619922, "reg_lambda": 0.03280542610559108}} diff --git a/test/default/xgboost/connect-4.json b/test/default/xgboost/connect-4.json index 598aadd04453..02d21875f8ed 100644 --- a/test/default/xgboost/connect-4.json +++ b/test/default/xgboost/connect-4.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 6458, "max_leaves": 196, "min_child_weight": 0.020541449256787844, "learning_rate": 0.0067240405208345, "subsample": 0.5764514509827234, "colsample_bylevel": 1.0, "colsample_bytree": 0.9478632468968712, "reg_alpha": 0.08196899811780128, "reg_lambda": 1.3914579996946315}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 6458, "max_leaves": 196, "min_child_weight": 0.020541449256787844, "learning_rate": 0.0067240405208345, "subsample": 0.5764514509827234, "colsample_bylevel": 1.0, "colsample_bytree": 0.9478632468968712, "reg_alpha": 0.08196899811780128, "reg_lambda": 1.3914579996946315}} diff --git a/test/default/xgboost/default.json b/test/default/xgboost/default.json index 5004b1432307..637d3e72d004 100644 --- a/test/default/xgboost/default.json +++ b/test/default/xgboost/default.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {}} diff --git a/test/default/xgboost/dilbert.json b/test/default/xgboost/dilbert.json index f0f8e0c68289..62a5cb61ab79 100644 --- a/test/default/xgboost/dilbert.json +++ b/test/default/xgboost/dilbert.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 5739, "max_leaves": 5, "min_child_weight": 0.1359602026207002, "learning_rate": 0.14496176867613397, "subsample": 0.864897070662231, "colsample_bylevel": 0.01, "colsample_bytree": 0.9394057513384305, "reg_alpha": 0.001103317921178771, "reg_lambda": 0.1655504349283218}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 5739, "max_leaves": 5, "min_child_weight": 0.1359602026207002, "learning_rate": 0.14496176867613397, "subsample": 0.864897070662231, "colsample_bylevel": 0.01, "colsample_bytree": 0.9394057513384305, "reg_alpha": 0.001103317921178771, "reg_lambda": 0.1655504349283218}} diff --git a/test/default/xgboost/poker.json b/test/default/xgboost/poker.json index d4e2f4e6c20d..3dc4a0706c50 100644 --- a/test/default/xgboost/poker.json +++ b/test/default/xgboost/poker.json @@ -1 +1 @@ -{"class": "xgboost", "hyperparameters": {"n_estimators": 6866, "max_leaves": 238, "min_child_weight": 0.1000665069590469, "learning_rate": 0.05522440252112267, "subsample": 0.9621433799637473, "colsample_bylevel": 0.8366787895853636, "colsample_bytree": 1.0, "reg_alpha": 0.002455941636379231, "reg_lambda": 0.02487031358204277, "FLAML_sample_size": 830258}} \ No newline at end of file +{"class": "xgboost", "hyperparameters": {"n_estimators": 6866, "max_leaves": 238, "min_child_weight": 0.1000665069590469, "learning_rate": 0.05522440252112267, "subsample": 0.9621433799637473, "colsample_bylevel": 0.8366787895853636, "colsample_bytree": 1.0, "reg_alpha": 0.002455941636379231, "reg_lambda": 0.02487031358204277, "FLAML_sample_size": 830258}} diff --git a/test/nlp/default/all/metafeatures.csv b/test/nlp/default/all/metafeatures.csv index 55c0987eaef4..4da9a1afd9e3 100644 --- a/test/nlp/default/all/metafeatures.csv +++ b/test/nlp/default/all/metafeatures.csv @@ -3,4 +3,4 @@ glue-rte-,2500 glue-mrpc-,3700 glue-cola-,8500 glue-qnli-,105000 -glue-sst2-,67000 \ No newline at end of file +glue-sst2-,67000 diff --git a/test/nlp/default/all/metafeatures_err.csv b/test/nlp/default/all/metafeatures_err.csv index 145f23efe169..ca4fac106f2d 100644 --- a/test/nlp/default/all/metafeatures_err.csv +++ b/test/nlp/default/all/metafeatures_err.csv @@ -3,4 +3,4 @@ glue-rte-,2500 glue-mrpc-,3700 glue-cola-,8500 glue-qnli-,105000 -glue-sst2-,67000 \ No newline at end of file +glue-sst2-,67000 diff --git a/test/nlp/default/transformer_ms/glue-cola-.json b/test/nlp/default/transformer_ms/glue-cola-.json index afb1fb251d6a..7f2aa693aba4 100644 --- a/test/nlp/default/transformer_ms/glue-cola-.json +++ b/test/nlp/default/transformer_ms/glue-cola-.json @@ -2,4 +2,4 @@ "hyperparameters": {"learning_rate": 1e-5, "num_train_epochs": 1.0, "per_device_train_batch_size": 8, "seed": 44, "global_max_steps": 101, "model_path": "google/electra-base-discriminator"} -} \ No newline at end of file +} diff --git a/test/nlp/default/transformer_ms/glue-mrpc-.json b/test/nlp/default/transformer_ms/glue-mrpc-.json index ea7551fc2c51..eb566ee22fe1 100644 --- a/test/nlp/default/transformer_ms/glue-mrpc-.json +++ b/test/nlp/default/transformer_ms/glue-mrpc-.json @@ -2,4 +2,4 @@ "hyperparameters": {"learning_rate": 1e-5, "num_train_epochs": 1.0, "per_device_train_batch_size": 8, "seed": 43, "global_max_steps": 100, "model_path": "google/electra-base-discriminator"} -} \ No newline at end of file +} diff --git a/test/nlp/default/transformer_ms/glue-qnli-.json b/test/nlp/default/transformer_ms/glue-qnli-.json index 63764fed0a97..5d4cc38a2e8b 100644 --- a/test/nlp/default/transformer_ms/glue-qnli-.json +++ b/test/nlp/default/transformer_ms/glue-qnli-.json @@ -2,4 +2,4 @@ "hyperparameters": {"learning_rate": 1e-5, "num_train_epochs": 1.0, "per_device_train_batch_size": 8, "seed": 41, "global_max_steps": 102, "model_path": "google/electra-base-discriminator" } -} \ No newline at end of file +} diff --git a/test/nlp/default/transformer_ms/glue-rte-.json b/test/nlp/default/transformer_ms/glue-rte-.json index 16226f3b5127..bbd86713c6d8 100644 --- a/test/nlp/default/transformer_ms/glue-rte-.json +++ b/test/nlp/default/transformer_ms/glue-rte-.json @@ -2,4 +2,4 @@ "hyperparameters": {"learning_rate": 1e-5, "num_train_epochs": 1.0, "per_device_train_batch_size": 8, "seed": 42, "global_max_steps": 103, "model_path": "google/electra-base-discriminator" } -} \ No newline at end of file +} diff --git a/test/nlp/default/transformer_ms/glue-sst2-.json b/test/nlp/default/transformer_ms/glue-sst2-.json index 72f528216c46..f612934045a6 100644 --- a/test/nlp/default/transformer_ms/glue-sst2-.json +++ b/test/nlp/default/transformer_ms/glue-sst2-.json @@ -2,4 +2,4 @@ "hyperparameters": {"learning_rate": 1e-5, "num_train_epochs": 1.0, "per_device_train_batch_size": 8, "seed": 40, "global_max_steps": 105, "model_path": "google/electra-base-discriminator"} -} \ No newline at end of file +} diff --git a/test/pipeline_tuning_example/configs/train_config.yaml b/test/pipeline_tuning_example/configs/train_config.yaml index f1618fb2e087..603c62f7907a 100644 --- a/test/pipeline_tuning_example/configs/train_config.yaml +++ b/test/pipeline_tuning_example/configs/train_config.yaml @@ -12,4 +12,4 @@ train_config: exp_name: sklearn_breast_cancer_classification test_train_ratio: 0.4 learning_rate: 0.05 - n_estimators: 50 \ No newline at end of file + n_estimators: 50 diff --git a/test/pipeline_tuning_example/data_prep/env.yaml b/test/pipeline_tuning_example/data_prep/env.yaml index e65d46187b43..5c2a6df7091a 100644 --- a/test/pipeline_tuning_example/data_prep/env.yaml +++ b/test/pipeline_tuning_example/data_prep/env.yaml @@ -12,4 +12,4 @@ dependencies: # - inference-schema[numpy-support]==1.3.0 # - xlrd==2.0.1 - mlflow==1.26.1 - - azureml-mlflow==1.42.0 \ No newline at end of file + - azureml-mlflow==1.42.0 diff --git a/test/pipeline_tuning_example/requirements.txt b/test/pipeline_tuning_example/requirements.txt index aa4866249cf8..3df0710d65bc 100644 --- a/test/pipeline_tuning_example/requirements.txt +++ b/test/pipeline_tuning_example/requirements.txt @@ -2,4 +2,4 @@ azureml-core==1.39.0 azure-ml-component[notebooks]==0.9.10.post1 azureml-dataset-runtime==1.39.0 hydra-core==1.1.1 -flaml[blendsearch,ray]==1.0.9 \ No newline at end of file +flaml[blendsearch,ray]==1.0.9 diff --git a/test/pipeline_tuning_example/train/env.yaml b/test/pipeline_tuning_example/train/env.yaml index b553b1f3cb02..cb1f58afdc84 100644 --- a/test/pipeline_tuning_example/train/env.yaml +++ b/test/pipeline_tuning_example/train/env.yaml @@ -11,4 +11,4 @@ dependencies: - pip: - lightgbm==3.3.2 - mlflow==1.26.1 - - azureml-mlflow==1.42.0 \ No newline at end of file + - azureml-mlflow==1.42.0 diff --git a/test/pipeline_tuning_example/tuner/env.yaml b/test/pipeline_tuning_example/tuner/env.yaml index fa07e388f697..b8a4f0b30957 100644 --- a/test/pipeline_tuning_example/tuner/env.yaml +++ b/test/pipeline_tuning_example/tuner/env.yaml @@ -6,4 +6,4 @@ dependencies: - azure-ml-component[notebooks]==0.9.10.post1 - azureml-dataset-runtime==1.39.0 - hydra-core==1.1.1 - - flaml[blendsearch,ray]==1.0.9 \ No newline at end of file + - flaml[blendsearch,ray]==1.0.9 diff --git a/website/docs/Examples/AutoML-Classification.md b/website/docs/Examples/AutoML-Classification.md index 4d472b081a48..010ea81b8676 100644 --- a/website/docs/Examples/AutoML-Classification.md +++ b/website/docs/Examples/AutoML-Classification.md @@ -59,4 +59,4 @@ print(automl.model.estimator) ### A more advanced example including custom learner and metric -[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/automl_classification.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/automl_classification.ipynb) \ No newline at end of file +[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/automl_classification.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/automl_classification.ipynb) diff --git a/website/docs/Examples/AutoML-NLP.md b/website/docs/Examples/AutoML-NLP.md index 7ef0f6c7a712..7af14d908901 100644 --- a/website/docs/Examples/AutoML-NLP.md +++ b/website/docs/Examples/AutoML-NLP.md @@ -373,4 +373,4 @@ For tasks that are not currently supported, use `flaml.tune` for [customized tun To run more examples, especially examples using Ray Tune, please go to: -[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/automl_nlp.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/automl_nlp.ipynb) \ No newline at end of file +[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/automl_nlp.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/automl_nlp.ipynb) diff --git a/website/docs/Examples/AutoML-Rank.md b/website/docs/Examples/AutoML-Rank.md index a145f225e350..99b04a434ede 100644 --- a/website/docs/Examples/AutoML-Rank.md +++ b/website/docs/Examples/AutoML-Rank.md @@ -93,4 +93,4 @@ automl.fit( [flaml.automl: 11-15 07:14:31] {1608} INFO - fit succeeded [flaml.automl: 11-15 07:14:31] {1610} INFO - Time taken to find the best model: 0.8846545219421387 [flaml.automl: 11-15 07:14:31] {1624} WARNING - Time taken to find the best model is 88% of the provided time budget and not all estimators' hyperparameter search converged. Consider increasing the time budget. -``` \ No newline at end of file +``` diff --git a/website/docs/Examples/AutoML-Regression.md b/website/docs/Examples/AutoML-Regression.md index 1c2032958d55..32c38086a61d 100644 --- a/website/docs/Examples/AutoML-Regression.md +++ b/website/docs/Examples/AutoML-Regression.md @@ -98,4 +98,4 @@ model.fit(X_train, y_train) print(model.predict(X_test)) ``` -It will perform AutoML for each target, each taking 60 seconds. \ No newline at end of file +It will perform AutoML for each target, each taking 60 seconds. diff --git a/website/docs/Examples/AutoML-Time series forecast.md b/website/docs/Examples/AutoML-Time series forecast.md index 526eb3f78362..ede9ecdc4063 100644 --- a/website/docs/Examples/AutoML-Time series forecast.md +++ b/website/docs/Examples/AutoML-Time series forecast.md @@ -1552,4 +1552,4 @@ Epoch 19: 100%|██████████| 145/145 [01:03<00:00, 2.28it/s, ], ``` -[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/automl_time_series_forecast.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/automl_time_series_forecast.ipynb) \ No newline at end of file +[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/automl_time_series_forecast.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/automl_time_series_forecast.ipynb) diff --git a/website/docs/Examples/AutoML-for-LightGBM.md b/website/docs/Examples/AutoML-for-LightGBM.md index 0094dd561fc7..60cebc99fc89 100644 --- a/website/docs/Examples/AutoML-for-LightGBM.md +++ b/website/docs/Examples/AutoML-for-LightGBM.md @@ -206,4 +206,4 @@ settings["estimator_list"] = ['my_lgbm'] # change the estimator list automl.fit(X_train=X_train, y_train=y_train, **settings) ``` -[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/automl_lightgbm.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/automl_lightgbm.ipynb) \ No newline at end of file +[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/automl_lightgbm.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/automl_lightgbm.ipynb) diff --git a/website/docs/Examples/AutoML-for-XGBoost.md b/website/docs/Examples/AutoML-for-XGBoost.md index 774050a53a66..ba4bbccf463e 100644 --- a/website/docs/Examples/AutoML-for-XGBoost.md +++ b/website/docs/Examples/AutoML-for-XGBoost.md @@ -231,4 +231,4 @@ settings["estimator_list"] = ['my_xgb1', 'my_xgb2'] # change the estimator list automl.fit(X_train=X_train, y_train=y_train, **settings) ``` -[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/automl_xgboost.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/automl_xgboost.ipynb) \ No newline at end of file +[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/automl_xgboost.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/automl_xgboost.ipynb) diff --git a/website/docs/Examples/Tune-HuggingFace.md b/website/docs/Examples/Tune-HuggingFace.md index 25b5e13ce2da..32214b0ec787 100644 --- a/website/docs/Examples/Tune-HuggingFace.md +++ b/website/docs/Examples/Tune-HuggingFace.md @@ -188,4 +188,4 @@ print(f"Best model parameters: {best_trial.config}") # Best model parameters: {'num_train_epochs': 15.580684188655825, 'learning_rate': 1.2851507818900338e-05, 'adam_epsilon': 8.134982521948352e-08, 'adam_beta1': 0.99, 'adam_beta2': 0.9971094424784387} ``` -[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/tune_huggingface.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/tune_huggingface.ipynb) \ No newline at end of file +[Link to notebook](https://github.com/microsoft/FLAML/blob/main/notebook/tune_huggingface.ipynb) | [Open in colab](https://colab.research.google.com/github/microsoft/FLAML/blob/main/notebook/tune_huggingface.ipynb) diff --git a/website/docs/Installation.md b/website/docs/Installation.md index a16d413d26b2..8a4d4dc27a64 100644 --- a/website/docs/Installation.md +++ b/website/docs/Installation.md @@ -113,4 +113,4 @@ You can use FLAML in .NET in the following ways: - [*Microsoft.ML.AutoML*](https://www.nuget.org/packages/Microsoft.ML.AutoML/0.20.0-preview.22313.1) - NuGet package that provides direct access to the FLAML AutoML APIs that power low-code solutions like Model Builder and the ML.NET CLI. For more information on installing NuGet packages, see the install and use a NuGet package in [Visual Studio](https://docs.microsoft.com/nuget/quickstart/install-and-use-a-package-in-visual-studio) or [dotnet CLI](https://docs.microsoft.com/nuget/quickstart/install-and-use-a-package-using-the-dotnet-cli) guides. -To get started with the ML.NET API and AutoML, see the [csharp-notebooks](https://github.com/dotnet/csharp-notebooks#machine-learning). \ No newline at end of file +To get started with the ML.NET API and AutoML, see the [csharp-notebooks](https://github.com/dotnet/csharp-notebooks#machine-learning). diff --git a/website/docs/Research.md b/website/docs/Research.md index 1f78cf7cabdc..c672c30f4842 100644 --- a/website/docs/Research.md +++ b/website/docs/Research.md @@ -90,4 +90,4 @@ booktitle={International Conference on Learning Representations}, year={2023}, url={https://openreview.net/forum?id=0Ij9_q567Ma} } -``` \ No newline at end of file +``` diff --git a/website/docs/Use-Cases/Task-Oriented-AutoML.md b/website/docs/Use-Cases/Task-Oriented-AutoML.md index c4ec5e7e799e..f665381629c1 100644 --- a/website/docs/Use-Cases/Task-Oriented-AutoML.md +++ b/website/docs/Use-Cases/Task-Oriented-AutoML.md @@ -619,4 +619,4 @@ If you want to get a sense of how much time is needed to find the best model, yo You will see that the time to finish the first and cheapest trial is 2.6 seconds. The estimated necessary time budget is 2118 seconds, and the estimated sufficient time budget is 145194 seconds. Note that this is only an estimated range to help you decide your budget. -When the time budget is set too low, it can happen that no estimator is trained at all within the budget. In this case, it is recommanded to use `max_iter` instead of `time_budget`. This ensures that you have enough time to train a model without worring about variance of the execution time for the code before starting a trainning. \ No newline at end of file +When the time budget is set too low, it can happen that no estimator is trained at all within the budget. In this case, it is recommanded to use `max_iter` instead of `time_budget`. This ensures that you have enough time to train a model without worring about variance of the execution time for the code before starting a trainning. diff --git a/website/docs/Use-Cases/Zero-Shot-AutoML.md b/website/docs/Use-Cases/Zero-Shot-AutoML.md index bbda225660d5..e4ff4d00858c 100644 --- a/website/docs/Use-Cases/Zero-Shot-AutoML.md +++ b/website/docs/Use-Cases/Zero-Shot-AutoML.md @@ -247,4 +247,4 @@ ExtraTreesClassifier = flamlize_estimator( ) ``` -Then, you can share this "flamlized" `ExtraTreesClassifier` together with the location of your learned defaults with others (or the _future_ yourself). They will benefit from your past experience. Your group can also share experiences in a central place and update the learned defaults continuously. Over time, your organization gets better collectively. \ No newline at end of file +Then, you can share this "flamlized" `ExtraTreesClassifier` together with the location of your learned defaults with others (or the _future_ yourself). They will benefit from your past experience. Your group can also share experiences in a central place and update the learned defaults continuously. Over time, your organization gets better collectively. diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index fc47c8d44f98..67d574962b43 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -131,4 +131,3 @@ module.exports = { ], ], }; - diff --git a/website/package.json b/website/package.json index 33cb440ea4c1..fe32c0f2c354 100644 --- a/website/package.json +++ b/website/package.json @@ -54,6 +54,3 @@ ] } } - - - diff --git a/website/static/img/auto.svg b/website/static/img/auto.svg index b2c9290ec2ef..aeadfc9942d2 100644 --- a/website/static/img/auto.svg +++ b/website/static/img/auto.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/website/static/img/extend.svg b/website/static/img/extend.svg index 8829d2d13362..23967f6ecc7c 100644 --- a/website/static/img/extend.svg +++ b/website/static/img/extend.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/website/static/img/fast.svg b/website/static/img/fast.svg index 8abfa7dfa030..83f709981dd1 100644 --- a/website/static/img/fast.svg +++ b/website/static/img/fast.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/website/static/img/flaml.svg b/website/static/img/flaml.svg index 5ae22b683f78..a4772e98e8e3 100644 --- a/website/static/img/flaml.svg +++ b/website/static/img/flaml.svg @@ -1 +1 @@ - \ No newline at end of file +