Fork me on GitHub
  • API

    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.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    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 Source

    ClassificationResult(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 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 System.Double 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 © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.