public weka . core . Instances wekaInstances ( Instances instances ) { weka . core . Instances wekaInstances = wekaInstancesInformation ( instances ) ; //We assume that we have only one WekaInstanceInformation for SamoaToWekaInstanceConverter this . wekaInstanceInformation = wekaInstances ; for ( int i = 0 ; i < instances . numInstances ( ) ; i ++ ) { wekaInstances . add ( wekaInstance ( instances . instance ( i ) ) ) ; } return wekaInstances ; }
Weka instances .