Class/Object

ai.h2o.sparkling.ml.models

H2OMOJOModel

Related Docs: object H2OMOJOModel | package models

Permalink

abstract class H2OMOJOModel extends Model[H2OMOJOModel] with H2OMOJOFlattenedInput with HasMojo with H2OMOJOWritable with H2OMOJOModelUtils with SpecificMOJOParameters with H2OBaseMOJOParams with HasFeatureTypesOnMOJO with Logging

Linear Supertypes
HasFeatureTypesOnMOJO, H2OBaseMOJOParams, HasDataFrameSerializer, SpecificMOJOParameters, H2OMOJOModelUtils, Logging, H2OMOJOWritable, MLWritable, HasMojo, H2OMOJOFlattenedInput, Model[H2OMOJOModel], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. H2OMOJOModel
  2. HasFeatureTypesOnMOJO
  3. H2OBaseMOJOParams
  4. HasDataFrameSerializer
  5. SpecificMOJOParameters
  6. H2OMOJOModelUtils
  7. Logging
  8. H2OMOJOWritable
  9. MLWritable
  10. HasMojo
  11. H2OMOJOFlattenedInput
  12. Model
  13. Transformer
  14. PipelineStage
  15. Logging
  16. Params
  17. Serializable
  18. Serializable
  19. Identifiable
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new H2OMOJOModel()

    Permalink

Type Members

  1. class SerializationWarningsObject extends Serializable

    Permalink

