serial_monitor/src/serialApplication/MLCorrector.java
/* Adds & saves specified Instance to source ARFF file.
	 * @param instance - instance to be added to end of file.
	 * Returns true if file was updated, false otherwise.
	 */
Adds & saves specified Instance to source ARFF file.
@param instance - instance to be added to end of file.
Returns true if file was updated, false otherwise.
Adds & saves specified Instance to source ARFF file . @param instance - instance to be added to end of file . Returns true if file was updated false otherwise .
public boolean addToArff(String init, char alternate) {
		ArffSaver saver = new ArffSaver();
		Instance instance = new DenseInstance(sourceDataSet.get(0));
		instance.setValue(sourceDataSet.attribute(0), init);
		sourceDataSet.add(instance);
		return true;
	}
public boolean addToArff ( String init , char alternate ) { ArffSaver saver = new ArffSaver ( ) ; Instance instance = new DenseInstance ( sourceDataSet . get ( 0 ) ) ; instance . setValue ( sourceDataSet . attribute ( 0 ) , init ) ; sourceDataSet . add ( instance ) ; return true ; }
Adds & saves specified Instance to source ARFF file.
Adds & saves specified Instance to source ARFF file .
//instance.setValue(sourceDataSet.attribute(1), String.valueOf(alternate));
