createSampleSettings | R Documentation |
splitData
are sampled using
default sample functions.Create the settings for defining how the trainData from splitData
are sampled using
default sample functions.
createSampleSettings(
type = "none",
numberOutcomestoNonOutcomes = 1,
sampleSeed = sample(10000, 1)
)
type |
(character) Choice of:
|
numberOutcomestoNonOutcomes |
(numeric) An numeric specifying the require number of non-outcomes per outcome |
sampleSeed |
(numeric) A seed to use when splitting the data for reproducibility (if not set a random number will be generated) |
Returns an object of class sampleSettings
that specifies the sampling function that will be called and the settings
An object of class sampleSettings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.