Clear Filters
Clear Filters

Is there any way to obtain the classified signal for each class ?

2 views (last 30 days)
Hi all,
I have four classes where they are electrical loads having current signal with respect to time ( sequential) which is one of the features
I am just wondering if there is any way to obtain the classified signal after classification because using a function (predict) just give me the classified labels of classes.
  2 Comments
Walter Roberson
Walter Roberson on 1 Sep 2022
What difference do you see between giving the "classified signal after classification", compared to giving the "classified labels of classes" ?
OMAR MOUSA
OMAR MOUSA on 1 Sep 2022
The difference is "classified signal after classification" the classified electrical signal for each class from the total power and "classified labels of classes" the classification result based on the labels
I mean, is there any way to have the classified signal with respect to time?

Sign in to comment.

Answers (1)

Krishna
Krishna on 27 Dec 2023
Hey Omar,
As far as I understand your question you need to classify a set of four signals and need a classified signal on the output’s labels. For “classified signals after classification” as you mentioned, can be created using the labels only, assuming you are able to classify the signal correctly. Given the question, the output signal for time k is nothing but the value of classified signal at time k. So, for example at the 10th timestep if you’re output label is 3 then the value of output signal is equal to value of signal 3 at timestep 10.
To correctly map 4 signals to classification label you can use several time series techniques some of them including RNN, LSTM in general. But for simple problems I would suggest starting with feed forward networks as base model as they can provide good results.
To know more about how to train classification model using feedforwardnet please go through this documentation link,
Note, these are shallow networks implementation. To create models using dlnetworks (latest network in MATLAB to implement deep learning models) please go through this documentation link which is an example for simple classifcation using dlnetworks,
Hope this helps.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!