"Bug in Binary2MultiClassLearner Output Display"
Hi,
I am doing text classification using LibSVMLearner inside the Binary2MultiClassLearner. In the GUI, a display of the output of the Binary2MultiClassLearner is shown. The display shows different tabs like: "ClassX vs all other", "ClassY vs all other", "ClassZ vs all other", etc.
The strange part:
1. Each tab (class) shows its top (weight) attributes that should belong to the next tab (class). For example, the ClassY tab shows its top attributes that I think should belong to ClassZ.
2. The first tab (class) seems to contain all the top attributes from the other classes.
3. I don't know the importance of the Bias (offset) but the first tab has positive 1.001 while the rest of the tabs have biases close to negative 1.
Has anybody encountered this? I'm sure I've placed the training data in the right directories and labelled them correctly.
thanks,
Matthew
I am doing text classification using LibSVMLearner inside the Binary2MultiClassLearner. In the GUI, a display of the output of the Binary2MultiClassLearner is shown. The display shows different tabs like: "ClassX vs all other", "ClassY vs all other", "ClassZ vs all other", etc.
The strange part:
1. Each tab (class) shows its top (weight) attributes that should belong to the next tab (class). For example, the ClassY tab shows its top attributes that I think should belong to ClassZ.
2. The first tab (class) seems to contain all the top attributes from the other classes.
3. I don't know the importance of the Bias (offset) but the first tab has positive 1.001 while the rest of the tabs have biases close to negative 1.
Has anybody encountered this? I'm sure I've placed the training data in the right directories and labelled them correctly.
thanks,
Matthew
Tagged:
0
Answers
could you post your process here, after having exchanged the data source operator by an example Set generator?
Then I would take a look at the problem.
Greetings,
Sebastian
I apologize for taking so long to reply. Here is the process file that I use for text mining, unfortunately I don't know how to replace it with the equivalent example set generator.
It is not really a problem because the model generated classifies my input texts correctly. I just noticed that the Binary2Multiclass output window show interchanged labels (x vs all other, y vs all other, etc) and thought that this could be a bug.
thanks,
Matthew
where's the interchange in these titles? The binary to multiclass learner does learn each class against all others. So for each class there's a tab.
I don't see the problem here.
Greetings,
Sebastian
Hi,
I'll try to illustrate the problem here.
X vs all other Y vs all other Z vs all other
Aattr1 Battr1 Cattr1
Aattr2 Battr2 Cattr2
Aattr3 Battr3 Cattr3
Aattr4 Battr4 Cattr4
... .... ....
Each column is the tab. In each tab I clicked on the Weight Table View and sort (descending) by Weight to see the top attributes for each tab. But when I analyzed the top attributes for one tab, I think those attributes belong to the next tab. For the example above, the attributes Aattr should belong to the Y tab, and the Battr should belong to the Z tab.
这是一个明显不够。作为I've said, I think this is just on the display since I am still getting correct classification.
thanks,
now I understand what you mean. I have checked this, but the error you describe is simply impossible, so I guess you have to reinterpret your resultsIf you check the text view, you will see, that these weights are connected to the class shown in the tab and are the same as on the weights table view.
Greetings,
Sebastian