Class ClassificationResult<T>
The result of a call to AssignClass(string) holding an assigned class of type
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Classification
Assembly: Lucene.Net.Classification.dll
Syntax
public class ClassificationResult<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
ClassificationResult(T, double)
Constructor
the classT
assigned by a IClassifier<T>score the score for the assignedClass
as a double
Declaration
public ClassificationResult(T assignedClass, double score)
Parameters
Type | Name | Description |
---|---|---|
T | assignedClass | |
double | score |
Properties
AssignedClass
retrieve the result class
@return a T
representing an assigned class
Declaration
public virtual T AssignedClass { get; }
Property Value
Type | Description |
---|---|
T |
Score
Gets a double representing a result score.
Declaration
public virtual double Score { get; }
Property Value
Type | Description |
---|---|
double |