This file contains 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
// spark-shell --master yarn --deploy-mode client | |
// Dataset available from: | |
// http://repository.seasr.org/Datasets/UCI/csv/audiology.csv | |
import org.apache.spark.mllib.fpm.FPGrowth | |
def elapsed[R](block: => R): R = { | |
val ts = System.nanoTime() | |
val r = block |