Re: Issues accessing class attributes of external package distance function

Peter Reutemann <[email protected]> Mon, 18 Jul 2022 10:39:44 +1200
Newsgroups gmane.comp.ai.weka
Message-ID <CAHoQ12+PaQ_Uq+2TrDH5sY92huwJfu5S1zrsLe0U2z7+Qhz9pA@mail.gmail.com>
> my described approach using the getMatricesDilca method works, but doing that or subclassing from java would still mean I would have to instruct the user, aiming at reproducing my research, to build a new jar and overwrite the existing one, right? I want to avoid this specifically and enable the user to use official-package-extended Weka (without having to use java-related build tools).

You could host your own Weka package on github that people can
install. E.g., your class DilcaDistancePub would only make the
relevant methods public, but not contain any other actual code. This
package would then depend on the official DilcaDistance Weka package.

https://waikato.github.io/weka-wiki/packages/

Cheers, Peter
-- 
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174 (office)
+64 (7) 577-5304 (home office)
https://www.cs.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html