PDA

View Full Version : SQL Commands and WEKA API



lmiguelgomes
01-29-2007, 07:42 AM
Is it possible feed WEKA API's directly with SQL commands, without .ARFF files ?

Thanks,

fracpete
01-29-2007, 08:26 PM
Is it possible feed WEKA API's directly with SQL commands, without .ARFF files ?

Yes, you can use the following class for that (it returns an weka.core.Instances object):
weka.experiment.InstanceQuery

See the Javadoc:
http://weka.sourceforge.net/doc/weka/experiment/InstanceQuery.html