How to use the W-EnsembleSelection operator?
I would like to use the W-EnsembleSelection operator in order to combine different regression models. This operator has a parameter L which "specifies the Model Library File, continuing the list of all models". This parameter seems to be the reason why I don't get it to work.
Does anybody know what to do if, for example, I want to put a SimpleLinearRegression and a LibSVMLearner (for SV-regression) in the W-EnsembleSelection?
Thank you for your help!
Does anybody know what to do if, for example, I want to put a SimpleLinearRegression and a LibSVMLearner (for SV-regression) in the W-EnsembleSelection?
Thank you for your help!
Tagged:
0
Answers
-
I had a look in the weka gui, the basic command looks like
weka.classifiers.meta.EnsembleSelection -W V:\Users\Cog\Ensemble-3 -P rmse -A forward -B 10 -V 0.25 -E 0.5 -H 100 -I 1.0 -X 1 -R -G -S 1
You can click on the library in the gui and it opens weka.gui.EnsembleSelectorLibraryEditor window
From there you choose models and train them and can then add the trained models to the library list.
I saved the list as ensemble.model.xml
In that file there is<?xml version="1.0" encoding="utf-8" ?>
Any help?
<!DOCTYPE object (View Source for full doctype...)>
- <object class="java.util.Vector" name="__root__" version="3.6.0" primitive="no" array="no" null="no">
- <object class="weka.classifiers.trees.DecisionStump" name="0" primitive="no" array="no" null="no" version="3.6.0">
<object array="yes" class="java.lang.String" name="options" primitive="no" null="no" version="3.6.0" />
</object>
- <object class="weka.classifiers.trees.J48" name="1" primitive="no" array="no" null="no" version="3.6.0">
- <object array="yes" class="java.lang.String" name="options" primitive="no" null="no" version="3.6.0">
<object class="java.lang.String" name="0" primitive="no" array="no" null="no" version="3.6.0">-C</object>
<object class="java.lang.String" name="1" primitive="no" array="no" null="no" version="3.6.0">0.25</object>
<object class="java.lang.String" name="2" primitive="no" array="no" null="no" version="3.6.0">-M</object>
<object class="java.lang.String" name="3" primitive="no" array="no" null="no" version="3.6.0">2</object>
<object class="java.lang.String" name="4" primitive="no" array="no" null="no" version="3.6.0" />
<object class="java.lang.String" name="5" primitive="no" array="no" null="no" version="3.6.0" />
<object class="java.lang.String" name="6" primitive="no" array="no" null="no" version="3.6.0" />
<object class="java.lang.String" name="7" primitive="no" array="no" null="no" version="3.6.0" />
<object class="java.lang.String" name="8" primitive="no" array="no" null="no" version="3.6.0" />
<object class="java.lang.String" name="9" primitive="no" array="no" null="no" version="3.6.0" />
<object class="java.lang.String" name="10" primitive="no" array="no" null="no" version="3.6.0" />
<object class="java.lang.String" name="11" primitive="no" array="no" null="no" version="3.6.0" />
<object class="java.lang.String" name="12" primitive="no" array="no" null="no" version="3.6.0" />
<object class="java.lang.String" name="13" primitive="no" array="no" null="no" version="3.6.0" />
</object>
</object>
</object>0 -
Thank you martyns!0
-
Hai,
will any one help me to setup the W-EnsembleSelection operator on Rapidminer?
Priya0