
com.databricks.labs.automl.utils.SparkSessionWrapper.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of automatedml_2.11 Show documentation
Show all versions of automatedml_2.11 Show documentation
Databricks Labs AutoML toolkit
The newest version!
package com.databricks.labs.automl.utils
import org.apache.spark.SparkContext
import org.apache.spark.sql.SparkSession
trait SparkSessionWrapper extends Serializable {
lazy val spark: SparkSession = SparkSession
.builder()
.appName("Databricks Automated ML")
.getOrCreate()
lazy val sc: SparkContext = SparkContext.getOrCreate()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy