- alıntı -
Step 3: Open the database
Start up the Weka Explorer. If you want to be sure that the DatabaseUtils.props file is in the current path, you can open a command prompt window, change to the directory where the DatabaseUtils.props file is located, make sure your CLASSPATH environment variable is set correctly (or set it with the -cp option to java) and launch the Explorer with the following command:
java weka.gui.explorer.Explorer
Choose Open DB...
Edit the query field to read 'select * from tablename' where tablename is the name of the database table you want to read, or you could put a more complicated SQL query here instead.
The databaseURL should read 'jdbc:odbc:dbname' where dbname is the name you gave the user DSN.
Click OK
At this point the data should be read from the database.
- edit -
bu da sql için metod.. ancak bazen sql de sçabiliyor weka ;)
http://weka.wikispaces.com/Databases