Class

com.alpine.model.pack.ml.bayes

NaiveBayesTransformer

Related Doc: package bayes

Permalink

class NaiveBayesTransformer extends ClassificationTransformer

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NaiveBayesTransformer
  2. ClassificationTransformer
  3. CategoricalTransformer
  4. MLTransformer
  5. Transformer
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NaiveBayesTransformer(model: NaiveBayesModel)

    Permalink

Type Members

  1. type Row = Seq[Any]

    Permalink

    Shorthand for the input / output type of the apply method.

    Shorthand for the input / output type of the apply method. Equivalent to Seq[Any].

    Definition Classes
    Transformer

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 allowNullValues: Boolean

    Permalink

    Allows the transformer to specify if the apply method can handle null values in the input row.

    Allows the transformer to specify if the apply method can handle null values in the input row.

    e.g. a Null value replacement transformer, or a Naive Bayes transformer would naturally handle null values, but a Linear Regression transformer would not.

    Default value is false.

    returns

    Boolean indicating tolerance for null values in input.

    Definition Classes
    NaiveBayesTransformerTransformer
  5. def apply(row: Row): Seq[Any]

    Permalink

    This method should be implemented with speed and garbage collection in mind, as it called once per row on potentially huge data-sets.

    This method should be implemented with speed and garbage collection in mind, as it called once per row on potentially huge data-sets.

    This method is not required to be thread-safe.

    row

    The row of input to be scored.

    returns

    The result from applying the trained model to the row.

    Definition Classes
    CategoricalTransformerTransformer
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def classLabels: Seq[String]

    Permalink

    The result must always return the labels in the order specified here.

    The result must always return the labels in the order specified here.

    returns

    The class labels in the order that they will be returned by the result.

    Definition Classes
    NaiveBayesTransformerCategoricalTransformer
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def score(row: Row): ClassificationResult

    Permalink
  19. def scoreConfidences(row: Row): Array[Double]

    Permalink
  20. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

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

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

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

Inherited from ClassificationTransformer

Inherited from Transformer

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped