Click here to Skip to main content
15,921,382 members
Home / Discussions / C#
   

C#

 
AnswerRe: Data not Insert Pin
J4amieC2-Aug-10 21:58
J4amieC2-Aug-10 21:58 
GeneralRe: Data not Insert Pin
mjawadkhatri2-Aug-10 22:08
mjawadkhatri2-Aug-10 22:08 
AnswerRe: Data not Insert Pin
Covean2-Aug-10 22:32
Covean2-Aug-10 22:32 
GeneralRe: Data not Insert Pin
Bernhard Hiller3-Aug-10 2:01
Bernhard Hiller3-Aug-10 2:01 
QuestionRedirect WebPage through Window Button in C# Pin
ShafiqA2-Aug-10 19:47
ShafiqA2-Aug-10 19:47 
AnswerRe: Redirect WebPage through Window Button in C# Pin
Goutam Patra2-Aug-10 20:05
professionalGoutam Patra2-Aug-10 20:05 
GeneralRe: Redirect WebPage through Window Button in C# Pin
ShafiqA2-Aug-10 20:10
ShafiqA2-Aug-10 20:10 
QuestionFeed forward Neural network (back propagation) code classification problem [modified] Pin
karayel_kara2-Aug-10 19:01
karayel_kara2-Aug-10 19:01 
Hi, Everbody.

i have writen c# Artifical intelliget Neural Network. I have 500 count dataset which is normalized -1 and 1 and.i have used learning rate and momentum coefficient .

i teaching my network with 400 count dataset. Network have 5 inputs and 5 outputs. my output is setuped as 00001/00010/00100/01000/10000
when my network teched with 10000 iterations and 400 datasets, my output have a problem.
my network teached in last class of 10000 so when i tested my datasets , output only have been predicted as true class of 10000.
as result my code can only learn last class and other classes can not predicted or poor predicected

Example Test and Learning dataset
5 neuron input

{{0.04418 ,0.18135 ,0.28143 ,0.34367 ,0.14938 ,},
{0.37418 ,0.35050 ,0.18184 ,0.07493 ,0.01855 ,},
{0.04540 ,0.17061 ,0.24506 ,0.32560 ,0.21333 ,},
{0.08494 ,0.25653 ,0.26922 ,0.26141 ,0.12790 ,},
{0.18135 ,0.36832 ,0.24799 ,0.15743 ,0.04491 ,},
{0.11887 ,0.29143 ,0.27581 ,0.22870 ,0.08518 ,},
{0.02758 ,0.26239 ,0.37247 ,0.29998 ,0.03759 ,},
{0.00781 ,0.15792 ,0.32145 ,0.41811 ,0.09470 ,},
{0.07811 ,0.31608 ,0.31901 ,0.24506 ,0.04174 ,},
{0.07664 ,0.32390 ,0.32829 ,0.21674 ,0.05443 ,},
....


5 neuron output
{
{1 ,0 ,0 ,0 ,0 },
{1 ,0 ,0 ,0 ,0 },
{0 ,1 ,0 ,0 ,0 },
{0 ,1 ,0 ,0 ,0 },
{0 ,1 ,0 ,0 ,0 },
{0 ,0 ,1 ,0 ,0 },
{0 ,0 ,1 ,0 ,0 },
{0 ,0 ,0 ,1 ,0 },
{0 ,0 ,0 ,1 ,0 },
{0 ,0 ,0 ,0 ,1 },
{0 ,0 ,0 ,0 ,1 }
.....


My trainin code blok is as folowing show

int iterasyon=100000,it=0;
while (it <iterasyon && mmse >= 0.00001)//iteration start section
            {
                mmse = 0;
                mae = 0;
                for (int nf = 0; nf < 400; nf++)//dataset count*********
                {
                    mmse += hesaplas(ndata, nf);
                    //mae += smean_abs_err;
                    trains(nf);

                }//nf

                mmse = 0.5 * (mmse / 400 * 5));
              

                if (it % 100 == 0)
                {
                    yazs.WriteLine(mmse.ToString());
                    yazs.Flush();
                }
                it++;

               

            }//it


modified on Tuesday, August 3, 2010 9:30 PM

AnswerRe: Feed forward Neural network (back propagation) code classification problem Pin
OriginalGriff2-Aug-10 21:47
mveOriginalGriff2-Aug-10 21:47 
AnswerRe: Feed forward Neural network (back propagation) code classification problem Pin
Keith Barrow3-Aug-10 10:53
professionalKeith Barrow3-Aug-10 10:53 
GeneralRe: Feed forward Neural network (back propagation) code classification problem [modified] Pin
karayel_kara3-Aug-10 15:40
karayel_kara3-Aug-10 15:40 
GeneralRe: Feed forward Neural network (back propagation) code classification problem [modified] Pin
Keith Barrow4-Aug-10 1:26
professionalKeith Barrow4-Aug-10 1:26 
GeneralRe: Feed forward Neural network (back propagation) code classification problem Pin
karayel_kara6-Aug-10 18:35
karayel_kara6-Aug-10 18:35 
GeneralRe: Feed forward Neural network (back propagation) code classification problem [Long post] Pin
Keith Barrow7-Aug-10 1:04
professionalKeith Barrow7-Aug-10 1:04 
GeneralResponse to e-mail sent directly from OP Pin
Keith Barrow7-Aug-10 9:36
professionalKeith Barrow7-Aug-10 9:36 
GeneralRe: Response to e-mail sent directly from OP Pin
karayel_kara10-Aug-10 17:56
karayel_kara10-Aug-10 17:56 
GeneralRe: Response to e-mail sent directly from OP Pin
Keith Barrow11-Aug-10 10:16
professionalKeith Barrow11-Aug-10 10:16 
GeneralRe: Response to e-mail sent directly from OP Pin
karayel_kara12-Aug-10 18:15
karayel_kara12-Aug-10 18:15 
GeneralRe: Response to e-mail sent directly from OP Pin
Keith Barrow12-Aug-10 23:12
professionalKeith Barrow12-Aug-10 23:12 
QuestionMasking in C# Pin
Pdaus2-Aug-10 18:28
Pdaus2-Aug-10 18:28 
AnswerRe: Masking in C# Pin
Pete O'Hanlon2-Aug-10 21:37
mvePete O'Hanlon2-Aug-10 21:37 
QuestionThis constraint cannot be enabled as not all values have corresponding parent values Pin
Vimalsoft(Pty) Ltd2-Aug-10 11:42
professionalVimalsoft(Pty) Ltd2-Aug-10 11:42 
AnswerRe: This constraint cannot be enabled as not all values have corresponding parent values Pin
Gopal.S2-Aug-10 17:14
Gopal.S2-Aug-10 17:14 
GeneralRe: This constraint cannot be enabled as not all values have corresponding parent values Pin
Vimalsoft(Pty) Ltd2-Aug-10 21:40
professionalVimalsoft(Pty) Ltd2-Aug-10 21:40 
QuestionChange (or disable) selection color of listview [SOLVED partially] Pin
sodevrom2-Aug-10 8:11
sodevrom2-Aug-10 8:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.