Class/Object

com.eharmony.aloha.models.h2o

H2oModel

Related Docs: object H2oModel | package h2o

Permalink

final case class H2oModel[U, N, -A, +B <: U](modelId: ModelIdentity, h2OModel: GenModel, featureNames: IndexedSeq[String], featureFunctions: IndexedSeq[FeatureFunction[A]], auditor: Auditor[U, N, B], numMissingThreshold: Option[Int] = None)(implicit evidence$1: RefInfo[N]) extends SubmodelBase[U, N, A, B] with Logging with Product with Serializable

Created by deak on 9/30/15.

Linear Supertypes
Serializable, Serializable, Product, Equals, Logging, SubmodelBase[U, N, A, B], Model[A, B], (A) ⇒ B, Submodel[N, A, B], Closeable, AutoCloseable, Identifiable[ModelIdentity], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. H2oModel
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Logging
  7. SubmodelBase
  8. Model
  9. Function1
  10. Submodel
  11. Closeable
  12. AutoCloseable
  13. Identifiable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new H2oModel(modelId: ModelIdentity, h2OModel: GenModel, featureNames: IndexedSeq[String], featureFunctions: IndexedSeq[FeatureFunction[A]], auditor: Auditor[U, N, B], numMissingThreshold: Option[Int] = None)(implicit arg0: RefInfo[N])

    Permalink

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 ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (B) ⇒ A): (A) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. final def apply(a: A): B

    Permalink
    Definition Classes
    SubmodelBase → Function1
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val auditor: Auditor[U, N, B]

    Permalink
    Definition Classes
    H2oModelSubmodelBase
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def close(): Unit

    Permalink
    Definition Classes
    SubmodelBase → Closeable → AutoCloseable
  10. def compose[A](g: (A) ⇒ A): (A) ⇒ B

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. def constructFeatures(a: A): Features[RowData]

    Permalink
    Attributes
    protected[com.eharmony.aloha.models.h2o]
  12. final def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink

    Issue a debug logging message, with an exception.

    Issue a debug logging message, with an exception.

    msg

    the message object. toString() is called to convert it to a loggable string.

    t

    the exception to include with the logged message.

    Attributes
    protected[this]
    Definition Classes
    Logging
  13. final def debug(msg: ⇒ Any): Unit

    Permalink

    Issue a debug logging message.

    Issue a debug logging message.

    msg

    the message object. toString() is called to convert it to a loggable string.

    Attributes
    protected[this]
    Definition Classes
    Logging
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink

    Issue a error logging message, with an exception.

    Issue a error logging message, with an exception.

    msg

    the message object. toString() is called to convert it to a loggable string.

    t

    the exception to include with the logged message.

    Attributes
    protected[this]
    Definition Classes
    Logging
  16. final def error(msg: ⇒ Any): Unit

    Permalink

    Issue a error logging message.

    Issue a error logging message.

    msg

    the message object. toString() is called to convert it to a loggable string.

    Attributes
    protected[this]
    Definition Classes
    Logging
  17. def failure(errorMsgs: ⇒ Seq[String] = Nil, missingVarNames: ⇒ Set[String] = Set.empty, subvalues: Seq[U] = Nil): Subvalue[B, N]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SubmodelBase
  18. def failureDueToMissing(missing: Map[String, Seq[String]]): Subvalue[B, N]

    Permalink
    Attributes
    protected[this]
  19. val featureFunctions: IndexedSeq[FeatureFunction[A]]

    Permalink
  20. val featureNames: IndexedSeq[String]

    Permalink
  21. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getMissingVariables(missing: Map[String, Seq[String]]): Set[String]

    Permalink
    Attributes
    protected[this]
  24. val h2OModel: GenModel

    Permalink
  25. def handleBadCategorical(e: PredictUnknownCategoricalLevelException, f: Features[RowData]): Subvalue[B, N]

    Permalink
    Attributes
    protected[this]
  26. def handleMissingCategorical(t: IllegalArgumentException, f: Features[RowData]): Subvalue[B, N]

    Permalink

    Report a problem presumably resulting from a missing categorical variable.

    Report a problem presumably resulting from a missing categorical variable.

    t

    the error to be reported.

    f

    the feature values

    Attributes
    protected[this]
  27. final def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink

    Issue a info logging message, with an exception.

    Issue a info logging message, with an exception.

    msg

    the message object. toString() is called to convert it to a loggable string.

    t

    the exception to include with the logged message.

    Attributes
    protected[this]
    Definition Classes
    Logging
  28. final def info(msg: ⇒ Any): Unit

    Permalink

    Issue a info logging message.

    Issue a info logging message.

    msg

    the message object. toString() is called to convert it to a loggable string.

    Attributes
    protected[this]
    Definition Classes
    Logging
  29. def isCategoricalMissing(e: IllegalArgumentException, f: Features[RowData]): Boolean

    Permalink

    Attempt to determine if a categorical was missing in the h2o model.

    Attempt to determine if a categorical was missing in the h2o model.

    Currently (3.6.0.3), h2o generated model says: "" when a categorical value is not supplied. This is determined from inspecting the generated H2o model code so it's likely brittle and subject to change but its better than throwing an IllegalArgumentException with no diagnostics information when there is missing data in a categorical variable.

    e

    exception thrown by h2o

    f

    the data passed in.

    returns

    whether to attempt to recover. Don't attempt to recover unless a string-based feature appears to be missing. This is so that we can diagnose when the model will fail every time.

    Attributes
    protected[this]
  30. final def isDebugEnabled: Boolean

    Permalink

    Determine whether debug logging is enabled.

    Determine whether debug logging is enabled.

    Attributes
    protected[this]
    Definition Classes
    Logging
  31. final def isErrorEnabled: Boolean

    Permalink

    Determine whether error logging is enabled.

    Determine whether error logging is enabled.

    Attributes
    protected[this]
    Definition Classes
    Logging
  32. final def isInfoEnabled: Boolean

    Permalink

    Determine whether info logging is enabled.

    Determine whether info logging is enabled.

    Attributes
    protected[this]
    Definition Classes
    Logging
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. final def isTraceEnabled: Boolean

    Permalink

    Determine whether trace logging is enabled.

    Determine whether trace logging is enabled.

    Attributes
    protected[this]
    Definition Classes
    Logging
  35. final def isWarnEnabled: Boolean

    Permalink

    Determine whether warn logging is enabled.

    Determine whether warn logging is enabled.

    Attributes
    protected[this]
    Definition Classes
    Logging
  36. final lazy val logger: Logger

    Permalink

    The logger is a @transient lazy val to enable proper working with Spark.

    The logger is a @transient lazy val to enable proper working with Spark. The logger will not be serialized with the rest of the class with which this trait is mixed-in.

    Attributes
    protected[this]
    Definition Classes
    Logging
  37. def loggerInitName(): String

    Permalink

    The name with which the logger is initialized.

    The name with which the logger is initialized. This can be overridden in a derived class.

    Attributes
    protected
    Definition Classes
    Logging
  38. final def loggerName: String

    Permalink

    Get the name associated with this logger.

    Get the name associated with this logger.

    returns

    the name.

    Attributes
    protected[this]
    Definition Classes
    Logging
  39. val modelId: ModelIdentity

    Permalink
    Definition Classes
    H2oModelIdentifiable
  40. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  43. val numMissingThreshold: Option[Int]

    Permalink
  44. def predict(f: Features[RowData]): Subvalue[B, N]

    Permalink
    Attributes
    protected[this]
  45. def subvalue(a: A): Subvalue[B, N]

    Permalink
    Definition Classes
    H2oModelSubmodel
  46. def success(naturalValue: N, errorMsgs: ⇒ Seq[String] = Nil, missingVarNames: ⇒ Set[String] = Set.empty, subvalues: Seq[U] = Nil, prob: ⇒ Option[Float] = None): Subvalue[B, N]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SubmodelBase
  47. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  49. final def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink

    Issue a trace logging message, with an exception.

    Issue a trace logging message, with an exception.

    msg

    the message object. toString() is called to convert it to a loggable string.

    t

    the exception to include with the logged message.

    Attributes
    protected[this]
    Definition Classes
    Logging
  50. final def trace(msg: ⇒ Any): Unit

    Permalink

    Issue a trace logging message.

    Issue a trace logging message.

    msg

    the message object. toString() is called to convert it to a loggable string.

    Attributes
    protected[this]
    Definition Classes
    Logging
  51. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Permalink

    Issue a warn logging message, with an exception.

    Issue a warn logging message, with an exception.

    msg

    the message object. toString() is called to convert it to a loggable string.

    t

    the exception to include with the logged message.

    Attributes
    protected[this]
    Definition Classes
    Logging
  55. final def warn(msg: ⇒ Any): Unit

    Permalink

    Issue a warn logging message.

    Issue a warn logging message.

    msg

    the message object. toString() is called to convert it to a loggable string.

    Attributes
    protected[this]
    Definition Classes
    Logging

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from SubmodelBase[U, N, A, B]

Inherited from Model[A, B]

Inherited from (A) ⇒ B

Inherited from Submodel[N, A, B]

Inherited from Closeable

Inherited from AutoCloseable

Inherited from Identifiable[ModelIdentity]

Inherited from AnyRef

Inherited from Any

Ungrouped