Synopsis
Replaces infinite values in examples.
Description
Replaces positive and negative infinite values in examples by one of the functions "none", "zero", "max_byte", "max_int", "max_double", and "missing". "none" means, that the value is not replaced. The max_xxx functions replace plus infinity by the upper bound and minus infinity by the lower bound of the range of the Java type xxx. "missing" means, that the value is replaced by nan (not a number), which is internally used to represent missing values. A MissingValueReplenishment operator can be used to replace missing values by average (or the mode for nominal attributes), maximum, minimum etc. afterwards.
For each attribute, the function can be selected using the parameter list columns
. If an attribute's name appears in this list as a key, the value is used as the function name. If the attribute's name is not in the list, the function specified by the default
parameter is used.
Input
- example set input: expects: ExampleSetMetaData: #examples: = 0; #attributes: 0
, Example set matching at least one selected attribute.
Output
- example set output:
- original:
- preprocessing model:
Parameters
- return preprocessing model: Indicates if the preprocessing model should also be returned
- create view: Create View to apply preprocessing instead of changing the data
- attribute filter type: The condition specifies which attributes are selected or affected by this operator.
- attribute: The attribute which should be chosen.
- attributes: The attribute which should be chosen.
- regular expression: A regular expression for the names of the attributes which should be kept.
- use except expression: If enabled, an exception to the specified regular expression might be specified. Attributes of matching this will be filtered out, although matching the first expression.
- except regular expression: A regular expression for the names of the attributes which should be filtered out although matching the above regular expression.
- value type: The value type of the attributes.
- use value type exception: If enabled, an exception to the specified value type might be specified. Attributes of this type will be filtered out, although matching the first specified type.
- except value type: Except this value type.
- block type: The block type of the attributes.
- use block type exception: If enabled, an exception to the specified block type might be specified.
- except block type: Except this block type.
- numeric condition: Parameter string for the condition, e.g. '>= 5'
- invert selection: Indicates if only attributes should be accepted which would normally filtered.
- include special attributes: Indicate if this operator should also be applied on the special attributes. Otherwise they are always kept.
- default: Function to apply to all columns that are not explicitly specified by parameter 'columns'.
- columns: List of replacement functions for each column.
- replenish what: Decides if positive or negative infite values will be replaced.
- replenishment value: This value will be inserted instead of infinity.