How to create target matrix?
显示 更早的评论
I have extracted 21 features of 12 samples. I need to create a target matrix. Plz help.
6 个评论
Jan
2017-8-29
I recommend to explain any details if you want others to understand, what you are doing.
KSSV
2017-8-30
Your target depends on what is your problem...what are features..what algorithm you are going to use. If the problem is of clustering, you may not have target itself. With out this information tough to get help. Explain more.
Walter Roberson
2017-8-30
You should start with a target vector of length 12, in which the K'th entry tells you which class sample #K belongs to.
Greg Heath
2017-8-30
Considering the lack of details in your question, I'm surprised you received any responses. It is not even clear whether this is regression or classification.
The more info you choose to reveal, the more likely the responses will help.
Greg
Aya Ahmed
2020-6-6
if It is classification. what we need to create a target matrix ?
Walter Roberson
2020-6-6
You need target information in order to do the training.
In machine learning, there are two kinds of algorithms:
- algorithms which start with some information about what the "right" answer is for some cases, and use it to figure out useful characteristics to separate the various cases correctly; or
- algorithms which are not given any information about what samples belong to what, and have to somehow figure out what the groupings are anyhow.
The second kind of algorithm is potentially useful for organizing information when no organization is known ahead of time, or for discovering organizing factors that had been previously overlooked. However, it is much more difficult to get useful answers out of in a reasonable time.
回答(1 个)
Greg Heath
2017-8-30
Considering the lack of details in your question, I'm surprised you received any responses. It is not even clear whether this is regression or classification.
The more info you choose to reveal, the more likely the responses will be relevant.
If you have N I-dimensional "I"nputs that are paired with N O-dimensional "O"utput targets for designing a net with O-dimensional outputs
[ I N ] = size(input)
[ O N ] = size(target) % = size(correspondingoutput)
Hope this helps.
Thank you for formally accepting my answer
Greg
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!