Description Usage Arguments Value Author(s)
View source: R/SampleInstances.R
Returns a randomly sampled subset of instances, so that repetitions do not
occur. If the number of available instances in instance.list
is smaller
than N
, it will return a vector containing less than N
indices (it can
also return an empty vector, if all instances have already been sampled)
1 | SampleInstances(instance.list, N, sampled.instances = numeric(0))
|
instance.list |
list containing all available tuning instances. |
N |
number of instances to sample. |
sampled.instances |
vector of indices of all instances that have already been sampled. |
a vector (of size between zero and N) of instance indices
Felipe Campelo (fcampelo@ufmg.br), Athila Trindade (rochaathila@gmail.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.