pac.partition | R Documentation |
A method of partitioning data between training and testing sets based on the fraction of data used for training
pac.partition(x, y, l, train_size = 0.7, rand_state = sample(1:2^15, 1))
x, y |
Numeric data |
l |
Numeric labels data |
train_size |
Fraction of total data that the SVM will train on |
rand_state |
Value of the random state used to set the seed |
Two data frames and a list of indicies for the training set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.