I'm using mulan library for doing multi labels classification. The learner I'm using is RAkEL learner. I followed the mulan's instruction: http://mulan.sourceforge.net/starting.html
My label xml file:
<labels xmlns="http://mulan.sourceforge.net/labels">
<label name="1"/>
<label name="2"/>
<label name="3"/>
<label name="4"/>
<label name="5"/>
</labels>
My training data file:
@relation predict_label
@attribute 12345 numeric
@attribute A numeric
@attribute B numeric
@attribute C numeric
@attribute D numeric
@attribute E numeric
@attribute 1 {0, 1}
@attribute 2 {0, 1}
@attribute 3 {0, 1}
@attribute 4 {0, 1}
@attribute 5 {0, 1}
@data
2,3,2,2,2,2,1,0,0,0,0
2,2,3,2,2,2,0,1,0,0,0
2,2,2,3,2,2,0,0,1,0,0
2,2,2,2,3,2,0,0,0,1,0
2,2,2,2,2,3,0,0,0,0,1
My testing data file:
@relation catalog_ml
@attribute 12345 numeric
@attribute A numeric
@attribute B numeric
@attribute C numeric
@attribute D numeric
@attribute E numeric
@attribute 1 {0, 1}
@attribute 2 {0, 1}
@attribute 3 {0, 1}
@attribute 4 {0, 1}
@attribute 5 {0, 1}
@data
2,2,2,2,2,3,0,0,0,0,0
The result I had after performing predicting:
Bipartion: [false, false, false, false, false] Confidences: [0.0, 0.0, 0.0, 0.0, 0.0] Ranking: [5, 4, 3, 2, 1]Predicted values: null
My questions are:
1. Can somebody help me to verify what I did wrong ?
2. As I understand, the ranking [5, 4, 3, 2, 1] is the positions of labels in the xml label file. Is my understanding correct ? Why the ranking order is not from 1 to 5 ... ?
3. Is predicted values null because this is a multi labels classification test ?Otherwise which learner won't return Predicted value to null?
Thank you very much. Any suggestion or comments are more than welcomed.