Hi,
after recently updating my RapidMiner (branch Zaniah), the AttributeSubsetPreprocessing
operator somehow fails.
This is my model:
<operator name="Root" class="Process" expanded="yes">
<operator name="CSVExampleSource" class="CSVExampleSource">
<parameter key="filename" value="examples.csv"/>
<parameter key="label_name" value="result"/>
</operator>
<operator name="AttributeSubsetPreprocessing" class="AttributeSubsetPreprocessing" expanded="yes">
<parameter key="attribute_name_regex" value="result"/>
<parameter key="condition_class" value="attribute_name_filter"/>
<parameter key="process_special_attributes" value="true"/>
<operator name="UserBasedDiscretization" class="UserBasedDiscretization">
<list key="classes">
<parameter key="no" value="1000000.0"/>
<parameter key="yes" value="99.0"/>
</list>
</operator>
</operator>
<operator name="RandomForest" class="RandomForest">
</operator>
</operator>
The dataset consists of numerical and nominal features, while the labels
are percent value. In order to use them for classification, I preprocess
my data by replacing all labels (named result) >= 99.0 with "yes", while setting the
other labels to "no". This worked fine with RapidMiner 4.2. With the
recent version I get the error message:
AttributeTypeException Process failed Message: Cannot map index of nominal attribute to nominal value: index -1 is out of bounds!
|
Any ideas what is wrong?
Regards,
Paul