« Return to Thread: Question regarding load the trained model and test on original dataset

Re: how to include new algorithm in WEKA?

by Peter Reutemann-3 :: Rate this Message:

Reply to Author | View in Thread

> thanks i got the gpc.props file
>
> now i am stuck again--
>
> (1) the program which i want to add is ( abc.class)
>      now
>       how do i make the clusterer package? and
> (2) where to paste that clusterer package?

The package of your class ("abc") has to be added to the list of
packages of the weka.clusterers.Clusterer property in the
GenericPropertiesCreator.props file (as I've already posted earlier).

The original property from that file looks like this:

weka.clusterers.Clusterer=\
 weka.clusterers

Assuming that your class "abc" is in the package "sunil.clusterers",
the list should look like this then:

weka.clusterers.Clusterer=\
 weka.clusterers,\
 sunil.clusterers

Cheers, Peter
--
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
http://www.cs.waikato.ac.nz/~fracpete/           Ph. +64 (7) 858-5174

_______________________________________________
Wekalist mailing list
Send posts to: Wekalist@...
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

 « Return to Thread: Question regarding load the trained model and test on original dataset