Re: Help

Eibe Frank <[email protected]> Sat, 12 Aug 2023 11:28:49 +1200
Newsgroups gmane.comp.ai.weka
Message-ID <CADehzLXgUFYrDGDmbGvWUv4Dbe8pxH4dCxtfiY=tR6dtbtSmrA@mail.gmail.com>
 The relevant classes and interfaces for pluggable evaluation metrics are
covered here:

https://waikato.github.io/weka-wiki/faqs/pluggable_evaluation_metrics/

The generic structure of a WEKA package is described here:

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

Some packages that implement metrics can be found in the list of WEKA
packages (look for “Metrics” in the second column) at

http://weka.sourceforge.net/packageMetaData/

These metrics are all for regression though. Here is a link to another
package that I hacked up a few years ago for a data mining competition (the
code is not production ready!):

https://www.cs.waikato.ac.nz/~eibe/quadraticWeightedKappa.zip

If you don't want to go through the trouble of making a package, you can
also use some other mechanism to ensure that your new code for the
evaluation metric is in the CLASSPATH of the JVM that is running WEKA.

Cheers,
Eibe

On Fri, 11 Aug 2023 at 17:04, Soniya Satti <[email protected]> wrote:

> how to add an evaluation metric in Weka like G-mean. what is the process
> of adding new columns to my weka interface.
> _______________________________________________
> 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
>

_______________________________________________
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