Click or drag to resize
Accord.NET (logo)

IClusterCollectionTData, TCluster Interface

Note: This API is now obsolete.

Common interface for cluster collections.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use IClusterCollectionEx")]
public interface IClusterCollection<TData, out TCluster> : IEnumerable, 
	IClusterCollection<TData>, IMulticlassClassifier<TData, int>, IClassifier<TData, int>, 
	IClassifier, ITransform<TData, int>, ICovariantTransform<TData, int>, 
	ITransform
Request Example View Source

Type Parameters

TData
The type of the data being clustered, such as double.
TCluster
The type of the clusters considered by a clustering algorithm.

The IClusterCollectionTData, TCluster type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of clusters in the collection.
(Inherited from IClusterCollectionTData.)
Public propertyItem
Gets the cluster at the given index.
Public propertyNumberOfClasses
Gets or sets the number of classes expected and recognized by the classifier.
(Inherited from IClassifier.)
Public propertyNumberOfInputs
Gets or sets the number of inputs accepted by the model.
(Inherited from ITransform.)
Public propertyNumberOfOutputs
Gets or sets the number of outputs generated by the model.
(Inherited from ITransform.)
Top
Methods
  NameDescription
Public methodDecide(TInput)
Computes a class-label decision for a given input.
(Inherited from IClassifierTInput, TClasses.)
Public methodDecide(TInput)
Computes class-label decisions for each vector in the given input.
(Inherited from IClassifierTInput, TClasses.)
Public methodDecide(TInput, TClasses)
Computes class-label decisions for each vector in the given input.
(Inherited from IClassifierTInput, TClasses.)
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
Public methodTransform(TInput)
Applies the transformation to an input, producing an associated output.
(Inherited from ICovariantTransformTInput, TOutput.)
Public methodTransform(TInput)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
(Inherited from ICovariantTransformTInput, TOutput.)
Public methodTransform(TInput, TOutput)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
(Inherited from ITransformTInput, TOutput.)
Top
Extension Methods
  NameDescription
Public Extension MethodSetEqualsTCluster
Compares two enumerables for set equality. Two enumerables are set equal if they contain the same elements, but not necessarily in the same order.
(Defined by Matrix.)
Top
See Also