]> code.communitydata.science - cdsc_reddit.git/blobdiff - similarities/job_script.sh
Use Latent semantic indexing and hdbscan
[cdsc_reddit.git] / similarities / job_script.sh
index 1c2cacf09ebbaf309a6e3f46306b8309eb4ff6af..1f363cde91df098695370dc63d8c3fde9fef66ba 100755 (executable)
@@ -1,4 +1,4 @@
 #!/usr/bin/bash
 start_spark_cluster.sh
 #!/usr/bin/bash
 start_spark_cluster.sh
-spark-submit --master spark://$(hostname):18899 cosine_similarities.py author --outfile=/gscratch/comdata/output/reddit_similarity/subreddit_comment_authors_10000.parquet
-stop-all.sh
+singularity exec  /gscratch/comdata/users/nathante/cdsc_base.sif spark-submit --master spark://$(hostname).hyak.local:7077 lsi_similarities.py author --outfile=/gscratch/comdata/output//reddit_similarity/subreddit_comment_authors_10k_LSI.feather --topN=10000
+singularity exec /gscratch/comdata/users/nathante/cdsc_base.sif stop-all.sh

Community Data Science Collective || Want to submit a patch?