From: Joerg K. W. <we...@in...> - 2003-08-14 09:31:55
|
Hi Gert, > But shouldn't you better add the modified weka.jar to the lib-directory in > that case? Or mention the necessary modifications to weka in the build.xml > file? I think these things can already be freely discussed in the developer mailing list. I hope this will not to much 'developer stuff' for the subscribers of the helping mailing list. On the other side JOELib has (in my opinion) a 70% developer focus, so the division into help-, and developer-mailing list is not really clear. Please write a comment if you want to tell us your thoughts ... > Anyway, my opinion would be to try to subclass the classes of the used > packages in case of a protected modifier or to write new classes in the > same package as the 'stubborn' class in case of a package modifier. In my > eyes this is more elegant, since you leave the other peoples code intact. > How does it look in the eyes of a more skilled coder? I don't care, because that's only one single entry. Because this functionality has it's focus on developers, i think they will be easily able to change 'protected' to 'public' and recompile the sources. If not i can offer a source code patch and/or the ant target for doing such things. Furthermore i do not find the weka design decision for this class not really good. Protected is to restricted for such an important class, that like making atoms protected. Another possibility is to add a simple Mol2Instance class in the weka source package to fullfill the protected case. Adding the weka.jar is definitely possible, but will increment the joelib distribution. And last but not least you can write a wrapper if you like and pick the required functionalites from the InstancesHelper from JOELib. So i think adding somewere a note in the tutorial would be fine, because i've an internal CVS version also. That's my way, when developing 'machine learning' tools and hacking them. > Regards, > Gert Regards, Joerg -- Dipl. Chem. Joerg K. Wegner Center of Bioinformatics Tuebingen (ZBIT) Department of Computer Architecture Univ. Tuebingen, Sand 1, D-72076 Tuebingen, Germany Phone: (+49/0) 7071 29 78970 Fax: (+49/0) 7071 29 5091 E-Mail: mailto:we...@in... WWW: http://www-ra.informatik.uni-tuebingen.de -- Never mistake motion for action. E. Hemingway |