]> 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 03e77de4559851a16376262a41c5390e8e92d6cc..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 term --outfile=/gscratch/comdata/output/reddit_similarity/comment_terms_10000.feather
+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?