microsoft / FLAML

A fast library for AutoML and tuning. Join our Discord: https://discord.gg/Cppx2vSPVP.
https://microsoft.github.io/FLAML/
MIT License
3.75k stars 495 forks source link

Harmonize max_leaves and max_leaf_nodes parameter naming in FLAML #1310

Open Programmer-RD-AI opened 1 month ago

Programmer-RD-AI commented 1 month ago

Overview

This Pull Request introduces changes that address the parameter naming inconsistency between max_leaves and max_leaf_runodes highlighted in issue #1298. The modification ensures backward compatibility and aims to reduce confusion for FLAML users by aligning its parameters with the scikit-learn naming convention.

Changes Made

Motivation

The aim is to promote consistency across the user interface, preserve functionality, and ensure that existing scripts using FLAML do not encounter unexpected behavior due to parameter naming discrepancies.

Related Issue

Closes #1298

Documentation

Tests

Checks

Acknowledgements

Special thanks to the FLAML community and the contributors who discussed and provided feedback on this issue.