Skip to content

Enumerations

Enumeration for matrix and vector operations

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

ENUM_AVERAGE_MODE

Smoothing type enumeration.

IDDescription
AVERAGE_NONENo averaging. Results are provided for each label separately
AVERAGE_BINARYLabel 1 result for binary classification
AVERAGE_MICROAverage error matrix result (confusion matrix)
AVERAGE_MACROAverage result from the results of the error matrices of each label
AVERAGE_WEIGHTEDWeighted average result

ENUM_VECTOR_NORM

Enumeration of vector norms for vector::Norm.

IDDescription
VECTOR_NORM_INFInf norm
VECTOR_NORM_MINUS_INFMinus Inf norm
VECTOR_NORM_PNorm P

ENUM_MATRIX_NORM

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

IDDescription
MATRIX_NORM_FROBENIUSFrobenius norm
MATRIX_NORM_SPECTRALSpectral norm
MATRIX_NORM_NUCLEARNuclear norm
MATRIX_NORM_INFInf norm
MATRIX_NORM_P1P1 norm
MATRIX_NORM_P2P2 norm
MATRIX_NORM_MINUS_INFMinus Inf norm
MATRIX_NORM_MINUS_P1Minus P1 norm
MATRIX_NORM_MINUS_P2Minus P2 norm

ENUM_VECTOR_CONVOLVE

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

IDDescription
VECTOR_CONVOLVE_FULLConvolve full
VECTOR_CONVOLVE_SAMEConvolve same
VECTOR_CONVOLVE_VALIDConvolve valid

ENUM_REGRESSION_METRIC

Enumeration of regression metrics for vector::RegressionMetric.

IDDescription
REGRESSION_MAEMean Absolute Error
REGRESSION_MSEMean Squared Error
REGRESSION_RMSERoot Mean Squared Error
REGRESSION_R2R-Squared
REGRESSION_MAPEMean Absolute Percentage Error
REGRESSION_MSPEMean Squared Percentage Error
REGRESSION_RMSLERoot Mean Squared Logarithmic Error
REGRESSION_SMAPESymmetric Mean Absolute Percentage Error
REGRESSION_MAXEMaximal Absolute Error
REGRESSION_MEDEMedian Absolute Error
REGRESSION_MPDMean Poisson Deviance
REGRESSION_MGDMean Gamma Deviance
REGRESSION_EXPVExplained Variance

ENUM_CLASSIFICATION_METRIC

Enumeration of metrics for classification problems.

IDDescription
CLASSIFICATION_ACCURACYModel quality in terms of prediction accuracy for all classes
CLASSIFICATION_AVERAGE_PRECISIONAverage model accuracy
CLASSIFICATION_BALANCED_ACCURACYBalanced prediction accuracy
CLASSIFICATION_F1F1 score. Harmonic mean between the model precision and recall
CLASSIFICATION_JACCARDJaccard score
CLASSIFICATION_PRECISIONModel accuracy in predicting true positives for the target class
CLASSIFICATION_RECALLModel completeness
CLASSIFICATION_ROC_AUCArea under the error curve
CLASSIFICATION_TOP_K_ACCURACYFrequency of the correct label appearing at the top of k predicted labels

ENUM_LOSS_FUNCTION

Enumeration for loss function calculations vector::Loss.

IDDescription
LOSS_MSERoot mean square error
LOSS_MAEMean Absolute Error
LOSS_CCECategorical Crossentropy
LOSS_BCEBinary Crossentropy
LOSS_MAPEMean Absolute Percentage Error
LOSS_MSLEMean Squared Logarithmic Error
LOSS_KLDKullback-Leibler Divergence
LOSS_COSINECosine similarity/proximity
LOSS_POISSONPoisson
LOSS_HINGEHinge
LOSS_SQ_HINGESquared Hinge
LOSS_CAT_HINGECategorical Hinge
LOSS_LOG_COSHLogarithm of the Hyperbolic Cosine
LOSS_HUBERHuber

ENUM_ACTIVATION_FUNCTION

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

IDDescription
AF_ELUExponential Linear Unit
AF_EXPExponential
AF_GELUGaussian Error Linear Unit
AF_HARD_SIGMOIDHard Sigmoid
AF_LINEARLinear
AF_LRELULeaky Rectified Linear Unit
AF_RELUREctified Linear Unit
AF_SELUScaled Exponential Linear Unit
AF_SIGMOIDSigmoid
AF_SOFTMAXSoftmax
AF_SOFTPLUSSoftplus
AF_SOFTSIGNSoftsign
AF_SWISHSwish
AF_TANHThe hyperbolic tangent function
AF_TRELUThresholded Rectified Linear Unit

ENUM_SORT_MODE

Enumeration of sort types for the Sort function.

IDDescription
SORT_ASCENDINGSort ascending
SORT_DESCENDINGSort descending

ENUM_MATRIX_AXIS

Enumeration for specifying the axis in all statistical functions for matrices.

IDDescription
AXIS_NONEThe axis is not specified. Calculation is performed over all matrix elements, as if it were a vector (see the Flat method).
AXIS_HORZHorizontal axis
AXIS_VERTVertical axis
Last updated on