Abstract Value Members

  1. abstract def inputColumnNames: Array[String]

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOFlattenedInput
  2. abstract def outputColumnName: String

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOFlattenedInput
  3. abstract def transform(dataset: Dataset[_]): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  4. abstract def transformSchema(schema: StructType): StructType

    Permalink
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  5. abstract val uid: String

    Permalink
    Definition Classes
    Identifiable

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. def applyPredictionUdf(dataset: Dataset[_], udfConstructor: (Array[String]) ⇒ UserDefinedFunction): DataFrame

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOFlattenedInput
  6. def applyPredictionUdfToFlatDataFrame(flatDataFrame: DataFrame, udfConstructor: (Array[String]) ⇒ UserDefinedFunction, inputs: Array[String]): DataFrame

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelH2OMOJOFlattenedInput
  7. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final val convertInvalidNumbersToNa: BooleanParam

    Permalink
    Attributes
    protected
    Definition Classes
    H2OBaseMOJOParams
  11. final val convertUnknownCategoricalLevelsToNa: BooleanParam

    Permalink
    Attributes
    protected
    Definition Classes
    H2OBaseMOJOParams
  12. def copy(extra: ParamMap): H2OMOJOModel

    Permalink
    Definition Classes
    H2OMOJOModel → Model → Transformer → PipelineStage → Params
  13. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  14. final val crossValidationMetrics: MapStringDoubleParam

    Permalink
    Attributes
    protected
  15. final val crossValidationMetricsObject: NullableMetricsParam

    Permalink
    Attributes
    protected
  16. final val crossValidationMetricsSummary: NullableDataFrameParam

    Permalink
    Attributes
    protected
  17. var crossValidationModels: Array[H2OMOJOModel]

    Permalink
    Attributes
    protected
  18. var crossValidationModelsScoringHistory: NullableDataFrameArrayParam

    Permalink
    Attributes
    protected
  19. final val dataFrameSerializer: Param[String]

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  21. final val defaultThreshold: DoubleParam

    Permalink
    Attributes
    protected
  22. final val endTime: LongParam

    Permalink
    Attributes
    protected
  23. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def explainParam(param: Param[_]): String

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

    Permalink
    Definition Classes
    Params
  27. def extractCrossValidationMetricsSummary(modelJson: JsonObject): DataFrame

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  28. def extractFeatureImportances(outputJson: JsonObject): DataFrame

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  29. def extractFeatureTypes(outputJson: JsonObject): Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  30. def extractJsonFieldValue[T](outputJson: JsonObject, fieldName: String, getValue: (JsonElement) ⇒ T, defaultValue: T): T

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  31. def extractJsonTables(outputJson: JsonObject, fieldName: String): Array[DataFrame]

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  32. def extractMetrics(json: JsonObject, metricType: String): Map[String, Double]

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  33. def extractMetricsObject(json: JsonObject, metricType: String, algoName: String, modelCategory: internals.H2OModelCategory.Value, dataFrameSerializerGetter: () ⇒ String): H2OMetrics

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  34. def extractModelCategory(outputJson: JsonObject): internals.H2OModelCategory.Value

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  35. def extractModelSummary(outputJson: JsonObject): DataFrame

    Permalink
    Attributes
    protected[ai.h2o.sparkling.ml.models]
    Definition Classes
    H2OMOJOModelUtils
  36. final def extractParamMap(): ParamMap

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

    Permalink
    Definition Classes
    Params
  38. def extractParams(modelJson: JsonObject): Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  39. def extractScoringHistory(outputJson: JsonObject): DataFrame

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  40. final val featureImportances: NullableDataFrameParam

    Permalink
    Attributes
    protected
  41. final val featureTypes: MapStringStringParam

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatureTypesOnMOJO
  42. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  45. def getConvertInvalidNumbersToNa(): Boolean

    Permalink
    Definition Classes
    H2OBaseMOJOParams
  46. def getConvertUnknownCategoricalLevelsToNa(): Boolean

    Permalink
    Definition Classes
    H2OBaseMOJOParams
  47. def getCrossValidationMetrics(): Map[String, Double]

    Permalink

    Returns a map of all combined cross-validation holdout metrics of the Double type.

  48. def getCrossValidationMetricsObject(): H2OMetrics

    Permalink

    Returns an object holding all metrics of the Double type and also more complex performance information combined from cross-validation holdouts.

  49. def getCrossValidationMetricsSummary(): DataFrame

    Permalink

    Returns a data frame with information about performance of individual folds according to various model metrics.

  50. def getCrossValidationModels(): Seq[H2OMOJOModel.this.type]

    Permalink
  51. def getCrossValidationModelsScoringHistory(): Array[DataFrame]

    Permalink
  52. def getCurrentMetrics(): Map[String, Double]

    Permalink

    Returns a map of all metrics of the Double type.

    Returns a map of all metrics of the Double type. If the nfolds parameter was set, the metrics were combined from cross-validation holdouts. If cross validations wasn't enabled, the metrics were calculated from a validation dataset. If the validation dataset wasn't available, the metrics were calculated from the training dataset.

  53. def getCurrentMetricsObject(): H2OMetrics

    Permalink

    Returns an object holding all metrics of the Double type and also more complex performance information.

    Returns an object holding all metrics of the Double type and also more complex performance information. If the nfolds parameter was set, the object was combined from cross-validation holdouts. If cross validations wasn't enabled, the object was calculated from a validation dataset. If the validation dataset wasn't available, the object was calculated from the training dataset.

  54. def getDataFrameSerializer(): String

    Permalink
    Definition Classes
    HasDataFrameSerializer
  55. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  56. def getDefaultThreshold(): Double

    Permalink
  57. def getDomainValues(): Map[String, Array[String]]

    Permalink
  58. def getEndTime(): Long

    Permalink
  59. def getFeatureImportances(): DataFrame

    Permalink
  60. def getFeatureTypes(): Map[String, String]

    Permalink
    Definition Classes
    HasFeatureTypesOnMOJO
  61. def getModelCategory(): String

    Permalink
  62. def getModelDetails(): String

    Permalink
  63. def getModelDetails(modelJson: JsonObject): String

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  64. def getModelJson(mojo: File): JsonObject

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  65. def getModelSummary(): DataFrame

    Permalink
  66. final def getOrDefault[T](param: Param[T]): T

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

    Permalink
    Definition Classes
    Params
  68. def getRelevantColumnNames(flatDataFrame: DataFrame, inputs: Array[String]): Array[String]

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOFlattenedInput
  69. def getRunTime(): Long

    Permalink
  70. def getScoringHistory(): DataFrame

    Permalink
  71. def getStartTime(): Long

    Permalink
  72. def getTrainingMetrics(): Map[String, Double]

    Permalink

    Returns a map of all metrics of the Double type calculated on the training dataset.

  73. def getTrainingMetricsObject(): H2OMetrics

    Permalink

    Returns an object holding all metrics of the Double type and also more complex performance information calculated on the training dataset.

  74. def getTrainingParams(): Map[String, String]

    Permalink
  75. def getValidationMetrics(): Map[String, Double]

    Permalink

    Returns a map of all metrics of the Double type calculated on the validation dataset.

  76. def getValidationMetricsObject(): H2OMetrics

    Permalink

    Returns an object holding all metrics of the Double type and also more complex performance information calculated on the validation dataset.

  77. final def hasDefault[T](param: Param[T]): Boolean

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

    Permalink
    Definition Classes
    Params
  79. def hasParent: Boolean

    Permalink
    Definition Classes
    Model
  80. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  81. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  82. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  83. final def isDefined(param: Param[_]): Boolean

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

    Permalink
    Definition Classes
    Any
  85. final def isSet(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  86. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  87. def jsonFieldToDataFrame(outputJson: JsonObject, fieldName: String): DataFrame

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  88. def jsonFieldToDoubleArray(outputJson: JsonObject, fieldName: String): Array[Double]

    Permalink
    Attributes
    protected
    Definition Classes
    H2OMOJOModelUtils
  89. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  90. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  91. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  92. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  93. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  94. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  95. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  96. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  97. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  98. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  99. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  100. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  101. final val modelCategory: NullableStringParam

    Permalink
    Attributes
    protected
  102. final val modelDetails: NullableStringParam

    Permalink
    Attributes
    protected
  103. final val modelSummary: NullableDataFrameParam

    Permalink
    Attributes
    protected
  104. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  105. val nonSerializableField: AnyRef

    Permalink
  106. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  108. def nullableDataFrameParam(name: String, doc: String): NullableDataFrameParam

    Permalink
    Attributes
    protected
  109. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  110. var parent: Estimator[H2OMOJOModel]

    Permalink
    Definition Classes
    Model
  111. final val runTime: LongParam

    Permalink
    Attributes
    protected
  112. def save(path: String): Unit

    Permalink
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  113. final val scoringHistory: NullableDataFrameParam

    Permalink
    Attributes
    protected
  114. final def set(paramPair: ParamPair[_]): H2OMOJOModel.this.type

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

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

    Permalink
    Definition Classes
    Params
  117. def setDataFrameSerializer(fullClassName: String): H2OMOJOModel.this.type

    Permalink
    Definition Classes
    H2OBaseMOJOParams
  118. final def setDefault(paramPairs: ParamPair[_]*): H2OMOJOModel.this.type

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  120. def setMojo(mojo: File): H2OMOJOModel.this.type

    Permalink
    Definition Classes
    HasMojo
  121. def setMojo(mojo: InputStream, mojoName: String): H2OMOJOModel.this.type

    Permalink
    Definition Classes
    HasMojo
  122. def setMojo(mojo: InputStream): H2OMOJOModel.this.type

    Permalink
    Definition Classes
    HasMojo
  123. def setParent(parent: Estimator[H2OMOJOModel]): H2OMOJOModel

    Permalink
    Definition Classes
    Model
  124. final val startTime: LongParam

    Permalink
    Attributes
    protected
  125. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    H2OMOJOModel → Identifiable → AnyRef → Any
  127. final val trainingMetrics: MapStringDoubleParam

    Permalink
    Attributes
    protected
  128. final val trainingMetricsObject: NullableMetricsParam

    Permalink
    Attributes
    protected
  129. final val trainingParams: MapStringStringParam

    Permalink
    Attributes
    protected
  130. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  131. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  132. def transformSchema(schema: StructType, logging: Boolean): StructType

    Permalink
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  133. def unwrapMojoModel(): MojoModel

    Permalink

    The method returns an internal H2O-3 mojo model, which can be subsequently used with EasyPredictModelWrapper to perform predictions on individual rows.

  134. final val validationMetrics: MapStringDoubleParam

    Permalink
    Attributes
    protected
  135. final val validationMetricsObject: NullableMetricsParam

    Permalink
    Attributes
    protected
  136. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  139. def write: MLWriter

    Permalink
    Definition Classes
    H2OMOJOWritable → MLWritable

Inherited from HasFeatureTypesOnMOJO

Inherited from H2OBaseMOJOParams

Inherited from HasDataFrameSerializer

Inherited from SpecificMOJOParameters

Inherited from H2OMOJOModelUtils

Inherited from Logging

Inherited from H2OMOJOWritable

Inherited from MLWritable

Inherited from HasMojo

Inherited from H2OMOJOFlattenedInput

Inherited from Model[H2OMOJOModel]

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

Ungrouped