diff --git a/.coveragerc b/.coveragerc index 1d8d57370..91c9b36bc 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 46517c859..b01c3bbbe 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 f35990a3d..73f6455d1 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 a165f2655..231ec46e6 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 e28ca4067..e87598aa1 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 f1098eb4d..076613ecf 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 1f9d3d442..a050f362c 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 2ebfd9dbc..5d16ec950 100644 --- a/flaml/automl/automl.py +++ b/flaml/automl/automl.py @@ -346,7 +346,10 @@ class AutoMLState: @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 579de4d45..1896948b6 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 cc4ad4c8a..4704000d0 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 febd7d64b..2cf6c748d 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 0f41e93a2..6a7769951 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 85050e977..a2fe73ef1 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 4b767f057..8646a0528 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 5c720c179..ad11d4a41 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 114450094..077c8ed45 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 fa0b8fa5a..5eb163938 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 2956892e0..ad351db77 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 0159231ec..5a3ce8718 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 a60af8840..b9ee8e6a1 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 13cc634ac..264f33384 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 45295ffba..8bb8e545e 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 8d5482577..cf078d4b1 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 3468f8caa..9ad98d4ee 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 d7d287014..38c107cfb 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 3f63e5c05..e34bfe1d9 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 e14af28d0..40b034364 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 331dc1836..56a13caa2 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 751da0646..25573c499 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 541db7503..63249c611 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 7d497f0e0..79aa28f7f 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 41a1743e9..860d7e00d 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 018f4bd62..c5307f5de 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 3a041b265..1826b6cb3 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 4522b4992..0d6b25801 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 38145c38c..30b5a5b37 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 6eb8ced29..9b7e89567 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 06904813d..fb53741ca 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 5d2e67ff9..3eb25232a 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 88dfc8650..1c9ff0e1b 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 e7f4d89ff..8ae34e568 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 5d7f1ee48..777ce3935 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 3d65810fc..d6198384a 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 f36a73098..2d8d46263 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 15ec9a038..6edb0fe6a 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 1d8107696..784d9ab77 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 39d070454..d533cf95d 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 b6531056b..5cfda2578 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 c3a0d0240..f5acceed8 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 e4f48fdc0..9c73d7832 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 d46d25115..4938d0e49 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 93a463cd7..278d7e188 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 bd06c8138..c00ae6bda 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 76a6ef5fa..fb666971a 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 46891b958..deb930db8 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 c38415277..35dbb341f 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 0ae89789b..3bf47c86d 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 d87f6a21a..a299cbc29 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 74ee8c516..928431a7c 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 7983e1e03..be83bc1c1 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 2159b581b..e26e4edca 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 daba27981..ec912200b 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 5fa43ab96..f794e0029 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 fd537b20e..612053b93 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 99d6eb824..d633ab2c3 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 f045a9984..ea8bf1965 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 527a662a7..d2c400d92 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 2c822d77f..ac6caae8c 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 ab6fd2d4a..da989b55a 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 98fd90de0..db5c3b026 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 037f27445..2a79a85f7 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 4c7798552..c7efaaa91 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 ad1e7d9b7..98cf60e2a 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 328f82a5e..a0f79ea30 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 3495e1ad4..52db9b338 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 af7a7becc..65be45683 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 bdcf5a28b..faf2a0edf 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 31a35648d..80302ace1 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 200ca8faa..5771e16e3 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 85b183afc..72ad6f04b 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 451bef127..81e564b37 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 8d4ec1661..37ff712cd 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 cbcbe4d4d..4485b079a 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 2b6439350..9416ac3a9 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 d4b4d1def..a0f237bef 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 9a723d6c7..0bceab5dd 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 f09afbee5..66f071471 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 8a042e245..c77a06932 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 598aadd04..02d21875f 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 5004b1432..637d3e72d 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 f0f8e0c68..62a5cb61a 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 d4e2f4e6c..3dc4a0706 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 55c0987ea..4da9a1afd 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 145f23efe..ca4fac106 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 afb1fb251..7f2aa693a 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 ea7551fc2..eb566ee22 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 63764fed0..5d4cc38a2 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 16226f3b5..bbd86713c 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 72f528216..f61293404 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 f1618fb2e..603c62f79 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 e65d46187..5c2a6df70 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 aa4866249..3df0710d6 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 b553b1f3c..cb1f58afd 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 fa07e388f..b8a4f0b30 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 4d472b081..010ea81b8 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 7ef0f6c7a..7af14d908 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 a145f225e..99b04a434 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 1c2032958..32c38086a 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 526eb3f78..ede9ecdc4 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 0094dd561..60cebc99f 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 774050a53..ba4bbccf4 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 25b5e13ce..32214b0ec 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 a16d413d2..8a4d4dc27 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 1f78cf7ca..c672c30f4 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 c4ec5e7e7..f66538162 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 bbda22566..e4ff4d008 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 fc47c8d44..67d574962 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 33cb440ea..fe32c0f2c 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 b2c9290ec..aeadfc994 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 8829d2d13..23967f6ec 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 8abfa7dfa..83f709981 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 5ae22b683..a4772e98e 100644 --- a/website/static/img/flaml.svg +++ b/website/static/img/flaml.svg @@ -1 +1 @@ - \ No newline at end of file +