Show / Hide Table of Contents

Class ClassificationModel

Generated Classification model.

Inheritance
System.Object
LearningModel
ClassificationModel
Inherited Members
LearningModel.Generator
LearningModel.Model
LearningModel.Score
LearningModel.Accuracy
LearningModel.ToString()
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 Source

ClassificationModel()

Instantiate a new ClassificationModel object.

Declaration
public ClassificationModel()

Properties

View Source

Classifiers

Dictionary of individual specialist classifiers

Declaration
public Dictionary<object, IClassifier> Classifiers { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.Object, IClassifier>
View Source

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 Source

Predict(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
View Source

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
View Source

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>
View Source

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
  • View Source
©2017 — Seth Juarez
numl v0.9.20-beta
MIT License
docs by docfx