Class ClassificationResult<T>
The result of a call to AssignClass(String) holding an assigned class of type
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
ClassificationResult<T>
Namespace: Lucene.Net.Classification
Assembly: Lucene.Net.Classification.dll
Syntax
public class ClassificationResult<T> : object
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceClassificationResult(T, Double)
Constructor
the class T
assigned by a IClassifier<T>
score the score for the assignedClass
as a
Declaration
public ClassificationResult(T assignedClass, double score)
Parameters
Type | Name | Description |
---|---|---|
T | assignedClass | |
System.Double | score |
Properties
| Improve this Doc View SourceAssignedClass
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
Declaration
public virtual double Score { get; }
Property Value
Type | Description |
---|---|
System.Double |