org.jdmp.weka.clusterer
Class WekaClusterer

java.lang.Object
  extended by org.jdmp.core.AbstractCoreObject
      extended by org.jdmp.core.algorithm.AbstractAlgorithm
          extended by org.jdmp.core.algorithm.clustering.AbstractClusterer
              extended by org.jdmp.weka.clusterer.WekaClusterer
All Implemented Interfaces:
Serializable, Cloneable, org.jdmp.core.algorithm.Algorithm, org.jdmp.core.algorithm.clustering.Clusterer, org.jdmp.core.algorithm.HasAlgorithmMap, org.jdmp.core.algorithm.HasAlgorithms, org.jdmp.core.CoreObject, org.jdmp.core.variable.HasVariableMap, org.jdmp.core.variable.HasVariables, Clearable, HasDescription, HasGUIObject, HasLabel

public class WekaClusterer
extends org.jdmp.core.algorithm.clustering.AbstractClusterer

See Also:
Serialized Form

Nested Class Summary
static class WekaClusterer.WekaClustererType
           
 
Nested classes/interfaces inherited from interface org.jdmp.core.algorithm.Algorithm
org.jdmp.core.algorithm.Algorithm.EdgeDirection
 
Field Summary
 
Fields inherited from class org.jdmp.core.AbstractCoreObject
ALL, COLUMN, logger, ROW, X, Y, Z
 
Fields inherited from interface org.jdmp.core.algorithm.clustering.Clusterer
INPUT, PREDICTED, WEIGHT
 
Fields inherited from interface org.jdmp.core.algorithm.Algorithm
ALGORITHMARRAY, DIMENSION, IGNORENAN, SOURCE, TARGET
 
Constructor Summary
WekaClusterer(WekaClusterer.WekaClustererType classifierName, boolean discrete, String... options)
           
 
Method Summary
 void createAlgorithm()
           
 Matrix predict(Matrix input, Matrix weight)
           
 void reset()
           
 void setNumberOfClusters(int numberOfClusters)
           
 void train(org.jdmp.core.dataset.RegressionDataSet dataSet)
           
 
Methods inherited from class org.jdmp.core.algorithm.clustering.AbstractClusterer
predict, predict
 
Methods inherited from class org.jdmp.core.algorithm.AbstractAlgorithm
addVariableKey, calculate, calculate, calculate, calculate, calculateObjects, calculateObjects, calculateObjects, clear, getAlgorithms, getAsString, getDescription, getEdgeDirection, getEdgeLabel, getGUIObject, getInputKeys, getLabel, getMatrix, getOutputKeys, getVariableKeys, getVariables, notifyGUIObject, setAlgorithm, setDescription, setEdgeDirection, setEdgeLabel, setLabel, setMatrix, setObject, setVariable, setVariables, setVariables, toString
 
Methods inherited from class org.jdmp.core.AbstractCoreObject
showGUI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
showGUI
 

Constructor Detail

WekaClusterer

public WekaClusterer(WekaClusterer.WekaClustererType classifierName,
                     boolean discrete,
                     String... options)
              throws Exception
Throws:
Exception
Method Detail

createAlgorithm

public void createAlgorithm()
                     throws Exception
Throws:
Exception

reset

public void reset()
           throws Exception
Throws:
Exception

train

public void train(org.jdmp.core.dataset.RegressionDataSet dataSet)
           throws Exception
Throws:
Exception

predict

public Matrix predict(Matrix input,
                      Matrix weight)
               throws Exception
Throws:
Exception

setNumberOfClusters

public void setNumberOfClusters(int numberOfClusters)
                         throws Exception
Throws:
Exception


Copyright © 2009. All Rights Reserved.