Skip to content

Latest commit

 

History

History
58 lines (28 loc) · 888 Bytes

File metadata and controls

58 lines (28 loc) · 888 Bytes

Home > @josh-brown/vector > Regressor > predict

Regressor.predict() method

Uses the learned parameters to make predictions based on a set of input data.

Signature:

predict(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 Regressor.train()