RE: [Classifier4j-devel] How do I train it?
Status: Beta
Brought to you by:
nicklothian
From: Nick L. <nl...@es...> - 2003-11-11 22:22:09
|
> > 1. in JDBCWordsDataSource - constructor did not initialised > IJDBCConnectionManager connectionManager provided to it ( I added > connectionManager = cm; below commented string //this(cm, > ICategorisedClassifier.DEFAULT_CATEGORY);). > Yes, that is fixed in CVS (note to self - must do a release and stop wasting people's time with this bug!) > 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) > Hmm.. I had always thought it would make more sense to load the JDBC driver class in your own code. After all, I would have thought that if you are using a JDBC based database for Classifier4J then there is a good chance you are using it for other things as well, so it makes sense for you to control your own driver loading. Do people disagree with this logic? Nick |