Show / Hide Table of Contents

    Class ClassificationResult<T>

    The result of a call to AssignClass(String) holding an assigned class of type and a score.

    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 Source

    ClassificationResult(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 Source

    AssignedClass

    retrieve the result class @return a T representing an assigned class

    Declaration
    public virtual T AssignedClass { get; }
    Property Value
    Type Description
    T
    | Improve this Doc View Source

    Score

    Gets a representing a result score.

    Declaration
    public virtual double Score { get; }
    Property Value
    Type Description
    System.Double
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)