"vscode:/vscode.git/clone" did not exist on "cf93bfa1a13c117d057ac59a7f5c54149a494101"
  • Cass's avatar
    [CLI][python-package][docs] Add n_estimators as num_iteration alias (#1079) · 8fd71c01
    Cass authored
    * Add n_estimators as num_iteration alias
    
    Scikit-Learn's ensemble methods use the term `n_estimators` for the number of
    iterations of training models. To make it more accessible for newcomers who are
    familiar with Scikit-Learn, it would help if the Parameters page mentioned
    `n_estimators` and what parameter that maps to within LightGBM's API.
    
    Addresses discussion brought up in #954
    
    * Add n_estimators as num_iterations alias
    
    Adds n_estimators as an alias for num_iterations in the CLI as well as Python
    libs. Additionally bumps the default for n_estimators in the Sklearn API to 100
    estimators.
    8fd71c01
sklearn.py 34.2 KB