Java weka.experiment InstanceQuery fields, constructors, methods, implement or subclass

Example usage for Java weka.experiment InstanceQuery fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for weka.experiment InstanceQuery.

The text is from its open source code.

Constructor

InstanceQuery()
Sets up the database drivers

Method

voidconnectToDatabase()
Opens a connection to the database.
voiddisconnectFromDatabase()
Closes the connection to the database.
booleanisConnected()
Returns true if a database connection is active.
InstancesretrieveInstances(String query)
Makes a database query to convert a table into a set of instances
InstancesretrieveInstances()
Makes a database query using the query set through the -Q option to convert a table into a set of instances
voidsetCustomPropsFile(File value)
Sets the custom properties file to use.
voidsetDatabaseURL(String newDatabaseURL)
Set the value of DatabaseURL.
voidsetDebug(boolean d)
Sets whether there should be printed some debugging output to stderr or not.
voidsetPassword(String password)
Set the database password.
voidsetQuery(String q)
Set the query to execute against the database
voidsetSparseData(boolean s)
Sets whether data should be encoded as sparse instances
voidsetUsername(String username)
Set the database username.