Description Usage Arguments Value
Test how changing a model sample size affect model performance. Function requires separate training and test data. Currently only parallel processing using doParalell is supported, will add a non parallel version soon
1 | SampleSizeTest(train, trainingY, testY, testX, sizes, NoCores)
|
train |
A dataframe/matrix containing a dependent variable and set of independent (predictor) variable used for model training |
trainingY |
Name of the dependent variable |
testY |
A vector of dependent variable to be used for model validation (testing) |
testX |
A data frame of predictor variables used for testing, row numbers MUST corespond to the values in testY |
sizes |
A vector of samples sizes to be tested |
NoCores |
Number of Cores to used to parallel processing |
A dataframe of model performance statistics for each sample size test. Metrics returned include coefficient of determination (Rsq), root mean squared error (RMSE), mean error (ME), mean absolute error (MAE).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.