Uh oh!
There was an error while loading. Please reload this page.
[SPARK-9273] [MLlib] Add Convolutional Neural network to Spark MLlib - #7609
[SPARK-9273] [MLlib] Add Convolutional Neural network to Spark MLlib#7609hhbyyh wants to merge 1 commit into
Conversation
srowen
commented
Jul 23, 2015
Can you just host this outside Spark? that's the default rather than add it in directly. There are also already some JIRA about neural networks. |
hhbyyh
commented
Jul 23, 2015
@avulanov Can you please help take a look? Hope this can help exhibit the interface for CNN and hope it can integrate easily with your new design. |
SparkQA
commented
Jul 23, 2015
Test build #38184 has finished for PR 7609 at commit
|
hhbyyh
commented
Jul 23, 2015
mengxr
commented
Jul 23, 2015
@hhbyyh Please ping us on the JIRA when you plan to work on some major feature. We watch all JIRAs and may know some on-going work. For 1.5, @avulanov will submit a PR for neural network but only expose interface for multilayer perceptron. We can add more layer types in 1.6. I will ping you when he sends out the PR. It would be great if you can help review. Thanks! |
avulanov
commented
Jul 23, 2015
hhbyyh
commented
Jul 25, 2015
@mengxr Sorry for the surprise. The code was actually written based on a customer requirement and I just shared it hoping it will help. |
srowen
commented
Jul 25, 2015
@hhbyyh I don't think that's a good reason to propose code in a PR here. You should just host it yourself somewhere. Adding code to Spark means a long-term commitment to support it, so it can't be a gallery of code snippets. |
jira: https://issues.apache.org/jira/browse/SPARK-9273
Here's an initial implementation of Convolutional Neural network based on Spark. The basic design follows the existing optimization framework (train a batch, sum the gradient, update weights) and should have good scalability. Currently it supports SGD training.
A typical driver program looks like
I tried on Mnist and it can get error rate less than 0.03%.
I'd like to collect some opinions and suggestions first since this is a large jira and give users a prototype to try CNN on Spark. I checked the new design from #1290 and current CNN can be integrated with slight effort.