This release adds support for python 3.11 and optuna 3. There are also some other fixes and improvements.
Welcome Programmer-RD-AI, leafy-lee, Atry and chocolatevanille to the community! Thank you Borda, Programmer-RD-AI, leafy-lee, Atry, chocolatevanille and all the other contributors for the PRs, reviewing and testing.
What's Changed
* precommit: introduce `mdformat` by Borda in https://github.com/microsoft/FLAML/pull/1276
* Fix typos, upgrade yarn packages, add some improvements by thinkall in https://github.com/microsoft/FLAML/pull/1290
* Fix typo in ts_model.py: change train_df.y to train_df[target_col] by Programmer-RD-AI in https://github.com/microsoft/FLAML/pull/1312
* Upgrade Optuna to 3.6.1 by thinkall in https://github.com/microsoft/FLAML/pull/1321
* Handle Deprecation Args for Optuna Update by leafy-lee in https://github.com/microsoft/FLAML/pull/1324
* Add example of how to get best config and convert it to parameters by thinkall in https://github.com/microsoft/FLAML/pull/1323
* Add support to python 3.11 by thinkall in https://github.com/microsoft/FLAML/pull/1326
* Fix test mac os python 3.11 by thinkall in https://github.com/microsoft/FLAML/pull/1328
* Don't pass `callbacks=None` to `XGBoostSklearnEstimator._fit` by Atry in https://github.com/microsoft/FLAML/pull/1322
* Keep searching hyperparameters when `r2_score` raises an error by Atry in https://github.com/microsoft/FLAML/pull/1325
* Doc and comment typos improvements by chocolatevanille in https://github.com/microsoft/FLAML/pull/1319
* Bump version to 2.2.0 by thinkall in https://github.com/microsoft/FLAML/pull/1329
New Contributors
* Programmer-RD-AI made their first contribution in https://github.com/microsoft/FLAML/pull/1312
* leafy-lee made their first contribution in https://github.com/microsoft/FLAML/pull/1324
* Atry made their first contribution in https://github.com/microsoft/FLAML/pull/1322
* chocolatevanille made their first contribution in https://github.com/microsoft/FLAML/pull/1319
**Full Changelog**: https://github.com/microsoft/FLAML/compare/v2.1.2...v2.2.0