Module ml

Source
Expand description

The ml module.

Modules§

activations
Submodule of ml: activation functions.
k_nearest_neighbors
K Nearest Neighbor classifier Module for K nearest neighbors (KNN) algorithms.
linear_regression
Linear regression. Module for linear regression algorithms.
logistic_regression
Logistic regression. Module for logistic regression (classification) algorithms.

Structs§

KNearestClassifier
KNN Classifier struct
LinearRegressionInput
Struct to hold the input data for a linear regression.
LinearRegressionOutput
Struct to hold the output data for a linear regression.
LogisticRegressionInput
Struct to hold the input data for a logistic regression.
LogisticRegressionOutput
Struct to hold the output data for a logistic regression.

Enums§

Decomposition
Enum for type of matrix decomposition used.
LogisticRegressionAlgorithm
Algorithm to use for logistic regression.
Metric
Metric for computing distances

Traits§

ActivationFunction
Activation functions.