HMM - Problem evaluating classifier: null

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

HMM - Problem evaluating classifier: null

botelho92
This post was updated on .
Hi Eibe Frank,

Could you help me? I try to create different experiments [classification
task] with HMM in WEKA. However, it appears the same alert: " Problem
evaluating classifier: null."  I am using a relational dataset, and the same
was loading in WEKA.

Are there ways of fixing this?

Regards.



--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- wekalist@list.waikato.ac.nz
Send posts to: To unsubscribe send an email to wekalist-leave@list.waikato.ac.nz
To subscribe, unsubscribe, etc., visit
https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: HMM - Problem evaluating classifier: null

Eibe Frank-2
Administrator
It's somewhat unlikely. But perhaps there is an obvious problem with your data. Can you post an excerpt of the ARFF file that makes it possible to reproduce the problem?

If you run WEKA with a terminal window open, you should also get a stack trace with more information on the error.

Cheers,
Eibe

On Tue, Dec 3, 2019 at 11:00 AM botelho92 <[hidden email]> wrote:
Hi Eibar,

Could you help me? I try to create different experiments [classification
task] with HMM in WEKA. However, it appears the same alert: " Problem
evaluating classifier: null."  I am using a relational dataset, and the same
was loading in WEKA.

Are there ways of fixing this?

Regards.



--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to: To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit
https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to: To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit
https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: HMM - Problem evaluating classifier: null

botelho92
Thanks for your reply, Eibe

*Follow my error on terminal:*

Java.lang.Exception: Illegal options: -S 6 -I 0.01 -C FULL -Dfalse -Lfalse
-Rfalse
        weka.core.Utils.checkForRemainingOptions(Utils.java:504)
        weka.classifiers.bayes.HMM.setOptions(HMM.java:694)
        weka.core.ResourceUtils.forName(ResourceUtils.java:109)
        weka.core.Utils.forName(Utils.java:1080)
        weka.gui.GenericObjectEditor.makeCopy(GenericObjectEditor.java:1942)
        weka.gui.GenericObjectEditor.getValue(GenericObjectEditor.java:1463)
        weka.gui.explorer.ClassifierPanel$18.run(ClassifierPanel.java:1265)

        at weka.core.Utils.checkForRemainingOptions(Utils.java:504)
        at weka.classifiers.bayes.HMM.setOptions(HMM.java:694)
        at weka.core.ResourceUtils.forName(ResourceUtils.java:109)
        at weka.core.Utils.forName(Utils.java:1080)
        at
weka.gui.GenericObjectEditor.makeCopy(GenericObjectEditor.java:1942)
        at
weka.gui.GenericObjectEditor.getValue(GenericObjectEditor.java:1463)
        at
weka.gui.explorer.ClassifierPanel$18.run(ClassifierPanel.java:1265)
java.lang.NullPointerException
        weka.gui.explorer.ClassifierPanel$18.run(ClassifierPanel.java:1372)

        at
weka.gui.explorer.ClassifierPanel$18.run(ClassifierPanel.java:1372)


*Follow my log:*

12:06:14: Weka Explorer
12:06:14: (c) 1999-2018 The University of Waikato, Hamilton, New Zealand
12:06:14: web: http://www.cs.waikato.ac.nz/~ml/weka/
12:06:14: Started on terça-feira, 3 dezembro 2019
12:06:32: Base relation is now HiddenMarkovModelsExampleFromWekaList (6
instances)
12:06:40: null
12:07:44: null


*Follow my simple dataset:*

@relation HiddenMarkovModelsExampleFromWekaList

@Attribute id {1,2,3,4,5,6}
@Attribute sequence relational
@Attribute c NUMERIC
@Attribute p NUMERIC
@Attribute cn NUMERIC
@Attribute l NUMERIC
@Attribute w NUMERIC
@EnD sequence
@Attribute class0 {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,-1,-2}
Thanks for your reply, Eibe

*Follow my error on terminal:*

