Description Usage Arguments Details
Add learning curves (instructions to train on different proportions of each training set) to a pipelearner object.
1 | learn_curves(pl, ...)
|
pl |
pipelearner object. See |
... |
Non-zero proportions of training data to learn on. Will default to 1 if no values are provided. |
Will expect a pipelearner object, but will also accept a data frame for the
parameter pl
. In the case that a data frame is used, it will first
coerce it to a pipelearner object via pipelearner
.
These proportions are applied to cross-validation training sets using
p_from_resample
, meaning they will always slice the proportion
starting the beginning. For example, a proportion of .5 will take the first
50% of rows from the training data (rounded to the nearest whole number).
There is no point taking random subsamples of size p from the training data
because it would require us to save these subsamples (taking up more space)
despite the fact that the training data is already a random sample (see
learn_cvpairs
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.