Skip to content

Latest commit

 

History

History
73 lines (35 loc) · 1.21 KB

File metadata and controls

73 lines (35 loc) · 1.21 KB

Home > @josh-brown/vector > Classifier

Classifier interface

A machine learning model with a continuous numeric target

Signature:

export interface Classifier<H> 

Methods

Method

Description

getHyperParameters()

Return the full set of hyperparameters used to train the model, including defaults.

predict(data, pThreshold)

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

predictProbabilities(data)

Uses the learned parameters to make predictions for the probability of an event based on a set of input data.

train(data, target)

Learns the optimal set of parameters for the model.