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>
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)
System.Object.ToString()
Namespace: Lucene.Net.Classification
Assembly: Lucene.Net.Classification.dll
Syntax
public class ClassificationResult<T>
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 System.Double
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 System.Double representing a result score.
Declaration
public virtual double Score { get; }
Property Value
Type | Description |
---|---|
System.Double |