public class PixelClustering extends Object
| Constructor and Description |
|---|
PixelClustering()
Empty constructor
|
PixelClustering(weka.core.Instances featuresInstances,
weka.clusterers.AbstractClusterer clusterer)
Construct PixelClustering object with a specific set of instances
and clustering model
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildClusterer()
Build current clusterer based on the current instances
|
weka.core.Instances |
getFeaturesInstances()
Get features instances that are being used
|
weka.clusterers.AbstractClusterer |
getSelectedClusterer()
Get selected clusterer
|
void |
setFeaturesInstances(weka.core.Instances featuresInstances)
Set feature instances to be used
|
void |
setSelectedClusterer(weka.clusterers.AbstractClusterer selectedClusterer)
Set selected clusterer
|
public PixelClustering()
public PixelClustering(weka.core.Instances featuresInstances, weka.clusterers.AbstractClusterer clusterer)
featuresInstances - set of instances to use for building the clustererclusterer - clustering Weka model to be usedpublic void buildClusterer()
public void setFeaturesInstances(weka.core.Instances featuresInstances)
featuresInstances - instances to be usedpublic weka.core.Instances getFeaturesInstances()
public weka.clusterers.AbstractClusterer getSelectedClusterer()
public void setSelectedClusterer(weka.clusterers.AbstractClusterer selectedClusterer)
selectedClusterer - clustering Weka modelCopyright © 2010–2024 Fiji. All rights reserved.