RE: [Classifier4j-devel] Update Word Probability Break Down
Status: Beta
Brought to you by:
nicklothian
From: Nick L. <nl...@es...> - 2003-11-12 23:08:11
|
> 3) if this problem is not isolated to my environment, how has gone > undetected. Seems doubtful that no one has attempted to > classify teachMatch() > a 4000+ word document, or maybe it is possible. > In earlier version of C4J I did some testing with 11,000 words and MySQL. I didn't have any problem (apart from performance - which was why I switched to using a non-relational database). However I agree that others may have the same problem you have. > 4) if this problem is not limited to my configuration, what > is to be done > about it. It was suggested that I "might" want to implement > connection > pooling in my own code. It seems to me, in light of this > issue, classifier4J > needs to implement connection pooling internally? Is this possible? > I'm not keen to implement connection pooling a C4J because then it won't operate well in environments that already do their own connection pooling. On the other hand I do want to fix this bug, and the connection management system in C4J was designed to make it easy to implement connection pooling if required. > 5) Meanwhile, any hints on implementing connection pooling in > conjunction with > classifier4J would be greatly appreciated. > Write a class that implements the net.sf.classifier4J.bayesian.IJDBCConnectionManager interface, then use that instead of DriverMangerJDBCConnectionManager You can probably just rename the modified DriverMangerJDBCConnectionManager to PoolingJDBCConnectionManager or something. Could you submit this back to classifier4J? Just send the code to the list. > I really wish I had some idea what I was talking about... > It makes sense to me! |