I am unable to code for Neural Networks as there is no support for coding. I want to code for prediction with Neural Networks. A simple example about coding will help to understand how to build our own network, how to train & test.
Alternatively, at http://www.codeproject.com/Articles/175777/Financial-predictor-via-neural-network you can find a project wtih source code for financial time series prediction using neural networks
But recently i have studies encog it offers great library for programming but it is less explanatory as book goes for complex it directly provides libraries for getting work done so i am searching for something that will describe in depth with step by step approach. Thanks again.
Actually i am familiar with java and .net. i have tried encog with java but i want step by step execution so that i can look into detail how algorithm or network in working.
Normally best way will be to read a book then implements the neural network code that comes with it, but if you are in a hurry, try this one (in C#, java version also available at the https://code.google.com/p/encog-java/)
Im implementing NN with Encog in C#. I have a problem with my dataset. My training example consist of four features, numbers between 50-200. I dont know if i have to normalize this dataset to values between 0-1. If yes, how? My next issue is in testing: I load one testing example (one row of four features) into double array and I put it in command: IMLData output = network.Compute(test), where test is that double array[ ]. This is not working, because it expects there IMLData output = network.Compute(pair.Input)
I used the guidelines and samples of Matlab. The code normally consists of three blocks:
1- constructing the ANN using Matlab command such as (newfftd) after you define all parameters such as the number of layers and neurons per layer.
2- training the ANN using command such as (train) after setting all training parameters. May be it is a good idea to perform some data messaging/scaling prior to training as well.
3- Validation which is pretty crucial in designing reliable ANN for prediction/estimation where one would use "validation data set". that differs from the "training data set". This is important.
Matlab and Encog are tools for creating NN, but what if I want to code neural network step by step without any toolboxes for example in C#. Is there any step by step tutorial?
Aside from the fabulous Encog, you can also try Sharky Neural Network (which has a realtime visual feedback to see the decision frontier).
You can also try the various NetLogo models of "Artificial Neural Networks" (generally with a visualization that could help you understand what's happening) like this one:
And if you would like to get a step-by-step tutorial on coding your very own artificial neural network, there is the Coursera Machine Learning class by Andrew Ng (https://www.coursera.org/course/ml) which contains 2 weeks dedicated to neural networks. I have learned to code my first ANN this way, so I can advise this course to anyone, this is a very good introduction (the main missing stuff is the PAC learning theory, but otherwise you will learn a lot about machine learning).
Here are a few good links if you want to further extend your knowledge about artificial neural networks (but you should first know a bit of the theory beforehand! as these links will give you very useful hints on how to tweak your ANN to work better in practical tasks):
very good is also using of convolutional neural networks, link: http://www.mathworks.com/matlabcentral/fileexchange/24291-cnn-convolutional-neural-network-class
Few minutes ago, I answered similar question on the subject. In addition to what I mentioned there, please have a look at the ANN Toolbox as it contains samples and demos..
My answer there is:
I have used Feed-forward neural network (which is called multilayer MLP) in designing ANN-based Fault Detection & Isolation (FDI) system and for that purpose I used real data sets and the result was pretty good. I have used one data set for training purposes and another one for verification and validation ad the results match with the a third data set. Mathematical details on the quality of MLP can be found in many references and the best I have consulted is Neural Networks: A Comprehensive Foundation
A practical book on the design is Neural Network Design (2nd Edition) by Martin Hagan et al and can be downloaded along with lots of support material from: