I created an EM Cluster model using the Weka Explorer,
and saved it on the
hard drive . Now I wanted to Load it on my program using the API, but I
can't find how to do it ! I couldn't find any method in the clustering
class, so I tried to open it as a seriallized object, but did nnot succed.
How can I load that .model file ?
Weka just uses Java serialization to save models, e.g., as it happens in
the weka.clusterers.ClusterEvaluation class (options -d and -l).
Have a look at the "Deserialization" section for how to load the file
again (just replace Classifier with Clusterer):
and this article for general API usage:
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
+64 (7) 838-4466 Ext. 5174