A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://spark.apache.org/docs/latest/api/scala/org/apache/spark/ml/classification/NaiveBayes.html below:

Spark 4.0.0 ScalaDoc - org.apache.spark.ml.classification.NaiveBayes

class NaiveBayes extends ProbabilisticClassifier[Vector, NaiveBayes, NaiveBayesModel] with NaiveBayesParams with DefaultParamsWritable



Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. NaiveBayes
  2. DefaultParamsWritable
  3. MLWritable
  4. NaiveBayesParams
  5. HasWeightCol
  6. ProbabilisticClassifier
  7. ProbabilisticClassifierParams
  8. HasThresholds
  9. HasProbabilityCol
  10. Classifier
  11. ClassifierParams
  12. HasRawPredictionCol
  13. Predictor
  14. PredictorParams
  15. HasPredictionCol
  16. HasFeaturesCol
  17. HasLabelCol
  18. Estimator
  19. PipelineStage
  20. Logging
  21. Params
  22. Serializable
  23. Identifiable
  24. AnyRef
  25. Any
Visibility
  1. Public
  2. Protected
Instance Constructors
  1.  new NaiveBayes()
  2.  new NaiveBayes(uid: String)
Type Members
  1.  implicit class LogStringContext extends AnyRef
Value Members
  1.  final def !=(arg0: Any): Boolean
  2.  final def ##: Int
  3.  final def $[T](param: Param[T]): T
  4.  final def ==(arg0: Any): Boolean
  5.  final def asInstanceOf[T0]: T0
  6.  final def clear(param: Param[_]): NaiveBayes.this.type
  7.  def clone(): AnyRef
  8.  def copy(extra: ParamMap): NaiveBayes
  9.  def copyValues[T <: Params](to: T, extra: ParamMap = ParamMap.empty): T
  10.  final def defaultCopy[T <: Params](extra: ParamMap): T
  11.  final def eq(arg0: AnyRef): Boolean
  12.  def equals(arg0: AnyRef): Boolean
  13.  def explainParam(param: Param[_]): String
  14.  def explainParams(): String
  15.  final def extractParamMap(): ParamMap
  16.  final def extractParamMap(extra: ParamMap): ParamMap
  17.  final val featuresCol: Param[String]
  18.  def fit(dataset: Dataset[_]): NaiveBayesModel
  19.  def fit(dataset: Dataset[_], paramMaps: Seq[ParamMap]): Seq[NaiveBayesModel]
  20.  def fit(dataset: Dataset[_], paramMap: ParamMap): NaiveBayesModel
  21.  def fit(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): NaiveBayesModel
  22.  final def get[T](param: Param[T]): Option[T]
  23.  final def getClass(): Class[_ <: AnyRef]
  24.  final def getDefault[T](param: Param[T]): Option[T]
  25.  final def getFeaturesCol: String
  26.  final def getLabelCol: String
  27.  final def getModelType: String
  28.  def getNumClasses(dataset: Dataset[_], maxNumClasses: Int = 100): Int
  29.  final def getOrDefault[T](param: Param[T]): T
  30.  def getParam(paramName: String): Param[Any]
  31.  final def getPredictionCol: String
  32.  final def getProbabilityCol: String
  33.  final def getRawPredictionCol: String
  34.  final def getSmoothing: Double
  35.  def getThresholds: Array[Double]
  36.  final def getWeightCol: String
  37.  final def hasDefault[T](param: Param[T]): Boolean
  38.  def hasParam(paramName: String): Boolean
  39.  def hashCode(): Int
  40.  def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
  41.  def initializeLogIfNecessary(isInterpreter: Boolean): Unit
  42.  final def isDefined(param: Param[_]): Boolean
  43.  final def isInstanceOf[T0]: Boolean
  44.  final def isSet(param: Param[_]): Boolean
  45.  def isTraceEnabled(): Boolean
  46.  final val labelCol: Param[String]
  47.  def log: Logger
  48.  def logDebug(msg: => String, throwable: Throwable): Unit
  49.  def logDebug(entry: LogEntry, throwable: Throwable): Unit
  50.  def logDebug(entry: LogEntry): Unit
  51.  def logDebug(msg: => String): Unit
  52.  def logError(msg: => String, throwable: Throwable): Unit
  53.  def logError(entry: LogEntry, throwable: Throwable): Unit
  54.  def logError(entry: LogEntry): Unit
  55.  def logError(msg: => String): Unit
  56.  def logInfo(msg: => String, throwable: Throwable): Unit
  57.  def logInfo(entry: LogEntry, throwable: Throwable): Unit
  58.  def logInfo(entry: LogEntry): Unit
  59.  def logInfo(msg: => String): Unit
  60.  def logName: String
  61.  def logTrace(msg: => String, throwable: Throwable): Unit
  62.  def logTrace(entry: LogEntry, throwable: Throwable): Unit
  63.  def logTrace(entry: LogEntry): Unit
  64.  def logTrace(msg: => String): Unit
  65.  def logWarning(msg: => String, throwable: Throwable): Unit
  66.  def logWarning(entry: LogEntry, throwable: Throwable): Unit
  67.  def logWarning(entry: LogEntry): Unit
  68.  def logWarning(msg: => String): Unit
  69.  final val modelType: Param[String]
  70.  final def ne(arg0: AnyRef): Boolean
  71.  final def notify(): Unit
  72.  final def notifyAll(): Unit
  73.  lazy val params: Array[Param[_]]
  74.  final val predictionCol: Param[String]
  75.  final val probabilityCol: Param[String]
  76.  final val rawPredictionCol: Param[String]
  77.  def save(path: String): Unit
  78.  final def set(paramPair: ParamPair[_]): NaiveBayes.this.type
  79.  final def set(param: String, value: Any): NaiveBayes.this.type
  80.  final def set[T](param: Param[T], value: T): NaiveBayes.this.type
  81.  final def setDefault(paramPairs: ParamPair[_]*): NaiveBayes.this.type
  82.  final def setDefault[T](param: Param[T], value: T): NaiveBayes.this.type
  83.  def setFeaturesCol(value: String): NaiveBayes
  84.  def setLabelCol(value: String): NaiveBayes
  85.  def setModelType(value: String): NaiveBayes.this.type
  86.  def setPredictionCol(value: String): NaiveBayes
  87.  def setProbabilityCol(value: String): NaiveBayes
  88.  def setRawPredictionCol(value: String): NaiveBayes
  89.  def setSmoothing(value: Double): NaiveBayes.this.type
  90.  def setThresholds(value: Array[Double]): NaiveBayes
  91.  def setWeightCol(value: String): NaiveBayes.this.type
  92.  final val smoothing: DoubleParam
  93.  final def synchronized[T0](arg0: => T0): T0
  94.  val thresholds: DoubleArrayParam
  95.  def toString(): String
  96.  def train(dataset: Dataset[_]): NaiveBayesModel
  97.  def transformSchema(schema: StructType): StructType
  98.  def transformSchema(schema: StructType, logging: Boolean): StructType
  99.  val uid: String
  100.  def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType
  101.  final def wait(arg0: Long, arg1: Int): Unit
  102.  final def wait(arg0: Long): Unit
  103.  final def wait(): Unit
  104.  final val weightCol: Param[String]
  105.  def withLogContext(context: Map[String, String])(body: => Unit): Unit
  106.  def write: MLWriter
Deprecated Value Members
  1.  def finalize(): Unit

Inherited from NaiveBayesParams

Inherited from ProbabilisticClassifierParams

Inherited from ClassifierParams

Inherited from PredictorParams

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Members

Parameter setters

Parameter getters


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4