]> 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 1c2cacf09ebbaf309a6e3f46306b8309eb4ff6af..926b20a38eacb41a0deecc95eefc1d73d73f11d4 100755 (executable)
@@ -1,4 +1,6 @@
 #!/usr/bin/bash
+source ~/.bashrc
+echo $(hostname)
 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
+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?