• Enumerations

Enumeration for matrix and vector operations

This section describes the enumerations that are used in various matrix and vector methods.

ENUM_VECTOR_NORM

Enumeration of vector norms for vector::Norm.

ID

Description

VECTOR_NORM_INF

Inf norm

VECTOR_NORM_MINUS_INF

Minus Inf norm

VECTOR_NORM_P

Norm P

ENUM_MATRIX_NORM

Enumeration of matrix norms for matrix::Norm and for obtaining the matrix::Cond matrix condition number.

ID

Description

MATRIX_NORM_FROBENIUS

Frobenius norm

MATRIX_NORM_SPECTRAL

Spectral norm

MATRIX_NORM_NUCLEAR

Nuclear norm

MATRIX_NORM_INF

Inf norm

MATRIX_NORM_P1

P1 norm

MATRIX_NORM_P2

P2 norm

MATRIX_NORM_MINUS_INF

Minus Inf norm

MATRIX_NORM_MINUS_P1

Minus P1 norm

MATRIX_NORM_MINUS_P2

Minus P2 norm

ENUM_VECTOR_CONVOLVE

Enumeration for convolution vector::Convolve and cross-correlation vector::Correlate.

ID

Description

VECTOR_CONVOLVE_FULL

Convolve full

VECTOR_CONVOLVE_SAME

Convolve same

VECTOR_CONVOLVE_VALID

Convolve valid

ENUM_REGRESSION_METRIC

Enumeration of regression metrics for vector::RegressionMetric.

ID

Description

REGRESSION_MAE

Mean Absolute Error

REGRESSION_MSE

Root mean square error

REGRESSION_RMSE

Root Mean Square Error

REGRESSION_R2

R-Squared

REGRESSION_MAPE

Mean Absolute Percentage Error

REGRESSION_MSPE

Mean Square Percentage Error

REGRESSION_RMSLE

Root Mean Square Logarithmic Error

ENUM_LOSS_FUNCTION

Enumeration for loss function calculations vector::Loss.

ID

Description

LOSS_MSE

Root mean square error

LOSS_MAE

Mean Absolute Error

LOSS_CCE

Categorical Crossentropy

LOSS_BCE

Binary Crossentropy

LOSS_MAPE

Mean Absolute Percentage Error

LOSS_MSLE

Mean Squared Logarithmic Error

LOSS_KLD

Kullback-Leibler Divergence

LOSS_COSINE

Cosine similarity/proximity

LOSS_POISSON

Poisson

LOSS_HINGE

Hinge

LOSS_SQ_HINGE

Squared Hinge

LOSS_CAT_HINGE

Categorical Hinge

LOSS_LOG_COSH

Logarithm of the Hyperbolic Cosine

LOSS_HUBER

Huber

ENUM_ACTIVATION_FUNCTION

Enumeration for the activation function vector::Activation and for the activation function derivative vector::Derivative.

ID

Description

AF_ELU

Exponential Linear Unit

AF_EXP

Exponential

AF_GELU

Gaussian Error Linear Unit

AF_HARD_SIGMOID

Hard Sigmoid

AF_LINEAR

Linear

AF_LRELU

Leaky Rectified Linear Unit

AF_RELU

REctified Linear Unit

AF_SELU

Scaled Exponential Linear Unit

AF_SIGMOID

Sigmoid

AF_SOFTMAX

Softmax

AF_SOFTPLUS

Softplus

AF_SOFTSIGN

Softsign

AF_SWISH

Swish

AF_TANH

The hyperbolic tangent function

AF_TRELU

Thresholded Rectified Linear Unit

ENUM_SORT_MODE

Enumeration of sort types for the Sort function.

ID

Description

SORT_MODE_ASCENDING

Sort ascending

SORT_MODE_DESCENDING

Sort descending