Finding the similarity measure in python-weka-wrapper3-examples

37 views
Skip to first unread message

Ajinkya Indulkar

unread,
Mar 1, 2021, 2:29:08 PM3/1/21
to python-we...@googlegroups.com
Hello, could you help to locate the similarity measure which is the euclidean distance in python-weka-wrapper3?

Peter Reutemann

unread,
Mar 1, 2021, 2:51:57 PM3/1/21
to python-weka-wrapper
> Hello, could you help to locate the similarity measure which is the euclidean distance in python-weka-wrapper3?

pww3 doesn't have an explicit wrapper for distance functions. If you
want to use a different function, then you change the command-line
option of the algorithm that you are using (provided the algorithm
allows this). In case of SimpleKMeans, this is done via the -A option
as you can see from the Javadoc that I've posted a few times:
https://weka.sourceforge.io/doc.dev/weka/clusterers/SimpleKMeans.html

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 577-5304
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
Reply all
Reply to author
Forward
0 new messages