]> code.communitydata.science - cdsc_reddit.git/blobdiff - density/job_script.sh
version of weekly_cosine_similarities.py from klone
[cdsc_reddit.git] / density / job_script.sh
index 553d0a118a7134369f84190c6c635ba471884ba9..7dfac144d9612cd5890059e1724ec76241078d27 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 overlap_density.py wang_overlaps --inpath=/gscratch/comdata/output/reddit_similarity/tfidf_weekly/comment_authors.parquet --to_date=2020-04-13
+spark-submit --master spark://$(hostname):18899 overlap_density.py authors --inpath=/gscratch/comdata/output/reddit_similarity/comment_authors_10000.feather --outpath=/gscratch/comdata/output/reddit_density/comment_authors_10000.feather --agg=pd.DataFrame.sum
 stop-all.sh
 stop-all.sh

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