Home > @josh-brown/vector > Classifier > predictProbabilities
Uses the learned parameters to make predictions for the probability of an event based on a set of input data.
Signature:
predictProbabilities(data: Matrix): Vector;|
Parameter |
Type |
Description |
|---|---|---|
|
data |
A Vector whose rows are the observations in the test set |
Returns:
Must be called after Classifier.train()