Class NaiveBayesModel.SaveLoadV1_0$

Object
org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV1_0$
Enclosing class:
NaiveBayesModel

public static class NaiveBayesModel.SaveLoadV1_0$ extends Object
  • Field Details

  • Constructor Details

    • SaveLoadV1_0$

      public SaveLoadV1_0$()
  • Method Details

    • thisFormatVersion

      public String thisFormatVersion()
    • thisClassName

      public String thisClassName()
      Hard-code class name string in case it changes in the future
    • save

      public void save(SparkContext sc, String path, org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV1_0.Data data)
    • load

      public NaiveBayesModel load(SparkContext sc, String path)