Synopsis
Creates a sample from an example set by drawing a fraction.
Description
Simple sampling operator. This operator performs a random sampling of a given fraction. For example, if the input example set contains 5000 examples and the sample ratio is set to 0.1, the result will have approximately 500 examples.
Input
- example set input: expects: ExampleSetMetaData: #examples: = 0; #attributes: 0
Output
- example set output:
- original:
Parameters
- sample: Determines how the amount of data is specified.
- balance data: If you need to sample differently for examples of a certain class, you might check this.
- sample size: The number of examples which should be sampled
- sample ratio: The fraction of examples which should be sampled
- sample probability: The sample probability for each example.
- sample size per class: The absolut sample size per class.
- sample ratio per class: The fraction per class.
- sample probability per class: The fraction per class.
- use local random seed: Indicates if a local random seed should be used.
- local random seed: Specifies the local random seed