Github user bgreeven commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1290#discussion_r19723239
  
    --- Diff: docs/mllib-ann.md ---
    @@ -0,0 +1,223 @@
    +---
    +layout: global
    +title: Artificial Neural Networks - MLlib
    +displayTitle: <a href="mllib-guide.html">MLlib</a> - Artificial Neural 
Networks
    +---
    +
    +# Introduction
    +
    +This document describes the MLlib's Artificial Neural Network (ANN) 
implementation.
    +
    +The implementation currently consist of the following files:
    +
    +* 'ArtificialNeuralNetwork.scala': implements the ANN
    +* 'ANNSuite': implements automated tests for the ANN and its gradient
    +* 'ANNDemo': a demo that approximates three functions and shows a 
graphical representation of
    +the result
    +
    +# Summary of usage
    +
    +The "ArtificialNeuralNetwork" object is used as an interface to the neural 
network. It is
    +called as follows:
    +
    +```
    +val annModel = ArtificialNeuralNetwork.train(rdd, hiddenLayersTopology, 
maxNumIterations)
    --- End diff --
    
    @manishamde: In most cases, one hidden layer is enough. For some special 
functions two hidden layers are needed. This is a nice text about the choice of 
number of layers and number of nodes per layer:
    http://www.heatonresearch.com/node/707
    Especially the number of nodes per layer depends heavily on the particular 
problem.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to