"The error:When i carry out the FeatureSelection"
Contributor I
When I carry out the FeatureSelection, there come out a error.
Error:Operator has 0 children, should be between 1 and infinity
I don't know what's this error, how to solve?
hoping you to give me some advices.
My configuration file:
<operator name="Root" class="Process" expanded="yes">
<operator name="TextInput" class="TextInput" expanded="yes">
<list key="texts">
<parameter key="graphics" value="D:\rm_workspace4.6\sample\data\20news\train\comp.graphics"/>
<parameter key="hardware" value="D:\rm_workspace4.6\sample\data\20news\train\comp.sys.ibm.pc.hardware"/>
</list>
<parameter key="default_content_language" value="english"/>
<parameter key="output_word_list" value="../data/training_words.md"/>
<list key="namespaces">
</list>
<operator name="StringTokenizer" class="StringTokenizer">
</operator>
<operator name="EnglishStopwordFilter" class="EnglishStopwordFilter">
</operator>
<operator name="TokenLengthFilter" class="TokenLengthFilter">
</operator>
<operator name="PorterStemmer" class="PorterStemmer">
</operator>
</operator>
<operator name="FeatureSelection" class="FeatureSelection" expanded="yes">
<parameter key="show_stop_dialog" value="true"/>
<parameter key="show_population_plotter" value="true"/>
</operator>
<operator name="LibSVMLearner" class="LibSVMLearner">
<parameter key="kernel_type" value="linear"/>
<list key="class_weights">
</list>
</operator>
<operator name="ModelWriter" class="ModelWriter">
<parameter key="model_file" value="../data/training_model.mod"/>
<parameter key="output_type" value="Binary"/>
</operator>
</operator>
Error:Operator has 0 children, should be between 1 and infinity
I don't know what's this error, how to solve?
hoping you to give me some advices.
My configuration file:
<operator name="Root" class="Process" expanded="yes">
<operator name="TextInput" class="TextInput" expanded="yes">
<list key="texts">
<parameter key="graphics" value="D:\rm_workspace4.6\sample\data\20news\train\comp.graphics"/>
<parameter key="hardware" value="D:\rm_workspace4.6\sample\data\20news\train\comp.sys.ibm.pc.hardware"/>
</list>
<parameter key="default_content_language" value="english"/>
<parameter key="output_word_list" value="../data/training_words.md"/>
<list key="namespaces">
</list>
<operator name="StringTokenizer" class="StringTokenizer">
</operator>
<operator name="EnglishStopwordFilter" class="EnglishStopwordFilter">
</operator>
<operator name="TokenLengthFilter" class="TokenLengthFilter">
</operator>
<operator name="PorterStemmer" class="PorterStemmer">
</operator>
</operator>
<operator name="FeatureSelection" class="FeatureSelection" expanded="yes">
<parameter key="show_stop_dialog" value="true"/>
<parameter key="show_population_plotter" value="true"/>
</operator>
<operator name="LibSVMLearner" class="LibSVMLearner">
<parameter key="kernel_type" value="linear"/>
<list key="class_weights">
</list>
</operator>
<operator name="ModelWriter" class="ModelWriter">
<parameter key="model_file" value="../data/training_model.mod"/>
<parameter key="output_type" value="Binary"/>
</operator>
</operator>
Tagged:
0
Answers
the feature selection is a so called meta operator, executing inner operators in order to estimate the performance of the current feature subset.
Here's an example how it works: By the way: This examples is part of rapid miner and if you want to learn how things work, you should go through all these examples inside the sample directory of your workspace.
Greetings,
Sebastian