Hi,
I want to save feature vectors to CSV file for me to analysis using matlab and data mining softwares.
So I connected the output of the feature aggregator from P300-speller-train-classifier scenarios to a CSV writer as follows
And in this case the feature vector saved are from the target epochs.
However, when I opened the CSV file, it is not a 2-d matrix (epoch X feature) I hoped. Instead, it is a 1-D matrix.
I wonder if there are any thing I can do to convert the 1-D matrix to 2-D or I need to write a customized box to handle this problem.
Thanks in advance!
Best,
Yichuan
About saving feature vectors to CSV file
Re: About saving feature vectors to CSV file
Hello Yichuan,
CVS File Writer indeed writes data as it arrives into a 2D matrix, however the second dimension consists of channels!
If you want to cut the data by epochs, I would suggest calculating the number of vectors in 1 epoch and then slicing the file accordingly in another program.
Cheers
Jozef
CVS File Writer indeed writes data as it arrives into a 2D matrix, however the second dimension consists of channels!
If you want to cut the data by epochs, I would suggest calculating the number of vectors in 1 epoch and then slicing the file accordingly in another program.
Cheers
Jozef
Re: About saving feature vectors to CSV file
Did you manage to solve this problem, because I am facing the same one right now If yes can you please give me a set of steps how to do it pls thanks