philsupertramp/game-math
|
#include <Predictor.h>
Public Member Functions | |
virtual void | fit (const Matrix< double > &X, const Matrix< double > &y)=0 |
virtual Matrix< double > | predict (const Matrix< double > &)=0 |
virtual Matrix< double > | transform (const Matrix< double > &)=0 |
Implements training algorithm
X | array-like with the shape: [n_samples, n_features] |
y | array-like with shape: [n_samples, 1] |
Implemented in AdalineGD, AdalineSGD, DecisionTree, PCA, KNN, LogRegSGD, NCC, Perceptron, OneHotEncoder, StandardScaler, and MinMaxScaler.
Makes prediction for given input
Implemented in Transformer, AdalineGD, AdalineSGD, DecisionTree, KNN, LogRegSGD, NCC, and Perceptron.
Implemented in Classifier, DecisionTree, PCA, OneHotEncoder, StandardScaler, and MinMaxScaler.