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 SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
Datapublic Data(double[] labels, double[] pi, double[][] theta) 
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1, T2 v2, T3 v3) 
- 
toString
- 
labelspublic double[] labels()
- 
pipublic double[] pi()
- 
thetapublic double[][] theta()
 
-