Class NaiveBayesModel.SaveLoadV2_0$.Data

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

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

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

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2, T3 v3, T4 v4)
     
    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, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • Data

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

    • apply

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

      public static String toString()
    • labels

      public double[] labels()
    • pi

      public double[] pi()
    • theta

      public double[][] theta()
    • modelType

      public String modelType()