# matlab neural networks coder

I am relatively new to neural networks and I have tried to use the Neural Network pattern recognition app in Matlab. I am not sure if I was successful in my approach since I I always get 100% accuracy in my confusion matrix when I use NN pattern recognition app.

I am also curious to know how to get the number of hidden layers to have better accuracy, use different learning algorithm etc.

This is the problem statement

I have a pressure sensor and depending on the pressure applied resistance is measured between 2 points of the 3 electrodes connected to it.

That is either between electrodes

1 and 2 with 2 being ground or

2 and 3 with 3 being ground or

3 and 1 with 1 being ground The pressure is applied at 2 positions on the sensor (position A and B)

[the points of pressure are chosen at random within A or B during a measurement cycle. which means it remains same during a cycle but changes in the next cycle]

This are the set of measurements I had done

1. Measured R12, R23, R13

(12(ground) No Pressure)

(23(ground) No Pressure)

(31(ground) No Pressure)

2. While applying pressure on random point on A, measured R12, R23, R13

(12(ground) Pressure on A )

(23(ground) Pressure on A )

(31(ground) Pressure on A )

3. While applying pressure on random point on B, measured R12, R23, R13

(12(ground) Pressure B )

(23(ground) Pressure on B )

(31(ground) Pressure on B )

This setup was run for 52 cycles

I want to make an NN pattern recognition program in which depending on the resistance inputs given the program should tell me if the input was from position A or B or when no pressure was applied to the sensor.

This is how i have arranged the data in nmatlab

Input [3x4680]

3 rows are electrode 12,23 and 31

first 1560 columns (52 cycles *30 measurements) = no pressure data

second 1560 columns = pressure on A data

Third 1560 columns = pressure on B data

target [3x4680]

first 1560 columns = no pressure data [100]

second 1560 columns = pressure on A data [010]

Third 1560 columns = pressure on B data [001]

I get 99.2% accuracy when i give H value as 4 (epoch=81;performance 0.0037) and on giving h=5 (epoch=223;performance 1.8673e-07) i get 100%.

The more I increase the h value after 5, I get the same 100%. I am not sure where I must stop.

I am not sure if the issue is with the logic follow or if the data is very good.

I am attaching the program with the excel sheet where the key to the arrangement of the data is shown.

Any form of help is appreciated.

Tentang Majikan:
( 2 ulasan ) Sweden

ID Projek: #15521912

## 9 pekerja bebas membida secara purata kr277 untuk pekerjaan ini

kr163 SEK dalam sehari
(98 Ulasan)
6.7
davidngo817

------------------- Neural Network/Image processing Professional ----------------------- Relevant Skills and Experience Machine Learning, Matlab and Mathematica, Neural Networks Proposed Milestones kr212 SEK - 1

kr212 SEK dalam sehari
(19 Ulasan)
5.4
leon0209

I use NN for recognition and classification in many problems that I can show you the demo as references. Here are some of my works: [login to view URL] Best Relevant Skills and Experience matlab, NN, machine Lagi

kr1111 SEK dalam sehari
(30 Ulasan)
5.3
kr163 SEK dalam sehari
(31 Ulasan)
4.9
trutony

Hello,I hope to work for you.i am a talented image processing expert and have a lot of experience in this [login to view URL] you contact me, you will get a good [login to view URL] and regards Relevant Skills and Experience NN, image Lagi

kr163 SEK dalam 3 hari
(11 Ulasan)
4.8
viseros

hi I have recently implemented NN for handwriting recognition. please message me to discuss time line

kr182 SEK dalam 3 hari
(2 Ulasan)
2.2
ardenraman

-Very Nice Job. Professional Machine Learning, Matlab and Mathematica, Neural Networks expert. Best result in time----- Relevant Skills and Experience I have high skills and many experiences for the fields such as Ma Lagi

kr163 SEK dalam sehari
(3 Ulasan)
1.3
brenonjoseph

Hello my name is Brenon Joseph and I am an American mechanical engineering who have been working on market for about five years and in addition I used to teach matlab as a TA in a university in Pennsylvania. If you wan Lagi

kr102 SEK dalam 15 hari
(0 Ulasan)
0.0
gemini67

I can do this project. Relevant Skills and Experience 22 years Proposed Milestones kr232 SEK - 1

kr232 SEK dalam 25 hari
(0 Ulasan)
0.0