Call fit and predict in sequence.
1 | fit_predict(obj, features, target, sample_weight = NULL, group = NULL)
|
obj |
A |
target |
List of class labels for prediction |
group |
Group labels for the samples used when performing cross-validation. This parameter should only be used in conjunction with sklearn's Group cross-validation functions, such as sklearn.model_selection.GroupKFold |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.