Java.lang.Exception: Illegal options: -S 6 -I 0.01 -C FULL -Dfalse -Lfalse
-Rfalse
        weka.core.Utils.checkForRemainingOptions(Utils.java:504)
        weka.classifiers.bayes.HMM.setOptions(HMM.java:694)
        weka.core.ResourceUtils.forName(ResourceUtils.java:109)
        weka.core.Utils.forName(Utils.java:1080)
        weka.gui.GenericObjectEditor.makeCopy(GenericObjectEditor.java:1942)
        weka.gui.GenericObjectEditor.getValue(GenericObjectEditor.java:1463)
        weka.gui.explorer.ClassifierPanel$18.run(ClassifierPanel.java:1265)

        at weka.core.Utils.checkForRemainingOptions(Utils.java:504)
        at weka.classifiers.bayes.HMM.setOptions(HMM.java:694)
        at weka.core.ResourceUtils.forName(ResourceUtils.java:109)
        at weka.core.Utils.forName(Utils.java:1080)
        at
weka.gui.GenericObjectEditor.makeCopy(GenericObjectEditor.java:1942)
        at
weka.gui.GenericObjectEditor.getValue(GenericObjectEditor.java:1463)
        at
weka.gui.explorer.ClassifierPanel$18.run(ClassifierPanel.java:1265)
java.lang.NullPointerException
        weka.gui.explorer.ClassifierPanel$18.run(ClassifierPanel.java:1372)

        at
weka.gui.explorer.ClassifierPanel$18.run(ClassifierPanel.java:1372)


*Follow my log:*

12:06:14: Weka Explorer
12:06:14: (c) 1999-2018 The University of Waikato, Hamilton, New Zealand
12:06:14: web: http://www.cs.waikato.ac.nz/~ml/weka/
12:06:14: Started on terça-feira, 3 dezembro 2019
12:06:32: Base relation is now HiddenMarkovModelsExampleFromWekaList (6
instances)
12:06:40: null
12:07:44: null


*Follow my simple dataset:*

@relation HiddenMarkovModelsExampleFromWekaList

@Attribute id {1,2,3,4,5,6}
@Attribute sequence relational
@Attribute c NUMERIC
@Attribute p NUMERIC
@Attribute cn NUMERIC
@Attribute l NUMERIC
@Attribute w NUMERIC
@EnD sequence
@Attribute class0 {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,-1,-2}

@data
1,"561,0,0,0,0,\n436,1,1,1,3,\n406,2,4,2,3,\n211,4,2,3,3",0
2,"436,1,1,1,3,\n406,2,4,2,3,\n211,4,2,3,3,\n0,0,0,0,0",1
3,"406,2,4,2,3,\n211,4,2,3,3,\n0,0,0,0,0,\n31,1,0,1,6",1
4,"211,4,2,3,3,\n0,0,0,0,0,\n31,1,0,1,6,\n469,2,1,2,6",4
5,"0,0,0,0,0,\n31,1,0,1,6,\n469,2,1,2,6,\n256,2,2,3,6",0
6,"31,1,0,1,6,\n469,2,1,2,6,\n256,2,2,3,6,\n436,2,1,4,6",1

@data
1,"561,0,0,0,0,\n436,1,1,1,3,\n406,2,4,2,3,\n211,4,2,3,3",0
2,"436,1,1,1,3,\n406,2,4,2,3,\n211,4,2,3,3,\n0,0,0,0,0",1
3,"406,2,4,2,3,\n211,4,2,3,3,\n0,0,0,0,0,\n31,1,0,1,6",1
4,"211,4,2,3,3,\n0,0,0,0,0,\n31,1,0,1,6,\n469,2,1,2,6",4
5,"0,0,0,0,0,\n31,1,0,1,6,\n469,2,1,2,6,\n256,2,2,3,6",0
6,"31,1,0,1,6,\n469,2,1,2,6,\n256,2,2,3,6,\n436,2,1,4,6",1




--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to: To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit
https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html