Description Usage Arguments Details Value Author(s) See Also
Prediction of data using a model built with gensemble
1 2 |
object |
An instance of |
X |
The input predictors. |
type |
For classification, either probabilities or the class name can be returned. |
method |
For classification, if |
return.all |
For regression, if |
... |
Present for compatibility. You could put stuff here but it won't be used. |
Please see gensemble
for examples.
The return value will vary depending on classification or regression, and if return.all
was FALSE
(default) or TRUE
.
For classification, the return value will be a matrix of probabilities where each row corresponds to the input X
and the columns are the classes and the probabilites aggregated from the underlying models.
For regression, the return value will be a vector of the predictor values. If return.all
is TRUE
, the return value will be a list. The first item is the vector of predicted values, and the second is a matrix where each row corresponds to the input X
and each column is the predicted value generated from each model. For example an input X with 150 rows, using a gensemble with 100 underlying models would return a 150 row x 100 column matrix.
Peter Werner and Eugene Dubossarsky gensemble.r@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.