# question about classification between events and	normalization

**URL:** https://mne.discourse.group/t/question-about-classification-between-events-and-normalization/1671
**Category:** Mailing List Archive (read-only)
**Tags:** list-archive
**Created:** [December 4, 2018, 7:53pm UTC](https://mne.discourse.group/t/question-about-classification-between-events-and-normalization/1671 "2018-12-04T19:53:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [December 4, 2018, 7:53pm UTC](https://mne.discourse.group/t/question-about-classification-between-events-and-normalization/1671/1 "2018-12-04T19:53:13Z")

</div>

External Email - Use Caution

Hi all,  
I'm new to MNE Python. I have experience in Tensorflow but for Images  
Classification using cnn models.  
I have EEG data from Brainvision (.vhdr extension). (31 channels,  
sampling rate 500 Hz, High pass filtered at 0.5 Hz). For every trial I  
have an EEG dataset, and I have many trials. Each trial is about 2 - 3  
seconds and consists of different 5 events. The time period is  
different between trials and different between events.

My goal is to make a multi-classifier to distinguish between Events by  
using the data from many trials. I looked in the internet but it's  
still unclear for me. I have qeustions:  
Is there a function that can take the .vhdr files, convert them to  
numpy arrays.  
Is there a function that can take the files with events, and possibly  
cut them into segments and normalize them?  
Which classifier would you recommend?

Many thanks in advance for your kind help

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [December 4, 2018, 8:19pm UTC](https://mne.discourse.group/t/question-about-classification-between-events-and-normalization/1671/2 "2018-12-04T20:19:32Z")

</div>

External Email - Use Caution

> I have EEG data from Brainvision (.vhdr extension).

[snip]

> Is there a function that can take the .vhdr files, convert them to  
> numpy arrays.

yes:  
# convert brainvision .eeg file to mne.Raw format

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [December 5, 2018, 10:10am UTC](https://mne.discourse.group/t/question-about-classification-between-events-and-normalization/1671/3 "2018-12-05T10:10:19Z")

</div>

External Email - Use Caution

> Which classifier would you recommend?
> 
> You can start with a simple linear classifier such as the logistic

regression:  
[https://martinos.org/mne/dev/auto\_tutorials/plot\_sensors\_decoding.html#decoding-over-time](https://martinos.org/mne/dev/auto_tutorials/plot_sensors_decoding.html#decoding-over-time)

JR

> Many thanks in advance for your kind help
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Mne\_analysis mailing list  
> Mne\_analysis at nmr.mgh.harvard.edu  
> [Mne\_analysis Info Page](https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis)

-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20181205/3cf4feb7/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20181205/3cf4feb7/attachment.html)
