Packages

class ComputeModelStatistics extends Transformer with ComputeModelStatisticsParams with BasicLogging

Evaluates the given scored dataset.

Linear Supertypes
BasicLogging, ComputeModelStatisticsParams, HasEvaluationMetric, HasScoredLabelsCol, HasScoresCol, HasLabelCol, DefaultParamsWritable, MLWritable, Wrappable, RWrappable, PythonWrappable, BaseWrappable, Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ComputeModelStatistics
  2. BasicLogging
  3. ComputeModelStatisticsParams
  4. HasEvaluationMetric
  5. HasScoredLabelsCol
  6. HasScoresCol
  7. HasLabelCol
  8. DefaultParamsWritable
  9. MLWritable
  10. Wrappable
  11. RWrappable
  12. PythonWrappable
  13. BaseWrappable
  14. Transformer
  15. PipelineStage
  16. Logging
  17. Params
  18. Serializable
  19. Serializable
  20. Identifiable
  21. AnyRef
  22. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ComputeModelStatistics()
  2. new ComputeModelStatistics(uid: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  7. final def clear(param: Param[_]): ComputeModelStatistics.this.type
    Definition Classes
    Params
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  10. def copy(extra: ParamMap): Transformer
    Definition Classes
    ComputeModelStatistics → Transformer → PipelineStage → Params
  11. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  12. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  13. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. val evaluationMetric: Param[String]
    Definition Classes
    HasEvaluationMetric
  17. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  18. def explainParams(): String
    Definition Classes
    Params
  19. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  20. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  25. def getEvaluationMetric: String

    Definition Classes
    HasEvaluationMetric
  26. def getLabelCol: String

    Definition Classes
    HasLabelCol
  27. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  28. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  29. def getScoredLabelsCol: String

    Definition Classes
    HasScoredLabelsCol
  30. def getScoresCol: String

    Definition Classes
    HasScoresCol
  31. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  32. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  35. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  39. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  40. val labelCol: Param[String]

    The name of the label column

    The name of the label column

    Definition Classes
    HasLabelCol
  41. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  42. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  43. def logClass(): Unit
    Definition Classes
    BasicLogging
  44. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  49. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  50. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  53. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  54. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  57. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  58. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  59. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  62. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  63. lazy val metricsLogger: MetricsLogger
  64. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  65. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  67. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  68. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  69. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  70. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  71. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  72. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  73. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  74. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  75. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    PythonWrappable
  76. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  77. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  78. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  79. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  80. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  81. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  82. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  83. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  84. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  85. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  86. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  87. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  88. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  89. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  90. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  91. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  92. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  93. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  94. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  95. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  96. var rocCurve: DataFrame

    The ROC curve evaluated for a binary classifier.

  97. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  98. val scoredLabelsCol: Param[String]

    The name of the scored labels column

    The name of the scored labels column

    Definition Classes
    HasScoredLabelsCol
  99. val scoresCol: Param[String]

    The name of the scores column

    The name of the scores column

    Definition Classes
    HasScoresCol
  100. final def set(paramPair: ParamPair[_]): ComputeModelStatistics.this.type
    Attributes
    protected
    Definition Classes
    Params
  101. final def set(param: String, value: Any): ComputeModelStatistics.this.type
    Attributes
    protected
    Definition Classes
    Params
  102. final def set[T](param: Param[T], value: T): ComputeModelStatistics.this.type
    Definition Classes
    Params
  103. final def setDefault(paramPairs: ParamPair[_]*): ComputeModelStatistics.this.type
    Attributes
    protected
    Definition Classes
    Params
  104. final def setDefault[T](param: Param[T], value: T): ComputeModelStatistics.this.type
    Attributes
    protected
    Definition Classes
    Params
  105. def setEvaluationMetric(value: String): ComputeModelStatistics.this.type

    Definition Classes
    HasEvaluationMetric
  106. def setLabelCol(value: String): ComputeModelStatistics.this.type

    Definition Classes
    HasLabelCol
  107. def setScoredLabelsCol(value: String): ComputeModelStatistics.this.type

    Definition Classes
    HasScoredLabelsCol
  108. def setScoresCol(value: String): ComputeModelStatistics.this.type

    Definition Classes
    HasScoresCol
  109. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  110. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  111. def transform(dataset: Dataset[_]): DataFrame

    Calculates the metrics for the given dataset and model.

    Calculates the metrics for the given dataset and model.

    dataset

    the dataset to calculate the metrics for

    returns

    DataFrame whose columns contain the calculated metrics

    Definition Classes
    ComputeModelStatistics → Transformer
  112. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  113. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  114. def transformSchema(schema: StructType): StructType
    Definition Classes
    ComputeModelStatistics → PipelineStage
  115. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  116. val uid: String
    Definition Classes
    ComputeModelStatisticsBasicLogging → Identifiable
  117. val ver: String
    Definition Classes
    BasicLogging
  118. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  119. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  120. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  121. def write: MLWriter
    Definition Classes
    DefaultParamsWritable → MLWritable

Inherited from BasicLogging

Inherited from HasEvaluationMetric

Inherited from HasScoredLabelsCol

Inherited from HasScoresCol

Inherited from HasLabelCol

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from Wrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped