org.encog.platformspecific.j2se.data
public class SQLNeuralDataSet extends BasicMLDataSet
BasicMLDataSet.BasicMLIterator
Constructor and Description |
---|
SQLNeuralDataSet(Connection theConnection,
String theSQL,
int theInputSize,
int theIdealSize)
Create a SQLNeuralDataSet based on the specified connection.
|
SQLNeuralDataSet(String sql,
int inputSize,
int idealSize,
String driver,
String url,
String uid,
String pwd)
Construct a SQL dataset.
|
add, add, add, clone, close, get, getData, getIdealSize, getInputSize, getRecord, getRecordCount, isSupervised, iterator, openAdditional, setData, size, toList
public SQLNeuralDataSet(Connection theConnection, String theSQL, int theInputSize, int theIdealSize)
theConnection
- The connection to use.theSQL
- The SQL command to execute.theInputSize
- The size of the input data.theIdealSize
- The size of the ideal data.public SQLNeuralDataSet(String sql, int inputSize, int idealSize, String driver, String url, String uid, String pwd)
sql
- The SQL command to execute.inputSize
- The size of the input data.idealSize
- The size of the ideal data.driver
- The driver to use.url
- The database connection URL.uid
- The database user id.pwd
- The database password.Copyright © 2014. All Rights Reserved.