Creates or gets a SparkContext with optimized configuration for BigDL performance.
Creates or gets a SparkContext with optimized configuration for BigDL performance. The method will also initialize the BigDL engine.
Note: if you use spark-shell or Jupyter notebook, as the Spark context is created before your code, you have to set Spark conf values through command line options or properties file, and init BigDL engine manually.
name of the current context
Spark Context
Creates or gets SparkContext with optimized configuration for BigDL performance.
Creates or gets SparkContext with optimized configuration for BigDL performance. The method will also initialize the BigDL engine.
Note: if you use spark-shell or Jupyter notebook, as the Spark context is created before your code, you have to set Spark conf values through command line options or properties file, and init BigDL engine manually.
User defined Spark conf
Spark Context
Creates or gets a SparkContext with optimized configuration for BigDL performance.
Creates or gets a SparkContext with optimized configuration for BigDL performance. The method will also initialize the BigDL engine.
Note: if you use spark-shell or Jupyter notebook, as the Spark context is created before your code, you have to set Spark conf values through command line options or properties file, and init BigDL engine manually.
User defined Spark conf
name of the current context
Spark Context
NNContext wraps a spark context in Analytics Zoo.