PDA

View Full Version : Using Data base from WEKA How?



JauB
02-20-2008, 05:40 AM
Hi,
How can I interact with a database? i'm using DB2 as a database. i see in some documentation that i must change the file "DatabaseUtils.props" wich is in weka\experiment and regenerate the weka.jar but i don't know where i must put the driver of my database!
is this the the way to do or....?
Help please.;)

Mark
02-20-2008, 05:06 PM
Hi,

Take a look at the following Wiki page for information about using databases with Weka:

http://weka.sourceforge.net/wiki/index.php/Databases

Note - once you have modified the DatabaseUtils.props file, you don't have to re-create the weka.jar with the new .props included. Weka will check the current directory and then the user's home directory (in that order) for a DatabaseUtils.props file and then use that one instead of the default in weka/experiement.

Cheers,
Mark.