Download Radoop Documentation - RapidMiner Documentation

Transcript
Radoop Documentation, Release 2.1
Description
This operator selects the first N rows of the input table. The other examples will be removed from the input example
set.
Input:
• example set input:
– expects: HadoopExampleSet
Output:
• example set output
• original
Parameters:
• row limit: Row limit
– Default value: 1000
13.19.2 Filter Examples
Synopsis
This operator only allows examples to pass if they fulfill a specified condition.
Description
This operator takes a data set as input and returns a data set including only the rows that fulfill a condition. For
attribute_value_condition the parameter string can be any condition that you would write in SQL after a WHERE
statement. For a HiveQL function reference you can check the Hive Expression Editor of the Generate Attributes
operator.
Various predefined conditions are available for filtering examples. Users can select any of them by setting the condition class parameter. Examples satisfying the selected condition are passed to the output port, others are removed.
Following conditions are available:
• all: if this option is selected, no examples are removed.
• correct_predictions: if this option is selected, only those examples make it to the output port that have correct
predictions i.e. the value of the label attribute and prediction attribute are the same.
• wrong_predictions: if this option is selected, only those examples make to the output port that have wrong
predictions i.e. the value of the label attribute and prediction attribute are not the same.
• no_missing_attributes: if this option is selected, only those examples make it to the output port that have
no missing values in any of their attribute values. Missing values or null values are usually shown by ‘?’ in
RapidMiner.
• missing_attributes: if this option is selected, only those examples make it to the output port that have some
missing values in their attribute values.
• no_missing_labels: if this option is selected, only those examples make it to the output port that do not have a
missing value in their label attribute value. Missing values or null values are usually shown by ‘?’ in RapidMiner.
• missing_label: if this option is selected, only those examples make to the output port that have missing value in
their label attribute value.
13.19. Transformation - Filtering
101