export SPARK_HOME=path to spark-1.6.3-bin-hadoop2.6
type python in commandline to start a REPL
Use Jupyter Notebook
export SPARK_HOME=path to spark-1.6.3-bin-hadoop2.6
Start jupyter notebook as you normally did, e.g.
bash
jupyter notebook --notebook-dir=./ --ip=* --no-browser
Example code to verify if run successfully
from bigdl.util.common import *
from pyspark import SparkContext
from bigdl.nn.layer import *
import bigdl.version
# create sparkcontext with bigdl configuration
sc = SparkContext.getOrCreate(conf=create_spark_conf())
init_engine() # prepare the bigdl environment
bigdl.version.__version__ # Get the current BigDL version
linear = Linear(2, 3) # Try to create a Linear layer