MATLAB Neural Network Classification Problem

Click For Summary
SUMMARY

The discussion centers on implementing a neural network classification problem using MATLAB's newrb function to differentiate between normal and abnormal aircraft engine data. The user attempts to train a neural network with a dataset consisting of 180 input samples and corresponding target outputs, but encounters issues with the output not matching the expected results. The conversation highlights the need for proper data modeling techniques in MATLAB for effective classification of engine states.

PREREQUISITES
  • Understanding of MATLAB programming and syntax
  • Familiarity with neural network concepts and the newrb function
  • Knowledge of data preprocessing techniques for neural networks
  • Basic understanding of classification problems in machine learning
NEXT STEPS
  • Explore MATLAB's Neural Network Toolbox documentation for advanced functions
  • Learn about data normalization techniques to improve neural network performance
  • Investigate the use of cross-validation in neural network training
  • Study the differences between supervised and unsupervised learning in neural networks
USEFUL FOR

Data scientists, machine learning practitioners, and engineers working on predictive maintenance or fault detection in systems using neural networks.

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
2K
  • · 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
2K
Replies
15
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K