Class NaiveBayesModel.SaveLoadV1_0$.Data
Object
org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV1_0$.Data
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- NaiveBayesModel.SaveLoadV1_0$
public class NaiveBayesModel.SaveLoadV1_0$.Data
extends Object
implements scala.Product, Serializable
Model data for model import/export
- See Also:
-
Constructor Summary
-
Method Summary
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)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3) -
toString
-
labels
public double[] labels() -
pi
public double[] pi() -
theta
public double[][] theta()
-