How to form the training set ?
Show older comments
Hello all, I am new to machine learning and wanna use MATLAB for it... I am trying to form a training set in MATLAB on the basis of following expression:

where S denotes the training set, M = 10, m = 1 to M,
is the training feature such that
,
denotes the training label such that
.
is the training feature such that
,
denotes the training label such that
. My query is what should be the dimension of my training set. I think it should be
.
Any help in this regard will be highly appreciated.
1 Comment
chaaru datta
on 14 May 2022
Accepted Answer
More Answers (1)
the cyclist
on 17 May 2022
0 votes
I spent a little bit more time with the paper.
It seems to me that in the paper, the labels y are supposed to be used when generating s (Eq. 5 & 6) and then epsilon (Eq. 7 & 8).
But you don't use your labels as part of the calculation of the features.
7 Comments
chaaru datta
on 18 May 2022
the cyclist
on 18 May 2022
But the labels used to generate the feature are not what you use in the variable Train_label (which is the 3rd column of Train_set). Shouldn't they be the same labels? Instead, Train_label is just random noise.
Can you also post the Python code with the model, so I can see how you are using the output of the MATLAB program?
chaaru datta
on 18 May 2022
chaaru datta
on 18 May 2022
the cyclist
on 18 May 2022
I'm not sure I can spend enough time reviewing the paper, and your code, to be able to answer these for you.
But what is very clear to me is that in your current code, the labels you are using are completely unrelated to the energy level features, so they will be unpredictable.
It seems possible to me that in the training set, the label are supposed to be almost perfectly predictable, but the testing set (with different labels) will not be as predictable. That is normally what happens in machine learning problems.
I can try to take another look, but probably not for a few days.
chaaru datta
on 18 May 2022
chaaru datta
on 20 Jun 2022
Categories
Find more on Linear Predictive Coding in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!