Need an assistant on w-Ensemble selection
svpriyan
New Altair Community Member
I am Priyan here.
i was trying RapidMiner:
first to MultivariateSeries2WindowExamples
second to W-EnsembleSelection
I got the error as below in the log file :
"W-EnsembleSelection: W-EnsembleSelection: Operator has 0 children, should be 1":
the code i used is here:
ps: I used exampleset Generator to generate the data.
Priyan
i was trying RapidMiner:
first to MultivariateSeries2WindowExamples
second to W-EnsembleSelection
I got the error as below in the log file :
"W-EnsembleSelection: W-EnsembleSelection: Operator has 0 children, should be 1":
the code i used is here:
ps: I used exampleset Generator to generate the data.
tnx
<operator name="Root" class="Process" expanded="yes">
<parameter key="logfile" value="C:\Documents and Settings\svpriyan\Desktop\gen1.log"/>
<parameter key="resultfile" value="C:\Documents and Settings\svpriyan\Desktop\generators\genres.res"/>
<operator name="ExampleSetGenerator" class="ExampleSetGenerator">
<parameter key="target_function" value="random"/>
<parameter key="attributes_lower_bound" value="0.0"/>
</operator>
<operator name="Numerical2Polynominal" class="Numerical2Polynominal">
</operator>
<operator name="ChangeAttributeRole" class="ChangeAttributeRole">
<parameter key="name" value="label"/>
<parameter key="target_role" value="label"/>
</operator>
<operator name="MultivariateSeries2WindowExamples" class="MultivariateSeries2WindowExamples">
</operator>
<operator name="XValidation" class="XValidation" expanded="yes">
<operator name="W-EnsembleSelection" class="W-EnsembleSelection" expanded="yes">
<parameter key="L" value="H:\weka\code\goodmodels.model.xml"/>
</operator>
<operator name="OperatorChain" class="OperatorChain" expanded="yes">
<operator name="ModelApplier" class="ModelApplier">
<list key="application_parameters">
</list>
</operator>
<operator name="ClassificationPerformance" class="ClassificationPerformance">
<list key="class_weights">
</list>
</operator>
<operator name="ModelWriter" class="ModelWriter">
<parameter key="model_file" value="C:\Documents and Settings\svpriyan\Desktop\generators\model1.mod"/>
<parameter key="output_type" value="XML"/>
</operator>
<operator name="ExampleSetWriter" class="ExampleSetWriter">
<parameter key="example_set_file" value="C:\Documents and Settings\svpriyan\Desktop\exsetwr.dat"/>
</operator>
</operator>
</operator>
</operator>
Priyan
Tagged:
0
Answers
-
UPDATED ERROR:
"Some operators instantiate classes specified by the user. This may cause errors for mainly two reasons: The class cannot be found because it is not in the classpath or misspelled or the classes constructor or initializer throws an exception. Always use the fully qualified classnames."
Can you specify me, how to give the parameter for L option in Ensemble Selection. I got the above error; I am going to use for examble W-IBK. I already generated my model.xml with <object class="weka.classifiers.lazy.IBk" name="0">.
i need your assistance.
<operator name="Root" class="Process" expanded="yes">
<parameter key="logfile" value="C:\Documents and Settings\svpriyan\Desktop\gen1.log"/>
<parameter key="resultfile" value="C:\Documents and Settings\svpriyan\Desktop\generators\genres.res"/>
<operator name="CSVExampleSource" class="CSVExampleSource">
<parameter key="filename" value="C:\Documents and Settings\svpriyan\Desktop\1413.csv"/>
</operator>
<operator name="Numerical2Polynominal" class="Numerical2Polynominal">
</operator>
<operator name="ChangeAttributeRole" class="ChangeAttributeRole">
<parameter key="name" value="Label"/>
<parameter key="target_role" value="label"/>
</operator>
<operator name="SlidingWindowValidation" class="SlidingWindowValidation" expanded="yes">
<parameter key="training_window_width" value="3"/>
<parameter key="test_window_width" value="15"/>
<operator name="Training Chain" class="OperatorChain" expanded="yes">
<operator name="TrainingWindowing" class="MultivariateSeries2WindowExamples">
<parameter key="series_representation" value="encode_series_by_attributes"/>
<parameter key="window_size" value="3"/>
</operator>
<operator name="W-EnsembleSelection" class="W-EnsembleSelection" expanded="yes">
<parameter key="L" value="testingmodel.model.xml, "weka.classifiers.lazy.IBk""/>
<parameter key="H" value="10.0"/>
<parameter key="A" value="best"/>
<parameter key="G" value="-O"/>
<operator name="W-IBk" class="W-IBk">
</operator>
</operator>
</operator>
<operator name="Testing Chain" class="OperatorChain" expanded="yes">
<operator name="TestingWindowing" class="MultivariateSeries2WindowExamples">
<parameter key="window_size" value="3"/>
</operator>
<operator name="ModelApplier" class="ModelApplier">
<list key="application_parameters">
</list>
</operator>
<operator name="ClassificationPerformance" class="ClassificationPerformance">
<list key="class_weights">
</list>
</operator>
</operator>
</operator>
</operator>0 -
Hi Priyan,
sorry about this, but as the W- in the operator name indicates, this is one of the Weka learners. Unfortunately I don't have any clue what this parameter wants you to insert. This again is one of these nasty Weka things. I would recommend using one of the RapidMiner Meta Learners instead, the parameter's there are more intuitive.
Otherwise you might go to the Weka Mailing list and ask your question there. Probably they will be very happy to have some RapidMiner users there
Greetings,
Sebastian0