MATLAB Neural Network Classification Problem

Click For Summary
The discussion revolves around a MATLAB neural network classification problem involving aircraft engine data. The user is attempting to train a neural network using normal and abnormal data sets to classify engine conditions. They encounter an issue where the output from the neural network does not match the expected results, specifically in the classification of the test data. The user seeks guidance on modeling normality and abnormality using neural networks in MATLAB, emphasizing their inexperience with the technology. Assistance is requested to correct the code and improve the classification accuracy.
lkh1986
Messages
96
Reaction score
0

Homework Statement



P = [data(1:65,11:100) data(1:65,411:500)]; % Input, all together 180 data set, 65 dimension

T = [ones(1,90) zeros(1,90);
zeros(1,90) ones(1,90)]; % Actual output, first 90 data set belong to class I and the next 90 belong to class II

net = newrb(P,T); % Train networkPnew = [data(1:65,1:10) data(1:65,401:410)]; % Data set for testing, 20 data set, first 10 belong to class I, next 10 belong to class II

Y = sim(net,Pnew);

Homework Equations


The Attempt at a Solution



The desired output, Y should be
[1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0;
0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1];

However, all I get is Y =
[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1;
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ];

Hm, anything wrong with the code? Thanks.
 
Physics news on Phys.org
Hi friends

I have a problem,

I have two sets of data of aircraft engine, first is the normal data which have been recorded by sensors and the other one is the abnormal data (when the engine is faulty): Now I have been asked :
1-to model of normality (based on normal data ) using Neural Network in order to classify the faulty and healthy class of the system .

2-and model of abnormality (based on abnormal data) using Neural network , this time I have to test data against model of normality+model of abnomality such that when I tested data by NN , if the data looks like normal model so should be in the normal class ,if looks like abnormal class , so it is abnormal class..

Please help me as I am new in the nueral network (please someone guide me by MATLAB code) please please...

Thanks
 

Similar threads

Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
15
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K