Problems with connection to a SQL Database
BurnCycle
New Altair Community Member
Hi there.
First would like to thanks for an excellent piece of software.
Well, i've been trying to create something on java that would access a SQL database and, with that, applying some learning algorithm to it.
The problem is that, after i access the DB successfully, it appears to only get the tables structure failing to get the actual data in the database.
here's some examples of the code i'm using to access the DB:
First would like to thanks for an excellent piece of software.
Well, i've been trying to create something on java that would access a SQL database and, with that, applying some learning algorithm to it.
The problem is that, after i access the DB successfully, it appears to only get the tables structure failing to get the actual data in the database.
here's some examples of the code i'm using to access the DB:
after i apply the algorithm with some code like this:
DatabaseHandler dh = DatabaseHandler.getConnectedDatabaseHandler("database link", "user", "pass");
DatabaseExampleTable db = DatabaseExampleTable.createDatabaseExampleTable(dh, "TABLE_NAME");
i got the error:
DecisionTreeLearner dtl = new DecisionTreeLearner(od);
ExampleSet e = exampledb();
Model m = dtl.doWork(e);
anyone has any idea what could be the problem?
com.rapidminer.operator.UserError: The example set has no examples
0