This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package topic | |
| import spark.broadcast._ | |
| import spark.SparkContext | |
| import spark.SparkContext._ | |
| import spark.RDD | |
| import spark.storage.StorageLevel | |
| import scala.util.Random | |
| import scala.math.{ sqrt, log, pow, abs, exp, min, max } | |
| import scala.collection.mutable.HashMap |