Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some typo fixes #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In this project, there are 5 different supervised classifer models designed for
1. In CSDW, download the project using the git url for [here](https://github.com/BrooksIan/ChurnBabyChurn.git)
2. Open a new session, and execute the setup.sh file
3. In Experiments, run the following scripts
* dsforteko_pyspark.py - vanilla random forest churn model
* dsfortelco_pyspark.py - vanilla random forest churn model
* gbt_churn_pyspark.py - gradient boost tree churn model with normamlized variables, hyperturning, and crossvalidation
* mlp_churn_pyspark.py - multilayer perceptron churn model with normamlized variables, hyperturning, and crossvalidatio
* rf_churn_pyspark.py - random forest churn model with normamlized variables, hyperturning, and crossvalidation
Expand Down
12 changes: 12 additions & 0 deletions RapidSetup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

#Set Up Paths for Rapids Jars

export SPARK_RAPIDS_DIR=/opt/sparkRapidsPlugin
export SPARK_CUDF_JAR=${SPARK_RAPIDS_DIR}/cudf-0.15-SNAPSHOT-cuda10-1.jar
export SPARK_RAPIDS_PLUGIN_JAR=${SPARK_RAPIDS_DIR}/rapids-4-spark_2.12-0.2.0-SNAPSHOT.jar

chmod 775 /opt/sparkRapidsPlugin/*.jar

#/opt/sparkRapidsPlugin/cudf-0.15-SNAPSHOT-cuda10-1.jar
#/opt/sparkRapidsPlugin/rapids-4-spark_2.12-0.2.0-SNAPSHOT.jar
2 changes: 1 addition & 1 deletion dsfortelco_pyspark.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
!rm -r -f models/spark_rf_vanilla.tar
!hdfs dfs -get models/spark
!hdfs dfs -get models/
!tar -cvf models/spark_rf._vanilla.tar models/spark/vanilla
!tar -cvf models/spark_rf_vanilla.tar models/spark/vanilla

cdsw.track_file("models/spark_rf_vanilla.tar")

Expand Down
2 changes: 1 addition & 1 deletion spark-defaults.conf
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ spark.executor.memory 3584m
spark.executor.cores 1
spark.yarn.executor.memoryOverhead 512m
spark.app.name ds-for-telco
spark.lineage.enabled false
spark.lineage.enabled false
17 changes: 17 additions & 0 deletions spark-rapids.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
spark.master=k8s://https://172.20.0.1:443
spark.rapids.sql.concurrentGpuTasks=1
spark.rapids.sql.format.csv.read.enabled=false
spark.rapids.sql.enabled=false
spark.executor.memory=4G
spark.executor.cores=4
spark.task.cpus=1
spark.task.resource.gpu.amount=0.25
spark.executor.resource.gpu.amount=1
spark.executor.memoryOverhead=4G
spark.rapids.memory.pinnedPool.size=2G
spark.locality.wait=0s
spark.sql.files.maxPartitionBytes=512m
spark.sql.shuffle.partitions=10
spark.plugins=com.nvidia.spark.SQLPlugin
spark.executor.resource.gpu.discoveryScript=/opt/sparkRapidsPlugin/getGpusResources.sh
spark.executor.resource.gpu.vendor=nvidia.com