Skip to content

Commit

Permalink
cleaned up scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jcanny committed Aug 23, 2016
1 parent 98d5e82 commit 105f876
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 2 additions & 0 deletions bidmach_spark
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

/opt/spark/bin/spark-shell --master spark://${HOSTNAME}:7077
2 changes: 1 addition & 1 deletion scripts/KMeansLearner.ssc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.apache.spark.HashPartitioner

// Specify IP address of master here
val MASTER_DNS = java.net.InetAddress.getLocalHost.getHostAddress
val num_executors = 16
val num_executors = 4
val rdd_data = sc.sequenceFile("hdfs://%s:9000/BIDMach_MNIST/merged.fmat.lz4".format(MASTER_DNS), classOf[SerText], classOf[BIDMat.MatIO]).partitionBy(new HashPartitioner(num_executors)).persist()
val (learner,opts) = KMeans.learner()
opts.batchSize = 10000
Expand Down
8 changes: 0 additions & 8 deletions spark

This file was deleted.

0 comments on commit 105f876

Please sign in to comment.