datatable.models.LinearModel.predict()¶
Predict for the input samples.
Parameters¶
X
Frame
A frame to make predictions for. It should have the same number of columns as the training frame.
return
Frame
A new frame of shape (X.nrows, nlabels)
with the predicted probabilities
for each row of frame X
and each of nlabels
labels
the model was trained for.
See also¶
The content on this page is licensed under the Creative Commons Attribution 4.0 License
(CC BY 4.0) ,
and code samples are licensed under the MIT License.