ugtm.ugtm_predictions

GTC (GTM classification) and GTR (GTM regression)

Functions

GTC(train, labels, test[, k, m, s, regul, ...])

Run GTC (GTM classification): Bayes or nearest node algorithm.

GTR(train, labels, test[, k, m, s, regul, ...])

Run GTR (GTM nearest node(s) regression).

advancedGTC(train, labels, test[, ...])

Run GTC (GTM classification): advanced Bayes

advancedPredictBayes(optimizedModel, labels, ...)

Bayesian GTM classifier: complete model

predictBayes(optimizedModel, labels, new_data)

Bayesian GTM classifier (GTC Bayes).

predictNN(optimizedModel, labels, new_data)

GTM nearest node(s) classification or regression.

predictNNSimple(train, test, labels[, ...])

Nearest neighbor(s) classification or regression.

printClassPredictions(prediction, output)

Print output of advancedPredictBayes().