Skip to content

Latest commit

 

History

History
58 lines (28 loc) · 978 Bytes

File metadata and controls

58 lines (28 loc) · 978 Bytes

Home > @josh-brown/vector > Classifier > predictProbabilities

Classifier.predictProbabilities() method

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;

Parameters

Parameter

Type

Description

data

Matrix

A Vector whose rows are the observations in the test set

Returns:

Vector

Remarks

Must be called after Classifier.train()