Description Usage Arguments Details Value Examples
wrapper
creates and trains an object of class ELM for given X and Y.
1 2 3 |
x |
The input data values in a matrix or vector |
y |
The output data values in a matrix or vector |
x_val |
The input data values in a matrix or vector for performing a simple validation procedure |
y_val |
The output data values in a matrix or vector for performing a simple validation procedure |
nType |
The types of activation functions used in a vector |
nNeurons |
A vector containing the number of hidden neurons per type of activation function |
W |
A list of suitable matrix with the input weight vectors or centroids (rbf) per type of activation function |
B |
A list of suitable vector with the input biases or sigmas (rbf) per type of activation function |
structureSelection |
A numeric vector with the number of hidden neurons added. |
... |
Optional additional parameters. None are used at present. |
This function is a wrapper for summarizing several actions requiered when creating and adjusting an ELM model. The particular steps are listed below.
Creates the SLFN object by calling new()
.
Adds the different hidden neurons by making sequential calls to addNeurons()
,
one call per each type of activation function defined.
Trains the SLFN and obtaines the output weigth vector by calling train()
.
An object of class "SLFN"
with the model developed
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.