Skip to main content

Remove Unused Values

Synopsis

This operator will remove each nominal value that is not assigned to any example.

Description

This operator will remove each nominal value that is not assigned to any example. For reproducing this step during application time, you can apply the returned preprocessing model. If unknown nominal values will occur during application time, they will be set to missing. Please keep that in mind.

Additionally you can select if the kept nominal values should be sorted alphabetically. This can be used for plotting purpose.

Input

example set

This is an example set input port

Output

example set

This is an example set output port

original

The input without any modifications.

preprocessing model

Parameters

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.

sort alphabetically

If checked, the resulting mapping will be sorted alphabetically.