• aaiyer's avatar
    [python] Allow python sklearn interface's fit() to pass init_model to train() (#2447) · f3afe98b
    aaiyer authored
    * allow python sklearn interface's fit() to pass init_model to train()
    
    * Fix whitespace issues, and change ordering of parameters to be backward
    compatible
    
    * Formatting fixes
    
    * allow python sklearn interface's fit() to pass init_model to train()
    
    * Fix whitespace issues, and change ordering of parameters to be backward
    compatible
    
    * Formatting fixes
    
    * Recognize LGBModel objects for init_model
    
    * simplified condition
    
    * updated docstring
    
    * added test
    f3afe98b
test_sklearn.py 42.2 KB