Hello,

I am testing ensemble classification with costs (binary discrete class).
I am not sure what is the correct order of the META classifiers in Weka.

For example
a) Bagging -> Cost Sensitive -> J48
weka.classifiers.meta.Bagging -P 100 -S 1 -num-slots 1 -I 10 -W weka.classifiers.meta.CostSensitiveClassifier -- -cost-matrix "[0.0 1.0; 2.0 0.0]" -S 1 -W weka.classifiers.trees.J48 -- -C 0.25 -M 2

or...

b) Cost Sensitive -> Bagging -> J48
weka.classifiers.meta.CostSensitiveClassifier -cost-matrix "[0.0 1.0; 2.0 0.0]" -S 1 -W weka.classifiers.meta.Bagging -- -P 100 -S 1 -num-slots 1 -I 10 -W weka.classifiers.trees.REPTree -- -M 2 -V 0.001 -N 3 -S 1 -L -1 -I 0.0

thanks!
regards