Problem with classifcation algorithm

Come here to discuss about OpenViBE in general!
Post Reply
toncho11
Posts: 123
Joined: Tue Apr 19, 2011 7:58 pm

Problem with classifcation algorithm

Post by toncho11 »

Hi,

When I run the p300 bci scenario openvibe-scenarios\bci\p300-speller-xDAWN\p300-speller-3-train-classifier.xml

I get this error:

Code: Select all

IBox& l_rStaticBoxContext=this->getStaticBoxContext();

	CIdentifier a;//we need to fill this
	CString b;
	
	l_rStaticBoxContext.getSettingValue(0, b);// b is filled here I suppose
	
	a=this->getTypeManager().getEnumerationEntryValueFromName(OVTK_TypeId_ClassificationAlgorithm, b);

	if(a==OV_UndefinedIdentifier) //true
	{
		this->getLogManager() << LogLevel_Error << "Unknown classifier algorithm [" << b << "]\n"; // my code goes here!!!!!!!!!!!!!!!!!!!!!!
		return false;
	}
This method:

Code: Select all

uint64 CTypeManager::getEnumerationEntryValueFromName(
	const CIdentifier& rTypeIdentifier,
	const CString& rEntryName) const
returns a not found kind of value (0xffffffffffffffffll) for the algorithm.

I am not very much into these identificators, so I will appreciate some hints.

I am using the 13.1 code.
Also I have noticed this problem is only when the classifier is set to "LDA". When changed to "SVM" works fine.
I believe that LDA registration is missing in ovp_main.cpp project OpenViBE-plugins-classification-dynamic???

Anton Andreev
Gipsa-lab

p.s. I can not checkout the code from svn from svn://scm.gforge.inria.fr/svn/openvibe/trunk

jlegeny
Posts: 239
Joined: Tue Nov 02, 2010 8:51 am
Location: Mensia Technologies Paris FR
Contact:

Re: Problem with classifcation algorithm

Post by jlegeny »

Hello,

I do not quite understand your problem. Have you created your own classification algorithm to use with the classification box? Could you be more precise about what are you trying to achieve?

As for the SVN, our servers have been upgraded and apparently there are some issues. For the time being the public access does not work.

Thank you
Jozef

Post Reply