How to form the training set ?
古いコメントを表示
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 件)
the cyclist
2022 年 5 月 17 日
0 投票
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 件のコメント
chaaru datta
2022 年 5 月 18 日
the cyclist
2022 年 5 月 18 日
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
2022 年 5 月 18 日
chaaru datta
2022 年 5 月 18 日
the cyclist
2022 年 5 月 18 日
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
2022 年 5 月 18 日
chaaru datta
2022 年 6 月 20 日
カテゴリ
ヘルプ センター および File Exchange で Communications Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
