Untitled

 avatar
unknown
plain_text
a year ago
192 B
3
Indexable
        val model = sc.broadcast(sc.textFile(args.model() + "/part-00000").map(line => {
			val words = line.split(",")
			(words(0).tail.toInt, words(1).init.toDouble)
		}).collectAsMap())
Leave a Comment