• José Morales's avatar
    [python-package] use 2d collections for predictions, grads and hess in... · d670a4d6
    José Morales authored
    [python-package] use 2d collections for predictions, grads and hess in multiclass custom objective (#4925)
    
    * reshape predictions, grad and hess in multiclass custom objective
    
    * add sklearn test. move custom obj to utils. docs for numpy
    
    * use num_model_per_iteration to get num_classes
    
    * update docs and dask multiclass custom objective test
    
    * move reshaping to __inner_predict. add test for feval
    
    * add missing note. remove extra line
    d670a4d6
test_sklearn.py 59.1 KB