Click here to Skip to main content
11,582,911 members (69,308 online)
See more: C# Recognition
I am making simple leaf recognizing prorgam. I have 10 plant leaf data and total sample size about 660.

My input size 3, output layer 10. Hidden layers is changeable.(2 between 30)

First input data: compactness = (2*pi*Leaf Area) / (perimeter*perimeter)

Second input data: aspect Ratio = leaf windth / leaf height

Third input data: fullness = leaf Area / ( width * height )

And I am normalizing [0,1] all of data.

Output data is [1,0,0,0,0,0,0,0,0,0] for first plant species

[0,1,0,0,0,0,0,0,0,0] for second plant species

[0,0,1,0,0,0,0,0,0,0] for third plant species

...

...

[0,0,0,0,0,0,0,0,0,1] for tenth plant species.

But my error is about 32 and no recognize plant species.

My transfer function BipolarSigmoid and alfa value is 2. Learning Rate : 0.5 Momentum : 0.0


network = new ActivationNetwork(
            new BipolarSigmoidFunction(2), //activation func.
            3,                             //input count
            trackBar2.Value,        //hidden layer count
            10 );                          //output count     

        //Learning Network
        BackPropagationLearning backprob = new BackPropagationLearning( network );

What is my wrong? Thanks in advance. (sorry my english)
Closed because the post is not clear, or is incomplete and has not been phrased in a way that allows it to be fully understood.. Reported by Sergey Alexandrovich Kryukov, Kornfeld Eliyahu Peter, Peter Leow on Saturday, June 21, 2014 7:43pm.
Posted 20-Jun-14 11:26am
Edited 21-Jun-14 19:43pm
(no name)128.2K
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 365
1 virusstorm 209
2 Sergey Alexandrovich Kryukov 205
3 Kornfeld Eliyahu Peter 160
4 Andy Lanng 144
0 OriginalGriff 1,403
1 Sergey Alexandrovich Kryukov 970
2 Abhinav S 696
3 F-ES Sitecore 505
4 Suvendu Shekhar Giri 503


Advertise | Privacy | Mobile
Web03 | 2.8.150603.1 | Last Updated 20 Jun 2014
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100