c# - Plant recognition on aforge -



c# - Plant recognition on aforge -

i making simple leaf recognizing prorgam. have 10 plant leaf info , total sample size 660.

my input size 3, output layer 10. hidden layers 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 normalizing [0,1] of data.

output info [1,0,0,0,0,0,0,0,0,0] first plant species

[0,1,0,0,0,0,0,0,0,0] sec plant species

[0,0,1,0,0,0,0,0,0,0] 3rd plant species

...

...

[0,0,0,0,0,0,0,0,0,1] 10th plant species.

but error 32 , not recognize plant species.

my transfer function bipolarsigmoid , alfa value 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 );

c# neural-network aforge backpropagation

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -