-
Hi, Could you please look into that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @omrialo. The checks and suites in deepchecks expect the model to provide the methods of the sklearn api for models, as detailed in our Supported Models guide. The way deepchecks recognizes classification models is by checking if they have a In the case of
Alternatively, you can train your model using the lightgbm sklearn api. For example, the lightgbm.LGBMClassifier object already implements the sklearn api and will work out of the box with deepchecks. |
Beta Was this translation helpful? Give feedback.
Hi @omrialo. The checks and suites in deepchecks expect the model to provide the methods of the sklearn api for models, as detailed in our Supported Models guide. The way deepchecks recognizes classification models is by checking if they have a
predict_proba
method, which deepchecks uses to compute the predicted class probabilities for all classes. Models with only apredict
method are assumed to be regression models.In the case of
lightgbm.basic.Booster
, it has only apredict
method, that either produces the class probability of the second class for binary classification, or of all classes for multiclass. The solution for that is to write a short model wrapper object that will make sure…