|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rapidminer.tools.AbstractObservable<Operator>
com.rapidminer.operator.Operator
com.rapidminer.operator.clustering.clusterer.AbstractClusterer
com.rapidminer.operator.clustering.clusterer.RMAbstractClusterer
com.rapidminer.operator.clustering.clusterer.SVClustering
public class SVClustering
An implementation of Support Vector Clustering based on [BenHur/etal/2001a]. This operator will create a cluster attribute if not present yet.
Field Summary | |
---|---|
static int |
KERNEL_DOT
Indicates a linear kernel. |
static int |
KERNEL_NEURAL
Indicates a neural net kernel. |
static int |
KERNEL_POLYNOMIAL
Indicates a polynomial kernel. |
static int |
KERNEL_RADIAL
Indicates a rbf kernel. |
static java.lang.String |
MIN_PTS_NAME
|
static int |
NOISE
|
static java.lang.String |
NOISE_CLUSTER_DESCRIPTION
|
static java.lang.String |
PARAMETER_CONVERGENCE_EPSILON
The parameter name for "Precision on the KKT conditions" |
static java.lang.String |
PARAMETER_KERNEL_A
The parameter name for "The SVM kernel parameter a (neural). |
static java.lang.String |
PARAMETER_KERNEL_B
The parameter name for "The SVM kernel parameter b (neural). |
static java.lang.String |
PARAMETER_KERNEL_CACHE
The parameter name for "Size of the cache for kernel evaluations im MB " |
static java.lang.String |
PARAMETER_KERNEL_DEGREE
The parameter name for "The SVM kernel parameter degree (polynomial). |
static java.lang.String |
PARAMETER_KERNEL_GAMMA
The parameter name for "The SVM kernel parameter gamma (radial). |
static java.lang.String |
PARAMETER_KERNEL_TYPE
The parameter name for "The SVM kernel type" |
static java.lang.String |
PARAMETER_MAX_ITERATIONS
The parameter name for "Stop after this many iterations" |
static java.lang.String |
PARAMETER_NUMBER_SAMPLE_POINTS
The parameter name for "The number of virtual sample points to check for neighborship. |
static java.lang.String |
PARAMETER_P
The parameter name for "The fraction of allowed outliers. |
static java.lang.String |
PARAMETER_R
The parameter name for "Use this radius instead of the calculated one (-1 for calculated radius). |
protected static int |
UNASSIGNED
|
Fields inherited from class com.rapidminer.operator.clustering.clusterer.RMAbstractClusterer |
---|
PARAMETER_ADD_AS_LABEL, PARAMETER_ADD_CLUSTER_ATTRIBUTE, PARAMETER_REMOVE_UNLABELED |
Fields inherited from interface com.rapidminer.operator.learner.CapabilityProvider |
---|
PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN |
Constructor Summary | |
---|---|
SVClustering(OperatorDescription description)
|
Method Summary | |
---|---|
static Kernel |
createKernel(int kernelType)
Creates a new kernel of the given type. |
ClusterModel |
generateClusterModel(ExampleSet exampleSet)
Generates a cluster model from an example set. |
protected java.util.LinkedList<java.lang.Integer> |
getNeighbours(ExampleSet exampleSet,
Example centroid,
int centroidIndex,
int[] assignments,
SVClusteringAlgorithm clustering)
|
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
boolean |
supportsCapability(OperatorCapability capability)
Checks for Learner capabilities. |
Methods inherited from class com.rapidminer.operator.clustering.clusterer.RMAbstractClusterer |
---|
addsClusterAttribute, addsIdAttribute |
Methods inherited from class com.rapidminer.operator.clustering.clusterer.AbstractClusterer |
---|
doWork, getAdditionalAttributes, getClusterModelClass, getExampleSetInputPort, shouldAutoConnect |
Methods inherited from class com.rapidminer.tools.AbstractObservable |
---|
addObserver, addObserverAsFirst, fireUpdate, removeObserver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MIN_PTS_NAME
public static final java.lang.String PARAMETER_KERNEL_TYPE
public static final java.lang.String PARAMETER_KERNEL_GAMMA
public static final java.lang.String PARAMETER_KERNEL_DEGREE
public static final java.lang.String PARAMETER_KERNEL_A
public static final java.lang.String PARAMETER_KERNEL_B
public static final java.lang.String PARAMETER_KERNEL_CACHE
public static final java.lang.String PARAMETER_CONVERGENCE_EPSILON
public static final java.lang.String PARAMETER_MAX_ITERATIONS
public static final java.lang.String PARAMETER_P
public static final java.lang.String PARAMETER_R
public static final java.lang.String PARAMETER_NUMBER_SAMPLE_POINTS
public static final int KERNEL_DOT
public static final int KERNEL_RADIAL
public static final int KERNEL_POLYNOMIAL
public static final int KERNEL_NEURAL
protected static final int UNASSIGNED
public static final int NOISE
public static final java.lang.String NOISE_CLUSTER_DESCRIPTION
Constructor Detail |
---|
public SVClustering(OperatorDescription description)
Method Detail |
---|
public ClusterModel generateClusterModel(ExampleSet exampleSet) throws OperatorException
AbstractClusterer
Operator.apply()
.
generateClusterModel
in class AbstractClusterer
OperatorException
protected java.util.LinkedList<java.lang.Integer> getNeighbours(ExampleSet exampleSet, Example centroid, int centroidIndex, int[] assignments, SVClusteringAlgorithm clustering) throws UndefinedParameterError
UndefinedParameterError
public static Kernel createKernel(int kernelType)
public boolean supportsCapability(OperatorCapability capability)
CapabilityProvider
supportsCapability
in interface CapabilityProvider
public java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes
in interface ParameterHandler
getParameterTypes
in class RMAbstractClusterer
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |