Pardon my question as I am very new to MIR in general, but I was going through the ACE 2.0 manual and I noticed I needed to have something called the model classification xml file before any training or classifying can be done. I can't find anywhere in the manual that says where to obtain this file and also when I attempt to train with the command java -jar ACE.jar -lfkey fkey.xml -lfvec fvec.xml -ltax tax.xml -train -learner SMO -sres test.model I get the following error:
ERROR: ACE was unable to train the Classifier.
ERROR: weka.classifiers.functions.SMO: Not enough training instances with class labels (required: 1, provided: 0)!
java.lang.Exception: ACE was unable to train the Classifier.
ERROR: weka.classifiers.functions.SMO: Not enough training instances with class labels (required: 1, provided: 0)!
at ace.Coordinator.train(Coordinator.java:187)
at ace.CommandLine.processRequests(CommandLine.java:476)
at ace.Main.main(Main.java:47)
I hope someone can point me in the right direction as right now I am completely stuck attempting to do anything with the features I have extracted from jAudio. Any help is greatly appreciated! :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Pardon my question as I am very new to MIR in general, but I was going
through the ACE 2.0 manual and I noticed I needed to have something called
the model classification xml file before any training or classifying can be
done. I can't find anywhere in the manual that says where to obtain this
file and also when I attempt to train with the command java -jar ACE.jar
-lfkey fkey.xml -lfvec fvec.xml -ltax tax.xml -train -learner SMO -sres
test.model I get the following error:
ERROR: ACE was unable to train the Classifier.
ERROR: weka.classifiers.functions.SMO: Not enough training instances with
class labels (required: 1, provided: 0)!
java.lang.Exception: ACE was unable to train the Classifier.
ERROR: weka.classifiers.functions.SMO: Not enough training instances with
class labels (required: 1, provided: 0)!
at ace.Coordinator.train(Coordinator.java:187)
at ace.CommandLine.processRequests(CommandLine.java:476)
at ace.Main.main(Main.java:47)
I hope someone can point me in the right direction as right now I am
completely stuck attempting to do anything with the features I have
extracted from jAudio. Any help is greatly appreciated! :)
You need this file in order to specify to ACE your ground truth model classifications when training a supervised classifier (like SVMs, in your case). You can also use this file to evaluate classifications of novel instances with a trained classifier, but it is of course optional in this latter case.
You can get more information on this file type at (version 1.1 is used by jAudio):
Pardon my question as I am very new to MIR in general, but I was going through the ACE 2.0 manual and I noticed I needed to have something called the model classification xml file before any training or classifying can be done. I can't find anywhere in the manual that says where to obtain this file and also when I attempt to train with the command java -jar ACE.jar -lfkey fkey.xml -lfvec fvec.xml -ltax tax.xml -train -learner SMO -sres test.model I get the following error:
ERROR: ACE was unable to train the Classifier.
ERROR: weka.classifiers.functions.SMO: Not enough training instances with class labels (required: 1, provided: 0)!
java.lang.Exception: ACE was unable to train the Classifier.
ERROR: weka.classifiers.functions.SMO: Not enough training instances with class labels (required: 1, provided: 0)!
at ace.Coordinator.train(Coordinator.java:187)
at ace.CommandLine.processRequests(CommandLine.java:476)
at ace.Main.main(Main.java:47)
I hope someone can point me in the right direction as right now I am completely stuck attempting to do anything with the features I have extracted from jAudio. Any help is greatly appreciated! :)
This is Cory McKay's baby. I'm cc him on the discussion.
On Wed, Dec 16, 2015, 2:46 AM Wong Zhijie zcarified@users.sf.net wrote:
You need this file in order to specify to ACE your ground truth model classifications when training a supervised classifier (like SVMs, in your case). You can also use this file to evaluate classifications of novel instances with a trained classifier, but it is of course optional in this latter case.
You can get more information on this file type at (version 1.1 is used by jAudio):
http://jmir.sourceforge.net/index_ACE_XML.html
There’s a model file at:
http://jmir.sourceforge.net/ace_xml_files/Classifications.xml
You can write the classifications file by hand, or you can use jMIRUtilities to batch label instances:
http://jmir.sourceforge.net/index_jMIRUtilities.html
Hope this helps,
Cory
Thanks Daniel for bringing Mr Cory McKay in to this topic and to Cory for giving it his attention!
I managed to get Utilities to work out and I will continue to experiment with the rest as well to see which suits my needs more :)