Re: [Classifier4j-devel] How do I train it?
Status: Beta
Brought to you by:
nicklothian
From: moedusa <mo...@in...> - 2003-11-11 11:07:28
|
Nick, I have understood how it works looking at unit tests, but to make it work I'v made some chages... I use custom categories, so it have to make me fix some inconsistencies: 1. in JDBCWordsDataSource - constructor did not initialised IJDBCConnectionManager connectionManager provided to it ( I added connectionManager = cm; below commented string //this(cm, ICategorisedClassifier.DEFAULT_CATEGORY);). 2. in DriverMangerJDBCConnectionManager I added one more constructor and one private field dbDriver (String) and slightly changed getConnection() method to initialise driver class if dbDriver != null (Class.forName(dbDriver) After this I could make things work as needed, so that's okay now :) Philipp. |