Learn R Programming

gmum.r (version 0.2.1)

predict.gng: predict

Description

Retrieves prediction from trained GNG model

Usage

"predict"(object, x, ...)

Arguments

object
Trained model
x
Vector or matrix of examples
...
other arguments not used by this method

Details

Predict

Examples

Run this code
gng <- GNG(gng.preset.sphere(100))
predict(gng, c(1,2,2))

Run the code above in your browser using DataLab