com.eharmony.aloha.models.multilabel

MultilabelModel

object MultilabelModel extends ParserProviderCompanion with Serializable

Linear Supertypes
Serializable, Serializable, ParserProviderCompanion, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MultilabelModel
  2. Serializable
  3. Serializable
  4. ParserProviderCompanion
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class LabelsAndInfo[K](indices: IndexedSeq[Int], labels: IndexedSeq[K], labelsNotInTrainingSet: Seq[K], problems: Option[GenAggFuncAccessorProblems]) extends Product with Serializable

    Contains information about the labels to be used for predictions, and problems encountered while trying to get those labels.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Parser extends ModelSubmodelParsingPlugin with Logging

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def combineMissing[K](labelInfo: LabelsAndInfo[K], missing: Map[String, Seq[String]]): Set[String]

    Combine the missing variables found into a set.

    Combine the missing variables found into a set.

    K

    type of label or class

    labelInfo

    labels and information about the labels.

    missing

    missing features from

    returns

    a set of missing features

    Attributes
    protected[com.eharmony.aloha.models.multilabel]
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def labelsAndInfo[A, K](a: A, labelsOfInterest: Option[GenAggFunc[A, IndexedSeq[K]]], labelToInd: Map[K, Int], defaultLabelInfo: LabelsAndInfo[K]): LabelsAndInfo[K]

    Get the labels and information about the labels.

    Get the labels and information about the labels.

    A

    input type of the model

    K

    type of label or class

    a

    an input from which label information should be derived if labelsOfInterest is not empty.

    labelsOfInterest

    an optional function used to extract label information from the input a.

    labelToInd

    a mapping from label to index into the sequence of all labels seen during training.

    defaultLabelInfo

    label information related to all labels seen at training time. If labelsOfInterest is not provided, this information will be used.

    returns

    labels and information about the labels.

    Attributes
    protected[com.eharmony.aloha.models.multilabel]
  17. def labelsForPrediction[A, K](example: A, labelsOfInterest: GenAggFunc[A, IndexedSeq[K]], labelToInd: Map[K, Int]): LabelsAndInfo[K]

    Get labels from the input for which a prediction should be produced.

    Get labels from the input for which a prediction should be produced. If labelsOfInterest produces a label not in the training set, it will not be present in the prediction output but it will appear in LabelsAndInfo.labelsNotInTrainingSet.

    A

    input type of the model

    K

    type of label or class

    example

    the example provided to the model

    labelsOfInterest

    a function used to extract labels for which a prediction should be produced.

    labelToInd

    mapping from Label to index into the sequence of all labels seen in the training set.

    returns

    labels and information about the labels.

    Attributes
    protected[com.eharmony.aloha.models.multilabel]
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def parser: ModelParser

  22. def reportNoPrediction[U, K, B <: U](modelId: ModelIdentity, labelInfo: LabelsAndInfo[K], auditor: Auditor[U, Map[K, Double], B]): Subvalue[B, Nothing]

    Report that no prediction attempt was made because of issues with the labels.

    Report that no prediction attempt was made because of issues with the labels.

    U

    upper bound on model output type B

    K

    type of label or class

    B

    output type of the model.

    modelId

    An identifier for the model. Used in error reporting.

    labelInfo

    labels and information about the labels.

    auditor

    an auditor used to audit the output.

    returns

    a SubValue indicating failure.

    Attributes
    protected[com.eharmony.aloha.models.multilabel]
  23. def reportPredictorError[U, K, B <: U](modelId: ModelIdentity, labelInfo: LabelsAndInfo[K], missingFeatureMap: Map[String, Seq[String]], throwable: Throwable, auditor: Auditor[U, Map[K, Double], B]): Subvalue[B, Nothing]

    Report that a Throwable was thrown while invoking the predictor

    Report that a Throwable was thrown while invoking the predictor

    U

    upper bound on model output type B

    K

    type of label or class

    B

    output type of the model.

    modelId

    An identifier for the model. Used in error reporting.

    labelInfo

    labels and information about the labels.

    missingFeatureMap

    missing features from RegressionFeatures

    throwable

    the error the occurred in the predictor.

    auditor

    an auditor used to audit the output.

    returns

    a SubValue indicating failure.

    Attributes
    protected[com.eharmony.aloha.models.multilabel]
  24. def reportSuccess[U, K, B <: U](modelId: ModelIdentity, labelInfo: LabelsAndInfo[K], missing: Map[String, Seq[String]], prediction: Map[K, Double], auditor: Auditor[U, Map[K, Double], B]): Subvalue[B, Map[K, Double]]

    Report that the model succeeded.

    Report that the model succeeded.

    U

    upper bound on model output type B

    K

    type of label or class

    B

    output type of the model.

    modelId

    An identifier for the model. Used in score reporting.

    labelInfo

    labels and information about the labels.

    missing

    missing features from

    prediction

    the prediction(s) made by the embedded predictor.

    auditor

    an auditor used to audit the output.

    returns

    a SubValue indicating success.

    Attributes
    protected[com.eharmony.aloha.models.multilabel]
  25. def reportTooManyMissing[U, K, B <: U](modelId: ModelIdentity, labelInfo: LabelsAndInfo[K], missing: Map[String, Seq[String]], auditor: Auditor[U, Map[K, Double], B]): Subvalue[B, Nothing]

    Report that a prediction could not be made because too many missing features were encountered.

    Report that a prediction could not be made because too many missing features were encountered.

    U

    upper bound on model output type B

    K

    type of label or class

    B

    output type of the model.

    modelId

    An identifier for the model. Used in error reporting.

    labelInfo

    labels and information about the labels.

    missing

    missing features from

    auditor

    an auditor used to audit the output.

    returns

    a SubValue indicating failure.

    Attributes
    protected[com.eharmony.aloha.models.multilabel]
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from ParserProviderCompanion

Inherited from AnyRef

Inherited from Any

Ungrouped