/// <summary> /// Create a SQL neural data set. /// </summary> /// <param name="sql">The SQL to execute.</param> /// <param name="inputSize">The size of the input data being read.</param> /// <param name="idealSize">The size of the ideal output data being read.</param> /// <param name="connectString">The connection string.</param> public SQLMLDataSet(String sql, int inputSize, int idealSize, String connectString) { IDataSetCODEC codec = new SQLCODEC(sql, inputSize, idealSize, connectString); var load = new MemoryDataLoader(codec) {Result = this}; load.External2Memory(); }
public SQLMLDataSet(string sql, int inputSize, int idealSize, string connectString) { MemoryDataLoader loader2; if ((((uint) idealSize) + ((uint) inputSize)) >= 0) { IDataSetCODEC codec = new SQLCODEC(sql, inputSize, idealSize, connectString); loader2 = new MemoryDataLoader(codec) { Result = this }; } loader2.External2Memory(); }