Example usage for Java weka.experiment InstanceQuery fields, constructors, methods, implement or subclass
The text is from its open source code.
InstanceQuery() Sets up the database drivers |
void | connectToDatabase() Opens a connection to the database. |
void | disconnectFromDatabase() Closes the connection to the database. |
boolean | isConnected() Returns true if a database connection is active. |
Instances | retrieveInstances(String query) Makes a database query to convert a table into a set of instances |
Instances | retrieveInstances() Makes a database query using the query set through the -Q option to convert a table into a set of instances |
void | setCustomPropsFile(File value) Sets the custom properties file to use. |
void | setDatabaseURL(String newDatabaseURL) Set the value of DatabaseURL. |
void | setDebug(boolean d) Sets whether there should be printed some debugging output to stderr or not. |
void | setPassword(String password) Set the database password. |
void | setQuery(String q) Set the query to execute against the database |
void | setSparseData(boolean s) Sets whether data should be encoded as sparse instances |
void | setUsername(String username) Set the database username. |