<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://airwiki.deib.polimi.it/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=TizianoDalbis</id>
		<title>AIRWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://airwiki.deib.polimi.it/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=TizianoDalbis"/>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php/Special:Contributions/TizianoDalbis"/>
		<updated>2026-04-04T01:08:39Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.6</generator>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7324</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7324"/>
				<updated>2009-07-22T10:21:37Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 4: Documents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
A predictive speller for a brain-computer interface based on motor imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_gui.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_feedback.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
* 21/07/2009: thesis presentation!&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis document: [http://www.slideshare.net/tizyweb/a-predictive-speller-for-a-braincomputer-interface-based-on-motorimagery-1752428 A predictive speller for a brain-computer interface based on motor imagery] [En]&lt;br /&gt;
* Presentation [http://www.slideshare.net/tizyweb/a-predictive-speller-for-a-braincomputer-interface-based-on-motorimagery A predictive speller for a brain-computer interface based on motor imagery (presentation)][En]&lt;br /&gt;
* Video [http://www.youtube.com/watch?v=R-tNE-y2QU0 A predictive speller for a brain-computer interface based on motor imagery (video)]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7323</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7323"/>
				<updated>2009-07-22T10:03:42Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 4: Documents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
A predictive speller for a brain-computer interface based on motor imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_gui.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_feedback.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
* 21/07/2009: thesis presentation!&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis document: [http://www.box.net/shared/q44iirv3n2 A predictive speller for a brain-computer interface based on motor imagery] [En]&lt;br /&gt;
* Presentation [http://www.slideshare.net/tizyweb/a-predictive-speller-for-a-braincomputer-interface-based-on-motorimagery A predictive speller for a brain-computer interface based on motor imagery (presentation)][En]&lt;br /&gt;
* Video [http://www.youtube.com/watch?v=R-tNE-y2QU0 A predictive speller for a brain-computer interface based on motor imagery (video)]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7322</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7322"/>
				<updated>2009-07-22T10:02:37Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 2: Project description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
A predictive speller for a brain-computer interface based on motor imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_gui.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_feedback.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
* 21/07/2009: thesis presentation!&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis document: [http://www.box.net/shared/q44iirv3n2 A predictive speller for a brain-computer interface based on motor imagery] [En]&lt;br /&gt;
* Presentation [http://www.slideshare.net/tizyweb/a-predictive-speller-for-a-braincomputer-interface-based-on-motorimagery A predictive speller for a brain-computer interface based on motor imagery (presentation)][En]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7321</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7321"/>
				<updated>2009-07-22T10:02:21Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 4: Documents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
A predictive speller for a brain-computer interface based on motor imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=R-tNE-y2QU0 Video]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_gui.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_feedback.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
* 21/07/2009: thesis presentation!&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis document: [http://www.box.net/shared/q44iirv3n2 A predictive speller for a brain-computer interface based on motor imagery] [En]&lt;br /&gt;
* Presentation [http://www.slideshare.net/tizyweb/a-predictive-speller-for-a-braincomputer-interface-based-on-motorimagery A predictive speller for a brain-computer interface based on motor imagery (presentation)][En]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7320</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7320"/>
				<updated>2009-07-22T09:56:48Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 3: Project tracking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
A predictive speller for a brain-computer interface based on motor imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=R-tNE-y2QU0 Video]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_gui.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_feedback.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
* 21/07/2009: thesis presentation!&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis document: [http://www.box.net/shared/q44iirv3n2 A predictive speller for a brain-computer interface based on motor imagery] [En]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7173</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7173"/>
				<updated>2009-06-22T18:30:19Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Project name */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
A predictive speller for a brain-computer interface based on motor imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=R-tNE-y2QU0 Video]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_gui.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_feedback.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis document: [http://www.box.net/shared/q44iirv3n2 A predictive speller for a brain-computer interface based on motor imagery] [En]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7172</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7172"/>
				<updated>2009-06-22T18:26:01Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 4: Documents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=R-tNE-y2QU0 Video]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_gui.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_feedback.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis document: [http://www.box.net/shared/q44iirv3n2 A predictive speller for a brain-computer interface based on motor imagery] [En]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7170</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7170"/>
				<updated>2009-06-22T12:57:10Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 2: Project description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=R-tNE-y2QU0 Video]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_gui.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_feedback.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis document: [[image:Thesis_predictive_bci_speller.pdf‎ | Thesis_predictive_bci_speller.pdf‎ ]] [En]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7169</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7169"/>
				<updated>2009-06-22T12:40:11Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 2: Project description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_gui.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bci_feedback.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis document: [[image:Thesis_predictive_bci_speller.pdf‎ | Thesis_predictive_bci_speller.pdf‎ ]] [En]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=File:Bci_gui.png&amp;diff=7168</id>
		<title>File:Bci gui.png</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=File:Bci_gui.png&amp;diff=7168"/>
				<updated>2009-06-22T12:29:52Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: Predictive BCI Speller based on Motor Imagery: Spelling application&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Predictive BCI Speller based on Motor Imagery: Spelling application&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=File:Bci_feedback.png&amp;diff=7167</id>
		<title>File:Bci feedback.png</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=File:Bci_feedback.png&amp;diff=7167"/>
				<updated>2009-06-22T12:28:57Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: Predictive BCI Speller Based on Motor Imagery: feedback sessions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Predictive BCI Speller Based on Motor Imagery: feedback sessions&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=User:TizianoDalbis&amp;diff=7164</id>
		<title>User:TizianoDalbis</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=User:TizianoDalbis&amp;diff=7164"/>
				<updated>2009-06-19T13:09:41Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SMWUser&lt;br /&gt;
|firstname=Tiziano&lt;br /&gt;
|lastname=D'Albis&lt;br /&gt;
|email=tiziano(dot)dalbis(at)gmail(dot)com&lt;br /&gt;
|advisor=MatteoMatteucci&lt;br /&gt;
|projectpage=BCI based on Motor Imagery&lt;br /&gt;
|photo=TizianoDalbis.png&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
I am a Master Student in Computer Engineering at Politecnico di Milano (Como campus). &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;I'm currently working on my master thesis about [[Predictive_BCI_Speller_based_on_Motor_Imagery | Predictive BCI Speller based on motor imagery]] with [[User:MatteoMatteucci | Matteo Matteucci]] and [[User:LiciaSbattella | Licia Sbattella]] .&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My interests span from software and web engineering to AI and philosophy. &amp;lt;br/&amp;gt;&lt;br /&gt;
During the spare time I like walking in mountain, cycling, taking pictures and of course enjoying with my friends!&amp;lt;br/&amp;gt;&lt;br /&gt;
I'm also the secretary and founding member of the cutural youth association &amp;quot;Tricheco&amp;quot; in my town.&lt;br /&gt;
&lt;br /&gt;
Here are some some links you may want to follow:&lt;br /&gt;
* My curriculum vitae http://www.box.net/shared/8a9bg6qkg0&lt;br /&gt;
* My Facebook profile  http://www.facebook.com/profile.php?id=778283933&lt;br /&gt;
* My gallery on DeviantArt http://tizyweb.deviantart.com&lt;br /&gt;
* My photo gallery on PicasaWeb http://picasaweb.google.it/tizyweb&lt;br /&gt;
* My library on Anobii http://www.anobii.com/people/tizyweb/&lt;br /&gt;
* The website of my association: http://www.tricheco.altervista.org&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7163</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7163"/>
				<updated>2009-06-19T13:06:47Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 4: Documents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis document: [[image:Thesis_predictive_bci_speller.pdf‎ | Thesis_predictive_bci_speller.pdf‎ ]] [En]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7162</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7162"/>
				<updated>2009-06-19T13:06:30Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 4: Documents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:Thesis_predictive_bci_speller.pdf‎ | Thesis_predictive_bci_speller.pdf‎ ]] [En]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=File:Thesis_predictive_bci_speller.pdf&amp;diff=7161</id>
		<title>File:Thesis predictive bci speller.pdf</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=File:Thesis_predictive_bci_speller.pdf&amp;diff=7161"/>
				<updated>2009-06-19T13:04:12Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: Master thesis: A predictive BCI speller for a brain-computer interface based on motor imagery&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Master thesis: A predictive BCI speller for a brain-computer interface based on motor imagery&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7160</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7160"/>
				<updated>2009-06-19T13:01:21Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Other Politecnico di Milano people */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
* [[User:RobertoTedesco | Roberto Tedesco]] (researcher)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7159</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7159"/>
				<updated>2009-06-19T13:00:29Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 2: Project description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects affected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on specific brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into different choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents significant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors affect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7158</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7158"/>
				<updated>2009-06-19T12:59:22Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 2: Project description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The objective of this thesis is to implement a BCI spelling application for people with severe motor impairments, adopting natural language processing techniques to improve the overall communication rate of the system. The target users of this application are subjects aﬀected by severe motor disorders and in particular patients affected by the locked-in syndrome. Communication is performed detecting different mental states from the subject’s EEG and translating these states into input commands for a spelling application. &lt;br /&gt;
&lt;br /&gt;
The BCI paradigm adopted is motor imagery. When the subject imagines to move a certain part of the body (such as a hand or a foot) produces modiﬁcations on speciﬁc brain rhythms characteristic of the motor cortex. These modiﬁcations are detected in real-time from the EEG signal and mapped into diﬀerent choices in the spelling application. This kind of communication is typically very slow and prone to errors. The EEG signal recorded from the scalp has indeed a low signal-to-noise ratio, can be affected by a number of artifacts and presents signiﬁcant variability with different acquisition settings. Moreover the neurophysiological phenomena related to motor imagery manifest differently with different subjects and may also be influenced by the particular psychophysical conditions met during the task. &lt;br /&gt;
&lt;br /&gt;
All these factors aﬀect the performances of the brain-computer interface.&lt;br /&gt;
The control signal received by the spelling application is indeed characterized by low information transfer rates and low accuracy levels. This is the major problem that this thesis had to face, being the final objective of this work to obtain a BCI system suitable for effective verbal communication. The approach chosen in order to maximize the overall communication rate is two-fold: on one side there is an effort in gaining information transfer rate from the control signal, on the other side there is an effort in optimizing the way this information is employed for the purpose of verbal communication.&lt;br /&gt;
&lt;br /&gt;
Dealing with the first problem, this thesis focuses on the design of novel features extracted from the EEG signal in the frequency domain and on the adoption of different machine learning techniques for feature selection and classification. Dealing with the second problem, instead, we designed an original speller interface in which redundancies in natural language are used to speed up the selection of symbols and word suggestions are provided to the user during the composition. &lt;br /&gt;
 &lt;br /&gt;
The spelling application developed is thus composed of three main modules: the brain-computer interface, the speller interface and the language prediction module. Each module has been designed, implemented and tested specifically for the objectives of this thesis and the results have been evaluated at different levels. First we assessed the performances of the BCI module alone, both offline (with pre-recorded signals) and online (with signals acquired and classified in real-time). Then we evaluated the performances of the spelling interface with a simulator program (implemented for the purpose) and we assessed the impact of classification accuracy and language predictions on the overall system performances. Finally we tested the whole BCI spelling application online considering different subjects and different acquisition sessions. &lt;br /&gt;
&lt;br /&gt;
The achieved results are very satisfactory and comparable with the latest works about motor-imagery BCI spellers reported in literature. With one subject we obtained high classification accuracies and the overall communication rate achieved is 3  char/min.  With other two subjects, instead, we started with lower classification accuracies, but significant improvements have been obtained as the number of training sessions increased. These subjects reached a spelling speed of respectively 2 char/min and 2.7 char/min.&lt;br /&gt;
 &lt;br /&gt;
A trend of performance improvement has been observed in our tests and we believe that with more feedback sessions an even better BCI control could be obtained.&lt;br /&gt;
Further improvements may be also achieved considering EEG features in the spatial domain (for example with the method of Common Spatial Patterns) and testing other classification algorithms. Moreover alternative symbol arrangements may be investigated in order to speedup the selection process and the accuracy of language predictions could be improved by means of customized language models.&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7157</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=7157"/>
				<updated>2009-06-19T12:52:55Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 3: Project tracking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
* 09/04/2009: started testing the spelling application&lt;br /&gt;
* 18/06/2009: thesis document completed&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=7062</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=7062"/>
				<updated>2009-06-04T12:30:22Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan.&lt;br /&gt;
&lt;br /&gt;
'''The Lab has moved. It is now located at the first floor just over the Airlab, always in the Rimembranze di Lambrate building.'''&lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Friday 5 June|| 13:00-18:30 || [[User:FrancescoSpadoni]] || RehabRobot&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=6995</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=6995"/>
				<updated>2009-06-02T16:24:52Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan.&lt;br /&gt;
&lt;br /&gt;
'''The Lab has moved. It is now located at the first floor just over the Airlab, always in the Rimembranze di Lambrate building.'''&lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday 3 June|| 9:00-19:30 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=6569</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=6569"/>
				<updated>2009-05-24T21:49:56Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan.&lt;br /&gt;
&lt;br /&gt;
'''The Lab has moved. It is now located at the first floor just over the Airlab, always in the Rimembranze di Lambrate building.'''&lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Monday 25 May|| 9:00-19:30 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=6475</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=6475"/>
				<updated>2009-05-18T15:28:49Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan.&lt;br /&gt;
&lt;br /&gt;
'''The Lab has moved. It is now located at the first floor just over the Airlab, always in the Rimembranze di Lambrate building.'''&lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Every wednesday || 9:00-19:30 || [[User:RossellaBlatt]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Every thursday || 9:00-19:30 || [[User:RossellaBlatt]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday 19 May|| 9:00-19:30 || [[User:TizianoDabis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=6474</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=6474"/>
				<updated>2009-05-18T15:28:26Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan.&lt;br /&gt;
&lt;br /&gt;
'''The Lab has moved. It is now located at the first floor just over the Airlab, always in the Rimembranze di Lambrate building.'''&lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Every wednesday || 9:00-19:30 || [[User:RossellaBlatt]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Every thursday || 9:00-19:30 || [[User:RossellaBlatt]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday 19 Maj|| 9:00-19:30 || [[User:TizianoDabis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=6053</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=6053"/>
				<updated>2009-04-25T07:44:16Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan. &lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Every wednesday || 9:00-19:30 || [[User:RossellaBlatt]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Every thursday || 9:00-19:30 || [[User:RossellaBlatt]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Friday 24 April || 14:30-18:00 || [[User:FedericoRinaldi]] [[User:FrancescoSpadoni]] || RehabRobot&lt;br /&gt;
|-&lt;br /&gt;
| Monday 29 April || 9:00-19:30 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5962</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5962"/>
				<updated>2009-04-14T19:03:43Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 3: Project tracking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
* 09/04/2009: finished implemented the feedback application module in BCI2000&lt;br /&gt;
* 09/04/2009: started writing the thesis&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5713</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5713"/>
				<updated>2009-03-28T14:31:40Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 3: Project tracking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value&lt;br /&gt;
* 27/03/2009: finished implementing phase lock value, relevant correlations found&lt;br /&gt;
* 27/03/2009: started implementing the classification algorithm in BCI2000&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5593</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5593"/>
				<updated>2009-03-23T19:47:59Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 3: Project tracking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: Formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
* 18/03/2009: working on feature selection for EEG classification&lt;br /&gt;
* 21/03/2009: implemented a genetic algorithm for feature selection&lt;br /&gt;
* 23/03/2009: working on phase lock value for feature selection&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5474</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5474"/>
				<updated>2009-03-12T19:49:13Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 3: Project tracking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
* 12/03/2009: Formal description (with Push Down Automata) of two interfaces and simulation of their performances with different probabilities&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5426</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5426"/>
				<updated>2009-03-07T15:38:39Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 3: Project tracking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working on feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
* 10/02/2009: first result data about classification accuracy inside the same session&lt;br /&gt;
* 10/02/2009: working on classification accuracy across sessions&lt;br /&gt;
* 15/02/2009: developing Speller application: formally description of the GUI behaviour using a FSM&lt;br /&gt;
* 20/02/2009: implemented XML configurability of the interface in the Speller application&lt;br /&gt;
* 22/02/2009: implemented a patch for Presage to customize prediction features&lt;br /&gt;
* 23/02/2009: generated n-gram statistics from a partition of the British National Corpus&lt;br /&gt;
* 25/02/2009: redesign of the interface structure, refactoring of the Speller application code, implementation of new Speller features&lt;br /&gt;
* 01/03/2009: working on the Speller simulator program&lt;br /&gt;
* 02/03/2009: first version of the Speller simulator without errors and with pre-calculated paths&lt;br /&gt;
* 07/03/2009: Speller simulator implemented as a stack machine, including error handling and a breadth-first path-finding algorithm&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5140</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5140"/>
				<updated>2009-02-07T12:28:42Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 3: Project tracking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* 05/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* 10/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* 15/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* 20/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
* 05/02/2009: demo of the Speller with letter prediciton&lt;br /&gt;
* 05/02/2009: working ok feature selection/extraction for the offline classification of the EEG&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=5043</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=5043"/>
				<updated>2009-01-28T17:07:26Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan. &lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
|29 Jan || 9:30-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|30 Jan || 9:30-18:00 || [[User:BernardoDalSeno]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|2 Feb || 10:00-18:00 || [[User:BernardoDalSeno]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|5 Feb || 9:30-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|6 Feb || 18:00-24:00 || [[User:BernardoDalSeno]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|7 Feb || 0:00-18:00 || [[User:BernardoDalSeno]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|19 Feb || 9:30-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|26 Feb || 9:30-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5002</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=5002"/>
				<updated>2009-01-24T10:49:43Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 3: Project tracking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* __/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* __/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* __/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* __/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
* 23/01/2009: first demo of the Speller controlled by keyboard and without letter prediction&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4948</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4948"/>
				<updated>2009-01-05T08:42:21Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Part 3: Project tracking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* __/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* __/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* __/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* __/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2009: started implementing the Speller application in BCI2000&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4947</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4947"/>
				<updated>2009-01-05T08:40:41Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: published the first document describing the thesis&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaptation for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaptation algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaptation&lt;br /&gt;
* --/12/2008: implemented two algorithms for weight adaptation: RLMS and Delta rule&lt;br /&gt;
* --/12/2008: implemented a batch MATLAB script for the off-line analysis &lt;br /&gt;
* --/12/2008: implemented a MATLAB script to simulate the on-line computation of the spectrum&lt;br /&gt;
* --/12/2008: designed classes for the Speller application&lt;br /&gt;
* 02/01/2008: started implementing the Speller application in BCI2000  &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4920</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4920"/>
				<updated>2008-11-19T16:09:15Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan. &lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 20 November || 10:00-19:30 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 27 November || 14:00-18:30 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Thursday  4 December || 14:00-18:30 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4764</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4764"/>
				<updated>2008-11-11T17:35:47Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan. &lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday 12 November || 14:00-18:00 || [[User:TizianoDalbis]]  || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 13 November || 10:00-15:00 || [[User:AndreaSgarlata]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 13 November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 20 November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 27 November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Thursday  4 December || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4741</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4741"/>
				<updated>2008-11-09T17:13:04Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* '''Part 3: Project tracking''' */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: first document describing the thesis published&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaption for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaption algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
* 03/11/2008: thesis description document update: updated the section on weights adaption&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4740</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4740"/>
				<updated>2008-11-09T17:11:35Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* '''Part 4: Documents''' */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: first document describing the thesis published&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaption for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaption algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 11/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=File:Predictive_BCI_speller_v1.pdf&amp;diff=4739</id>
		<title>File:Predictive BCI speller v1.pdf</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=File:Predictive_BCI_speller_v1.pdf&amp;diff=4739"/>
				<updated>2008-11-09T17:11:07Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: uploaded a new version of &amp;quot;Image:Predictive BCI speller v1.pdf&amp;quot;: Description document for the thesis: &amp;quot;Predictive BCI Speller based on motor imagery&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First document with main ideas about Predicrive BCI Speller.&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4700</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4700"/>
				<updated>2008-11-03T17:53:16Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* '''Part 4: Documents''' */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: first document describing the thesis published&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaption for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaption algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 03/11/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=File:Predictive_BCI_speller_v1.pdf&amp;diff=4699</id>
		<title>File:Predictive BCI speller v1.pdf</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=File:Predictive_BCI_speller_v1.pdf&amp;diff=4699"/>
				<updated>2008-11-03T17:52:44Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: uploaded a new version of &amp;quot;Image:Predictive BCI speller v1.pdf&amp;quot;: Description of the thesis: Predictive BCI Speller based on Motor Imagery&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First document with main ideas about Predicrive BCI Speller.&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4698</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4698"/>
				<updated>2008-11-03T17:51:45Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* '''Part 3: Project tracking''' */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: first document describing the thesis published&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaption for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaption algorithm&lt;br /&gt;
* 31/10/2008: thesis description document update: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
* 03/11/2008: thesis description document update: started a new chapter about letter prediction&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 31/10/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4687</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4687"/>
				<updated>2008-10-31T19:02:00Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan. &lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 6  November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 13 November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 20 November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4686</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4686"/>
				<updated>2008-10-31T19:01:32Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan. &lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 6  November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
-&lt;br /&gt;
| Thursday 13 November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
-&lt;br /&gt;
| Thursday 20 November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4684</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4684"/>
				<updated>2008-10-31T19:01:11Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan. &lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
| Thursday 6  November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
| Thursday 13 November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
| Thursday 20 November || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4682</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4682"/>
				<updated>2008-10-31T18:57:23Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* '''Part 4: Documents''' */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: first document describing the thesis published&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaption for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaption algorithm&lt;br /&gt;
* 31/10/2008: revision of the thesis description document: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 31/10/2008]&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4681</id>
		<title>Predictive BCI Speller based on Motor Imagery</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=Predictive_BCI_Speller_based_on_Motor_Imagery&amp;diff=4681"/>
				<updated>2008-10-31T18:56:57Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* '''Part 3: Project tracking''' */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Part 1: Project profile''' ==&lt;br /&gt;
&lt;br /&gt;
=== Project name ===&lt;br /&gt;
&lt;br /&gt;
BCI based on Motor Imagery&lt;br /&gt;
&lt;br /&gt;
=== Project short description ===&lt;br /&gt;
&lt;br /&gt;
This project is aimed is to control an external device through the analysis of brain waves measured on the human scalp.&lt;br /&gt;
&lt;br /&gt;
=== Dates ===&lt;br /&gt;
Start date: 01/05/2008&lt;br /&gt;
&lt;br /&gt;
End date: &lt;br /&gt;
&lt;br /&gt;
=== Website(s) ===&lt;br /&gt;
&lt;br /&gt;
http://airlab.elet.polimi.it/index.php/airlab/theses_lab_projects/brain_computer_interfaces_based_on_motor_imagery&lt;br /&gt;
&lt;br /&gt;
=== People involved ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Project head(s) =====&lt;br /&gt;
&lt;br /&gt;
* [[User:MatteoMatteucci | Matteo Matteucci]] (professor)&lt;br /&gt;
* [[User:SbattellaLicia | Sbattella Licia]] (professor)&lt;br /&gt;
&lt;br /&gt;
===== Other Politecnico di Milano people =====&lt;br /&gt;
&lt;br /&gt;
* [[User:RossellaBlatt | Rossella Blatt]] (phd student)&lt;br /&gt;
&lt;br /&gt;
===== Students currently working on the project =====&lt;br /&gt;
&lt;br /&gt;
* [[User:TizianoDalbis | Tiziano D'Albis]] (master student)&lt;br /&gt;
&lt;br /&gt;
=== Laboratory work and risk analysis ===&lt;br /&gt;
&lt;br /&gt;
Laboratory work for this project will be mainly performed at AIRLab-IIT/Lambrate. The main activity consists in the acquisition of brain signals through an EEG amplifier for on-line or off-line processing.  This is a potentially risky activity since there is an electrical instrumentation that is in direct contact with the human body. It is thus important to keep the system isolated from the power line. The EEG amplifier (as all biomedical instrumentations) is certified by the vendor to be isolated and the acquired data are transferred to the PC using an optic fiber connection . Anyhow for increased safety the PC and any other electronic device connected to the system must be disconnected from the power line.&lt;br /&gt;
Standard safety measures described in [http://airlab.elet.polimi.it/index.php/airlab/content/download/461/4110/file/documento_valutazione_rischi_AIRLab.pdf Safety norms] will be followed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 2: Project description''' ==&lt;br /&gt;
&lt;br /&gt;
The goal of this project is to implement a BCI system supporting people with motor disabilities to communicate effectively. &lt;br /&gt;
The main idea is to adopt the &amp;quot;virtual keyboard&amp;quot; paradigm in which a series of symbols are selected by means of a BCI interface.&lt;br /&gt;
&lt;br /&gt;
This kind of communication can be included in the class of Alternative and Augmentative Communication (AAC) and the main issue with it is in the need of minimizing the number of selections required by the user while running the application. Indeed the selection process could be costly (both in terms of time and effort) for the target users of these kinds of systems.&lt;br /&gt;
&lt;br /&gt;
The adoption of a BCI interface, moreover, sets also a limit to the number of alternative choices available for each selection. This limit depends on the specific BCI paradigm used and on the way the selection process is carried out. Using a scanning approach, for example, it is possible to overcome this kind of limit, but introducing the drawback of much longer selection delays. &lt;br /&gt;
&lt;br /&gt;
On the other side with a direct selection it is possible to classify effectively a very limited number of states, with common BCI paradigms this limit is usually set to 2,3 or 4.&lt;br /&gt;
The Motor Imagery paradigm, instead, is somehow different because it could be used to translate sensymotor rhythms in the continuous movement of a cursor in 2 dimensions. In this case it is possible to associate a choice with a target on the screen and perform a selection just hitting a screen target with the cursor. With this kind of approach the number of different choices is limited only by the precision of the cursor movement that can be achieved.&lt;br /&gt;
&lt;br /&gt;
The main idea of this thesis is group the alphabetical letters in sets and than recursively expand them (with a selection based on motor imagery) till a single letter is selected. Moreover we want to aid the selection process displaying the most probable letters in sets with a low number of elements, thus minimizing the selection steps required by the user. Finally we want to implement also a word completion and prediction algorithm that would give also the possibility to select a whole word in one shot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 3: Project tracking''' ==&lt;br /&gt;
&lt;br /&gt;
* 01/04/2008: started studying literature about BCI and Motor Imagery&lt;br /&gt;
* 01/05/2008: started acquiring data with BCI2000 - performing initial sessions&lt;br /&gt;
* 01/06/2008: stated performing feedback sessions with cursor movement in 1D&lt;br /&gt;
* 01/09/2008: first idea about the predictive BCI speller&lt;br /&gt;
* 10/09/2008: started studying literature about AAC and NLP&lt;br /&gt;
* 24/09/2008: first document describing the thesis published&lt;br /&gt;
* 21/10/2008: started studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 21/10/2008: started studying how to implement in BCI2000 the algorithm of weights adaption for 2D cursor movement&lt;br /&gt;
* 24/10/2008: finished studying the thesis about &amp;quot;Soothsayer&amp;quot; by Matteo Vescovi&lt;br /&gt;
* 24/10/2008: added a chapter in thesis description about the weights adaption algorithm&lt;br /&gt;
* 31/10/2008: revision of the thesis description document: added a detailed description of the BCI, new appendix about R^2 calculation&lt;br /&gt;
&lt;br /&gt;
== '''Part 4: Documents''' ==&lt;br /&gt;
&lt;br /&gt;
* Thesis description document: [[image:predictive_BCI_speller_v1.pdf | predictive_BCI_speller_v1.pdf ]] [ITA] [Draft] [Last update: 24/10/2008]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 5: References''' ==&lt;br /&gt;
&lt;br /&gt;
* Control of two-dimensional movement signals by a noninvasive brain-computer interface in humans, Wolpaw J.R., McFarland J., PNAS, vol. 101, no. 51, december 2004, pages 17849-17854.&lt;br /&gt;
* Brain Computer interfaces for communication and control, Wolpaw J.R., Birbaumer N., McFarland D., Pfurtsheller G., Vaughan T., Clinical Neurophysiology 113, 2002, 767-791&lt;br /&gt;
* EEG based communication: prospects and problems, Vaughan T., Wolpaw J.R., Donchin E., IEEE transactions on rehabilitation engineering, vol. 4, no. 4, december 1996, pages 425-430.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Part 6: Links''' ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Electroencephalographs]]&lt;br /&gt;
* [[How to mount electrodes]]&lt;br /&gt;
* [[How to setup BCI software]]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=File:Predictive_BCI_speller_v1.pdf&amp;diff=4679</id>
		<title>File:Predictive BCI speller v1.pdf</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=File:Predictive_BCI_speller_v1.pdf&amp;diff=4679"/>
				<updated>2008-10-31T18:53:03Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: uploaded a new version of &amp;quot;Image:Predictive BCI speller v1.pdf&amp;quot;: Description of the thesis &amp;quot;Predictive BCI Speller based on Motor Imagery&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First document with main ideas about Predicrive BCI Speller.&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	<entry>
		<id>https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4589</id>
		<title>IIT-Lab</title>
		<link rel="alternate" type="text/html" href="https://airwiki.deib.polimi.it/index.php?title=IIT-Lab&amp;diff=4589"/>
				<updated>2008-10-27T17:37:38Z</updated>
		
		<summary type="html">&lt;p&gt;TizianoDalbis: /* Booking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the IIT-Lab ==&lt;br /&gt;
&lt;br /&gt;
AIRLab-IITLab is dedicated to activities founded by the Italian Institute of Technology. &lt;br /&gt;
The lab hosts activities related to Brain-Computer Interfaces (BCI) and Affective Computing.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
It is located in the Rimembranze di Lambrate building of the Department of Electronics and Information, Via Rimembranze di Lambrate, 14, Milan. &lt;br /&gt;
&lt;br /&gt;
=== Access Rules ===&lt;br /&gt;
The access to AIRLab-IITLab is reserved to registered users. If you are student and want to register, you have to fill the AIRLab registration form (to be signed by your tutor) and the security form. The key of the lab is provided to registered users by the doorkeeper at the main entrance of the Lambrate building. &lt;br /&gt;
&lt;br /&gt;
=== Booking ===&lt;br /&gt;
&lt;br /&gt;
Please book the instrument you want to use by adding an entry to the table; the booking of an instrument implies the booking of the room.  If you want to use a different instrument at the same time of an existing booking, please contact the other person involved and check that you can share the room; alternatively, you can ask the doorkeeper for an empty room in the building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep the table lines ordered by time (nearest bookings first); add new entries like this:&lt;br /&gt;
---CUT---&lt;br /&gt;
| Monday 13 March || 11:00-18:00 || [[User:DonaldDuck]] || ProComp&lt;br /&gt;
|- &lt;br /&gt;
| Friday 15 April || 9:30-13:00 || [[User:MickeyMouse]] || EEG&lt;br /&gt;
|- &lt;br /&gt;
---CUT---&lt;br /&gt;
Use abbreviations, if you like.&lt;br /&gt;
Please remove old entries.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Day !! Time !! Person !! Instrument&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Thursday 30 October || 15:00-18:00 || [[User:TizianoDalbis]] || EEG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [[Brain-Computer Interface]] page on this Wiki&lt;br /&gt;
* [[Affective Computing]] page on this Wiki&lt;br /&gt;
* [http://www.airlab.elet.polimi.it/index.php/airlab/visitor_info/airlab_iitlab AIRLab - IITLab]&lt;/div&gt;</summary>
		<author><name>TizianoDalbis</name></author>	</entry>

	</feed>