The required probability is specified in the sample probability parameter. probability: If the sample parameter is set to 'probability' the sample is created of probability basis.The required ratio of examples is specified in the sample ratio parameter. relative: If the sample parameter is set to 'relative' the sample is created as a fraction of the total number of examples in the input ExampleSet.The required number of examples is specified in the sample size parameter. absolute: If the sample parameter is set to 'absolute' the sample is created of an exactly specified number of examples.sampleThis parameter determines how the amount of data is specified.This is usually used to reuse the same ExampleSet in further operators or to view the ExampleSet in the Results Workspace. It is output of the Retrieve operator in the attached Example Process.Ī randomized sample of the input ExampleSet is output of this port.ĮxampleSet that was given as input is passed without changing to the output through this port. The class distribution of the sample can be controlled by the balance data parameter. The number of examples in the sample can be specified on absolute, relative or probability basis depending on the setting of the sample parameter. Moreover, the samples are generated randomly. But the Sample operator focuses on the number of examples and class distribution in the resultant sample. The difference is this that the Filter Examples operator filters examples on the basis of specified conditions. This operator is similar to the Filter Examples operator in principle that it takes an ExampleSet as input and delivers a subset of the ExampleSet as output. The size of a sample can be specified on absolute, relative and probability basis. SynopsisThis operator creates a sample from an ExampleSet by selecting examples randomly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |