Class WeightedClassifier
Classifies Signatures by weighing other Classifier results.
Inheritance
System.Object
WeightedClassifier
Assembly: SigStat.Common.dll
Syntax
public class WeightedClassifier : PipelineBase, ILoggerObject, IProgress, IPipelineIO, IEnumerable, IClassifier
Fields
|
Improve this Doc
View Source
Items
List of classifiers and belonging weights.
Declaration
public List<(IClassifier classifier, double weight)> Items
Field Value
Type |
Description |
List<System.ValueTuple<IClassifier, System.Double>> |
|
Methods
|
Improve this Doc
View Source
Add((IClassifier classifier, Double weight))
Add a new classifier with given weight to the list of items.
Declaration
public void Add((IClassifier classifier, double weight) newItem)
Parameters
Type |
Name |
Description |
System.ValueTuple<IClassifier, System.Double> |
newItem |
Classifier with belonging weight.
|
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type |
Description |
IEnumerator |
|
|
Improve this Doc
View Source
Test(ISignerModel, Signature)
Declaration
public double Test(ISignerModel model, Signature signature)
Parameters
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Train(List<Signature>)
Declaration
public ISignerModel Train(List<Signature> signatures)
Parameters
Type |
Name |
Description |
List<Signature> |
signatures |
|
Returns
Implements
IEnumerable