Classifier Trainer - Linear Discriminant Analysis (LDA) - ERROR: Plugin code causing crash
Posted: Tue May 12, 2020 2:54 pm
Hi OpenViBE forum,
I concatenated two files into one using the Signal Concatenation Box. I also made sure to have one marker in the last file for the Classifier Trainer to initiate the training.
when I load the concatenated file into the mi-csp-3-classifier-trainer.xml scenario, the messaging box shows a lot of 'error' texts once the k-fold test is initiated. Please see the text below. Unforunately, I'm still new to OpenViBE and I don't understand what is causing the error
Any help to start moving in the right direction would be incredibly helpful! Thank you so much! - KevMat
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Received train stimulation. Data dim is [1650x6]
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> For information, we have 825 feature vector(s) for input 1
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> For information, we have 825 feature vector(s) for input 2
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Randomizing the feature vector set
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> k-fold test could take quite a long time, be patient
[ ERROR ] Plugin code caused crash 1 time(s)
[ ERROR ] [name:LDA Classifier]
[ ERROR] [class identifier:(0x2ba17a3c, 0x1bd46d84)]
[ ERROR ] [location:process callback]
[ ERROR ] <Algorithm::LDA Classifier> Classifier expected 0 features, got 6
...(repeated line of code removed)
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Finished with partition 1 / 5 (performance : 49.697%)
[ ERROR ] Plugin code caused crash 2 time(s)
...(repeated line of code removed)
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Finished with partition 2 / 5 (performance : 52.1212%)
[ ERROR ] Plugin code caused crash 3 time(s)
...(repeated line of code removed)
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Finished with partition 3 / 5 (performance : 50.6061%)
[ ERROR] Plugin code caused crash 4 time(s)
...(repeated line of code removed)
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Finished with partition 4 / 5 (performance : 48.1818%)
[ ERROR ] Plugin code caused crash 5 time(s)
...(repeated line of code removed)
[ ERROR ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Training failed.
[ ERROR ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Bailing out (from whole set training)...
[WARNING] Box algorithm <Classifier trainer> has been deactivated because process() function returned error
I concatenated two files into one using the Signal Concatenation Box. I also made sure to have one marker in the last file for the Classifier Trainer to initiate the training.
when I load the concatenated file into the mi-csp-3-classifier-trainer.xml scenario, the messaging box shows a lot of 'error' texts once the k-fold test is initiated. Please see the text below. Unforunately, I'm still new to OpenViBE and I don't understand what is causing the error
Any help to start moving in the right direction would be incredibly helpful! Thank you so much! - KevMat
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Received train stimulation. Data dim is [1650x6]
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> For information, we have 825 feature vector(s) for input 1
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> For information, we have 825 feature vector(s) for input 2
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Randomizing the feature vector set
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> k-fold test could take quite a long time, be patient
[ ERROR ] Plugin code caused crash 1 time(s)
[ ERROR ] [name:LDA Classifier]
[ ERROR] [class identifier:(0x2ba17a3c, 0x1bd46d84)]
[ ERROR ] [location:process callback]
[ ERROR ] <Algorithm::LDA Classifier> Classifier expected 0 features, got 6
...(repeated line of code removed)
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Finished with partition 1 / 5 (performance : 49.697%)
[ ERROR ] Plugin code caused crash 2 time(s)
...(repeated line of code removed)
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Finished with partition 2 / 5 (performance : 52.1212%)
[ ERROR ] Plugin code caused crash 3 time(s)
...(repeated line of code removed)
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Finished with partition 3 / 5 (performance : 50.6061%)
[ ERROR] Plugin code caused crash 4 time(s)
...(repeated line of code removed)
[ INF ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Finished with partition 4 / 5 (performance : 48.1818%)
[ ERROR ] Plugin code caused crash 5 time(s)
...(repeated line of code removed)
[ ERROR ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Training failed.
[ ERROR ] At time 609.250 sec <Box algorithm::(0x0a5a6a4a, 0x1d92a778) aka Classifier trainer> Bailing out (from whole set training)...
[WARNING] Box algorithm <Classifier trainer> has been deactivated because process() function returned error