Class NaiveBayesModel.SaveLoadV1_0$.Data

Object
org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV1_0$.Data
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product, scala.Serializable
Enclosing class:
NaiveBayesModel.SaveLoadV1_0$

public class NaiveBayesModel.SaveLoadV1_0$.Data extends Object implements scala.Product, scala.Serializable
Model data for model import/export
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Data(double[] labels, double[] pi, double[][] theta)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2, T3 v3)
     
    double[]
     
    double[]
    pi()
     
    double[][]
     
    static String
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productIterator, productPrefix
  • Constructor Details

    • Data

      public Data(double[] labels, double[] pi, double[][] theta)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2, T3 v3)
    • toString

      public static String toString()
    • labels

      public double[] labels()
    • pi

      public double[] pi()
    • theta

      public double[][] theta()