Untitled
unknown
plain_text
2 years ago
192 B
8
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())Editor is loading...
Leave a Comment