diff --git a/python/dllib/examples/nnframes/xgboost/xgboost_classifier.py b/python/dllib/examples/nnframes/xgboost/xgboost_classifier.py index 4f6406b74f1..438f09f7e18 100644 --- a/python/dllib/examples/nnframes/xgboost/xgboost_classifier.py +++ b/python/dllib/examples/nnframes/xgboost/xgboost_classifier.py @@ -37,7 +37,7 @@ def process(filepath, demo): - sparkConf = init_spark_conf().setMaster("local[1]").setAppName("testXGBClassifier") + sparkConf = init_spark_conf().setAppName("testXGBClassifier") sc = init_nncontext(sparkConf) sqlContext = SQLContext(sc) if demo: diff --git a/python/dllib/examples/nnframes/xgboost/xgboost_example.py b/python/dllib/examples/nnframes/xgboost/xgboost_example.py index 78394aee8a9..f97718b38f9 100644 --- a/python/dllib/examples/nnframes/xgboost/xgboost_example.py +++ b/python/dllib/examples/nnframes/xgboost/xgboost_example.py @@ -43,7 +43,7 @@ def Processdata(filepath, demo): :param filepath: :return: assembledf: ''' - sparkConf = init_spark_conf().setMaster("local[1]").setAppName("testNNClassifer") + sparkConf = init_spark_conf().setAppName("testNNClassifer") sc = init_nncontext(sparkConf) sqlContext = SQLContext(sc) if demo: diff --git a/python/dllib/examples/nnframes/xgboost/xgboost_regressor.py b/python/dllib/examples/nnframes/xgboost/xgboost_regressor.py index b157f795e19..b835ee26246 100644 --- a/python/dllib/examples/nnframes/xgboost/xgboost_regressor.py +++ b/python/dllib/examples/nnframes/xgboost/xgboost_regressor.py @@ -42,7 +42,7 @@ def Processdata(filepath, demo): :param filepath: :return: assembledf: ''' - sparkConf = init_spark_conf().setMaster("local[1]").setAppName("testNNClassifer") + sparkConf = init_spark_conf().setAppName("testNNClassifer") sc = init_nncontext(sparkConf) sqlContext = SQLContext(sc) if demo: