Object/Class

com.eharmony.aloha.models.vw.jni

VwJniModel

Related Docs: class VwJniModel | package jni

Permalink

object VwJniModel extends ParserProviderCompanion with VwJniModelJson with Logging with Serializable

Linear Supertypes
Serializable, Serializable, Logging, VwJniModelJson, SpecJson, ParserProviderCompanion, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VwJniModel
  2. Serializable
  3. Serializable
  4. Logging
  5. VwJniModelJson
  6. SpecJson
  7. ParserProviderCompanion
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Vw(modelSource: ModelSource, params: Option[Either[Seq[String], String]] = Option(Right(""))) extends Product with Serializable

    Permalink

    Note that as is, this declaration will cause a compiler warning:

    Note that as is, this declaration will cause a compiler warning:

    "The outer reference in this type test cannot be checked at run time."

    This is a known issue and is a scala bug. See: - https://issues.scala-lang.org/browse/SI-4440 - http://stackoverflow.com/questions/16450008/typesafe-swing-events-the-outer-reference-in-this-type-test-cannot-be-checked-a

    A solution that would remove the warning is to make the class not final. Not doing this just to remove a warning.

    modelSource

    A ModelSource

    params

    VW initialization parameters. This is either a sequence of parameters that will be made into a single string by imploding the list with a " " separator or it is one string. If None,

    Attributes
    protected[this]
    Definition Classes
    VwJniModelJson
  2. case class VwJNIAst(modelType: String, modelId: ModelIdentity, features: ListMap[String, Spec], vw: Vw, namespaces: Option[ListMap[String, Seq[String]]] = Some(ListMap.empty), numMissingThreshold: Option[Int] = None, notes: Option[Seq[String]] = None, spline: Option[ConstantDeltaSpline] = None, classLabels: Option[SimpleTypeSeq] = None) extends Product with Serializable

    Permalink

    Note that as is, this declaration will cause a compiler warning:

    Note that as is, this declaration will cause a compiler warning:

    "The outer reference in this type test cannot be checked at run time."

    This is a known issue and is a scala bug. See: - https://issues.scala-lang.org/browse/SI-4440 - http://stackoverflow.com/questions/16450008/typesafe-swing-events-the-outer-reference-in-this-type-test-cannot-be-checked-a

    A solution that would remove the warning is to make the class not final. Not doing this just to remove a warning.

    modelType

    The model type (Should be VwJNI).

    modelId

    a model ID

    features

    an map of features (whose iteration order is the declaration order).

    vw

    an object for configuring the VwScorer object that will be embedded in the VwJniModel.

    namespaces

    an map of namespace name to sequence of feature names in the namespace.

    numMissingThreshold

    A threshold dictating how many missing features to allow before making the prediction fail. None means the threshold is ∞. If, when mapping feature functions over the input, the resulting sequence contains more than numMissingThreshold values that are empty Iterable values, then the Features.missingOk value returned by constructFeatures will be false; otherwise, it will be true.

    Attributes
    protected[this]
    Definition Classes
    VwJniModelJson

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. implicit object FeatureSpecFormat extends JsonFormat[Spec]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SpecJson
  5. object Parser extends ModelSubmodelParsingPlugin with EitherHelpers with RegFeatureCompiler

    Permalink
  6. implicit object VwFormat extends RootJsonFormat[Vw]

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

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

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

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  15. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  20. final def isDebugEnabled: Boolean

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

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

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

    Permalink
    Definition Classes
    Any
  24. final def isTraceEnabled: Boolean

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  26. def json(vw: VwJsonLike, model: Vfs, id: ModelId, vwArgs: Option[String], externalModel: Boolean, numMissingThreshold: Option[Int], notes: Option[Seq[String]], spline: Option[ConstantDeltaSpline], classLabels: Option[SimpleTypeSeq]): JsValue

    Permalink

  27. def json(spec: Vfs, model: Vfs, id: ModelId, vwArgs: Option[String], externalModel: Boolean = false, numMissingThreshold: Option[Int] = None, notes: Option[Seq[String]] = None, spline: Option[ConstantDeltaSpline] = None): JsValue

    Permalink

  28. final lazy val logger: Logger

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. final def loggerName: String

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  34. def parser: ModelParser

    Permalink
    Definition Classes
    VwJniModel → ParserProviderCompanion
  35. final val specJsonFormat: RootJsonFormat[Spec]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SpecJson
  36. implicit final val splineJsonFormat: RootJsonFormat[ConstantDeltaSpline]

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

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  41. implicit final val vwJNIAstFormat: RootJsonFormat[VwJNIAst]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    VwJniModelJson
  42. final def wait(): Unit

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

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from VwJniModelJson

Inherited from SpecJson

Inherited from ParserProviderCompanion

Inherited from AnyRef

Inherited from Any

Ungrouped