This unit implements tools that are useful for building Riemannian and Euclidean machine learning classifiers.
function | description |
---|---|
tsMap |
project data on a tangent space to apply Euclidean ML models therein |
tsWeights |
generator of weights for tagent space mapping |
gen2ClassData |
generate 2-class positive definite matrix data for testing Riemannian ML models |
confusionMat |
Confusion matrix given true and predicted labels |
predictAcc |
prediction accuracy given true and predicted labels or a confusion matrix |
predictErr |
prediction error given true and predicted labels or a confusion matrix |
rescale! |
Rescale the rows of a real matrix to be in range [a, b] |
tsMap
tsWeights
gen2ClassData
confusionMat
predictAcc
predictErr
rescale!