public Instances samoaInstances ( weka . core . Instances instances ) { Instances samoaInstances = samoaInstancesInformation ( instances ) ; //We assume that we have only one samoaInstanceInformation for WekaToSamoaInstanceConverter this . samoaInstanceInformation = samoaInstances ; for ( int i = 0 ; i < instances . numInstances ( ) ; i ++ ) { samoaInstances . add ( samoaInstance ( instances . instance ( i ) ) ) ; } return samoaInstances ; }
Samoa instances from weka instances .