Class ClassificationModel
Generated Classification model.
Inherited Members
                  System.Object.Equals(System.Object)
                
                
                  System.Object.Equals(System.Object, System.Object)
                
                
                  System.Object.GetHashCode()
                
                
                  System.Object.GetType()
                
                
                  System.Object.MemberwiseClone()
                
                
                  System.Object.ReferenceEquals(System.Object, System.Object)
                
              Namespace:numl.Supervised.Classification
Assembly:numl.dll
Syntax
public class ClassificationModel : LearningModel
              Constructors
View SourceClassificationModel()
Instantiate a new ClassificationModel object.
Declaration
public ClassificationModel()
              Properties
View SourceClassifiers
Dictionary of individual specialist classifiers
Declaration
public Dictionary<object, IClassifier> Classifiers { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.Dictionary<System.Object, IClassifier> | 
IsMultiClass
Gets or sets whether an item can belong to one or more classes.
For example: a song may take on one or more classes: Guitar, Drums and Vocals (i.e. not mutually exclusive) where as the genre is mutually exclusive.
Declaration
public bool IsMultiClass { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Methods
View SourcePredict(Object)
Predicts the given Label from the object.
Declaration
public object Predict(object o)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | o | 
Returns
| Type | Description | 
|---|---|
| System.Object | 
Predict<T, Label>(T)
Predict the given Label across all classifiers for the current object.
Declaration
public Label Predict<T, Label>(T o)
              Parameters
| Type | Name | Description | 
|---|---|---|
| T | o | 
Returns
| Type | Description | 
|---|---|
| Label | 
Type Parameters
| Name | Description | 
|---|---|
| T | |
| Label | 
PredictClasses(Object)
Predict all given Labels across all classifiers for the current object.
Declaration
public IEnumerable<object> PredictClasses(object o)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | o | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<System.Object> | 
PredictClasses<T, Label>(T)
Predict all given Labels across all classifiers for the current object.
Declaration
public Label[] PredictClasses<T, Label>(T o)
              Parameters
| Type | Name | Description | 
|---|---|---|
| T | o | 
Returns
| Type | Description | 
|---|---|
| Label[] | 
Type Parameters
| Name | Description | 
|---|---|
| T | |
| Label |