Interface BaseReadWrite

All Known Implementing Classes:
ChiSqSelectorModel.ChiSqSelectorModelWriter, CrossValidatorModel.CrossValidatorModelWriter, GeneralMLWriter, MLReader, MLWriter, TrainValidationSplitModel.TrainValidationSplitModelWriter

public interface BaseReadWrite
Trait for MLWriter and MLReader.
  • Method Details

    • sc

      Returns the underlying `SparkContext`.
    • session

      BaseReadWrite session(SparkSession sparkSession)
      Sets the Spark Session to use for saving/loading.
      Parameters:
      sparkSession - (undocumented)
      Returns:
      (undocumented)
    • sparkSession

      SparkSession sparkSession()
      Returns the user-specified Spark Session or the default.
      Returns:
      (undocumented)
    • sqlContext

      SQLContext sqlContext()
      Returns the user-specified SQL context or the default.
      Returns:
      (undocumented)