]> code.communitydata.science - cdsc_reddit.git/blobdiff - similarities/job_script.sh
make pass keyword arg to dataframe.drop
[cdsc_reddit.git] / similarities / job_script.sh
index 1f363cde91df098695370dc63d8c3fde9fef66ba..926b20a38eacb41a0deecc95eefc1d73d73f11d4 100755 (executable)
@@ -1,4 +1,6 @@
 #!/usr/bin/bash
+source ~/.bashrc
+echo $(hostname)
 start_spark_cluster.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
+spark-submit --verbose --master spark://$(hostname):43015 tfidf.py authors --topN=100000 --inpath=../../data/reddit_ngrams/comment_authors_sorted.parquet --outpath=../../data/reddit_similarity/tfidf/comment_authors_100k.parquet
+stop-all.sh

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