Description Usage Arguments Details Value Author(s) Examples
This function selects the new final model based on the previously computed final scores.
1 2 | ## S3 method for class 'regRSM'
validate(object, yval, xval)
|
object |
Fitted 'regRSM' model object. |
yval |
Quantitative response vector from validation set. |
xval |
Input matrix from validation set. |
To use the function, the argument store_data in the 'regRSM' object must be TRUE. The function uses final scores from 'regRSM' object to create a ranking of variables. Then the final model which minimizes the prediction error on specified validation set is chosen. Object of class 'regRSM' is returned. The final scores in the original 'regRSM' object and in the new one coincide. However the final models can be different.
Object of class 'regRSM' is returned.
Pawel Teisseyre, Robert A. Klopotek.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.