Description Usage Arguments Value Examples
Tests the AMR-ELM model.
1 2 | ## S3 method for class 'amrElm'
predict(model, newdata)
|
model |
the model created by amrElm-train, which contains: Z: hidden layer weights H: hidden layer output weights: output layer weights affinity: the affinity used to generate the model (e.g.: cosine affinity) dataTrain: training data for generating affinity matrix. TODO: try to remove X from the parameter list, replacing it by the affinity matrix computed for the training patterns |
newdata |
the test data, numerical - numerical with zero mean and unit variance and patterns in the lines, attributes in the columns |
outupt for the test patterns
1 | ## Not run: testOutput <- predict(model, newdata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.