机器学习框架KeystoneML.zip
KeystoneML是一个用Scala编写的软件框架,来自伯克利大学AMPLab实验室。该项目主要目的是简化构造大规模、端到端的机器学习管道,基于ApacheSpark构建。示例代码:val trainData = NewsGroupsDataLoader(sc, trainingDir) val predictor = Trim.then(LowerCase()) .then(Tokenizer()) .then(new NGramsFeaturizer(1 to conf.nGrams)) .then(TermFrequency(x => 1))