knowing/Medmon — Issue #53: ImportWizard: Import file
Author: muuki88
Created: 2011-12-05 21:47:14+00:00
State: open

### Task
Implement function to import a _csv_ or _arff_ file as training or raw data.

### Function

ImportDataWizard:

* [ImportDataPatientAndTypePage](https://github.com/knowing/Medmon/blob/master/de.lmu.ifi.dbs.medmon.medic.ui/src/de/lmu/ifi/dbs/medmon/medic/ui/wizard/pages/ImportDataPatientAndTypePage.java) select _source_ == _file_
* [ImportDataSensorPage](https://github.com/knowing/Medmon/blob/master/de.lmu.ifi.dbs.medmon.medic.ui/src/de/lmu/ifi/dbs/medmon/medic/ui/wizard/pages/ImportDataSensorPage.java) select _Sensor_ and browse directory ( #52 )
* [ImportDataSubsetPage] not implemented yet

The data format is always _.arff_. The weka Instances format.

### Problem

Importing raw sensor data from a csv or arff file leads to the following problem:
*The _IConverter_ of _ISensor_ cannot handle the arff file.*

Possible solutions:

1. Extend _IConverter_ interface with `void convert(Instances data, Outputstream destination)`
2. Extend data formats to _TRAIN_, _RESULT_, _RAW_ and _RAW_ARFF_
3. Store all data in arff format.

### Additional Information

Weka offers simple converters for CSV and ARFF.
ArffLoader, CsvLoader and ArffSaver.

@see ticket #37
@see ticket #38
@see ticket #52