|
#pragma once
#include "Neuron.h"
static const int LEN = 100;
struct Samples
{
double samples[LEN];
int nLenght;
};
class Layer
{
public:
~Layer(void);
CList<Neuron*> neurons;
int size;
CString name;
Layer(CString strLbl,int size);
Neuron* getNeuron(int i);
void computeOutputs();
void computeBackpropDeltas(Samples s); // for output neurons
void computeBackpropDeltas(); // for hidden neurons
void computeWeights();
CString print();
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Currently I'm working at Dept. of Electrical Engineering in University of Shahrood.
Pattern Recognition (specially OCR), Neural Networks, Image Processing and Machine Vision are my interests. However I'm a PROGRAMMER as well.
BSc: Sharif University of technology @ 2002
MSc. and PhD: Tarbiat Modarres University @ 2006 & 2010 respectively
Personal Blog:
Andisheh Online
Religious Blogs:
Shia Muslims ,
Islamic Quotes
Company Site:
Shahaab-co
My old Site:
Farsi OCR