Class

com.salesforce.op.evaluators

OpMultiClassificationEvaluatorBase

Related Doc: package evaluators

Permalink

abstract class OpMultiClassificationEvaluatorBase[T <: EvaluationMetrics] extends OpClassificationEvaluatorBase[T]

Base Interface for OpMultiClassificationEvaluator

Linear Supertypes
OpClassificationEvaluatorBase[T], OpHasProbabilityCol[OPVector], OpHasRawPredictionCol[OPVector], OpEvaluatorBase[T], OpHasPredictionCol, OpHasPredictionValueCol[RealNN], OpHasLabelCol[RealNN], Evaluator, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OpMultiClassificationEvaluatorBase
  2. OpClassificationEvaluatorBase
  3. OpHasProbabilityCol
  4. OpHasRawPredictionCol
  5. OpEvaluatorBase
  6. OpHasPredictionCol
  7. OpHasPredictionValueCol
  8. OpHasLabelCol
  9. Evaluator
  10. Params
  11. Serializable
  12. Serializable
  13. Identifiable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OpMultiClassificationEvaluatorBase(uid: String)

    Permalink

Abstract Value Members

  1. abstract def evaluateAll(dataset: Dataset[_]): T

    Permalink

    Evaluate function that returns a class or value with the calculated metric value(s).

    Evaluate function that returns a class or value with the calculated metric value(s).

    dataset

    data to evaluate

    returns

    metrics

    Definition Classes
    OpEvaluatorBase
  2. abstract def getDefaultMetric: (T) ⇒ Double

    Permalink

    Conversion from full metrics returned to a double value

    Conversion from full metrics returned to a double value

    returns

    double value used as spark eval number

    Definition Classes
    OpEvaluatorBase
  3. abstract val name: EvalMetric

    Permalink

    Name of evaluator

    Name of evaluator

    Definition Classes
    OpEvaluatorBase

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final def clear(param: Param[_]): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Definition Classes
    Params
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def copy(extra: ParamMap): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Definition Classes
    OpEvaluatorBase → Evaluator → Params
  9. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  10. final def defaultCopy[T <: Params](extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def evaluate(dataset: Dataset[_]): Double

    Permalink

    Evaluate function that returns a single metric

    Evaluate function that returns a single metric

    dataset

    data to evaluate

    returns

    metric

    Definition Classes
    OpEvaluatorBase → Evaluator
  14. def evaluate(dataset: Dataset[_], paramMap: ParamMap): Double

    Permalink
    Definition Classes
    Evaluator
    Annotations
    @Since( "2.0.0" )
  15. def explainParam(param: Param[_]): String

    Permalink
    Definition Classes
    Params
  16. def explainParams(): String

    Permalink
    Definition Classes
    Params
  17. final def extractParamMap(): ParamMap

    Permalink
    Definition Classes
    Params
  18. final def extractParamMap(extra: ParamMap): ParamMap

    Permalink
    Definition Classes
    Params
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def get[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  23. def getLabelCol: String

    Permalink
    Definition Classes
    OpHasLabelCol
  24. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  25. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  26. final def getPredictionCol: String

    Permalink
    Definition Classes
    OpHasPredictionCol
  27. final def getPredictionValueCol: String

    Permalink
    Attributes
    protected
    Definition Classes
    OpHasPredictionValueCol
  28. final def getProbabilityCol: String

    Permalink
    Attributes
    protected
    Definition Classes
    OpHasProbabilityCol
  29. final def getRawPredictionCol: String

    Permalink
    Attributes
    protected
    Definition Classes
    OpHasRawPredictionCol
  30. final def hasDefault[T](param: Param[T]): Boolean

    Permalink
    Definition Classes
    Params
  31. def hasParam(paramName: String): Boolean

    Permalink
    Definition Classes
    Params
  32. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def isDefined(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. def isLargerBetter: Boolean

    Permalink
    Definition Classes
    Evaluator
    Annotations
    @Since( "1.5.0" )
  36. final def isSet(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  37. final val labelCol: Param[String]

    Permalink
    Definition Classes
    OpHasLabelCol
  38. def makeDataToUse(data: Dataset[_], labelColName: String): Dataset[_]

    Permalink

    Prepare data with different input types so that it can be consumed by the evaluator

    Prepare data with different input types so that it can be consumed by the evaluator

    data

    input data

    labelColName

    name of the label column

    returns

    data formatted for use with the evaluator

    Attributes
    protected
    Definition Classes
    OpClassificationEvaluatorBase → OpEvaluatorBase
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  43. final val predictionCol: Param[String]

    Permalink
    Definition Classes
    OpHasPredictionCol
  44. final val predictionValueCol: Param[String]

    Permalink
    Definition Classes
    OpHasPredictionValueCol
  45. final val probabilityCol: Param[String]

    Permalink
    Definition Classes
    OpHasProbabilityCol
  46. final val rawPredictionCol: Param[String]

    Permalink
    Definition Classes
    OpHasRawPredictionCol
  47. final def set(paramPair: ParamPair[_]): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  48. final def set(param: String, value: Any): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  49. final def set[T](param: Param[T], value: T): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Definition Classes
    Params
  50. final def setDefault(paramPairs: ParamPair[_]*): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  51. final def setDefault[T](param: Param[T], value: T): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  52. def setLabelCol(value: FeatureLike[RealNN]): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Definition Classes
    OpHasLabelCol
  53. def setLabelCol(value: String): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Definition Classes
    OpHasLabelCol
  54. def setPredictionCol(value: FeatureLike[Prediction]): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Definition Classes
    OpHasPredictionCol
  55. def setPredictionCol(value: String): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Definition Classes
    OpHasPredictionCol
  56. def setPredictionValueCol(value: FeatureLike[RealNN]): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    OpHasPredictionValueCol
  57. def setPredictionValueCol(value: String): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    OpHasPredictionValueCol
  58. def setProbabilityCol(value: FeatureLike[OPVector]): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    OpHasProbabilityCol
  59. def setProbabilityCol(value: String): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    OpHasProbabilityCol
  60. def setRawPredictionCol(value: FeatureLike[OPVector]): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    OpHasRawPredictionCol
  61. def setRawPredictionCol(value: String): OpMultiClassificationEvaluatorBase.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    OpHasRawPredictionCol
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  63. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  64. val uid: String

    Permalink
    Definition Classes
    OpMultiClassificationEvaluatorBase → Identifiable
  65. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from OpClassificationEvaluatorBase[T]

Inherited from OpHasProbabilityCol[OPVector]

Inherited from OpEvaluatorBase[T]

Inherited from OpHasPredictionCol

Inherited from OpHasLabelCol[RealNN]

Inherited from Evaluator

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped