NaiveBayesModel.SaveLoadV1_0$.Data (Spark 3.5.5 JavaDoc) (original) (raw)
Object
- org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV1_0$.Data
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product
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:
Serialized Form
Constructor Summary
Constructors
Constructor and Description Data(double[] labels, double[] pi, double[][] theta) Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
Modifier and Type Method and Description abstract static R apply(T1 v1, T2 v2, T3 v3) double[] labels() double[] pi() double[][] theta() static String toString() * ### Methods inherited from class Object `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait` * ### Methods inherited from interface scala.Product `$init$, productArity, productElement, productIterator, productPrefix` * ### Methods inherited from interface scala.Equals `canEqual, equals`
Constructor Detail
* #### Data public Data(double[] labels, double[] pi, double[][] theta)
Method Detail
* #### 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()