How to create target matrix?

I have extracted 21 features of 12 samples. I need to create a target matrix. Plz help.

댓글 수: 6

Jan
Jan 2017년 8월 29일
I recommend to explain any details if you want others to understand, what you are doing.
KSSV
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
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.
Depending on the routine you use, you might need to use ind2vec()
Greg Heath
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
Aya Ahmed 2020년 6월 6일
if It is classification. what we need to create a target matrix ?
Walter Roberson
Walter Roberson 2020년 6월 6일
You need target information in order to do the training.
In machine learning, there are two kinds of algorithms:
  1. 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
  2. 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
Greg Heath 2017년 8월 30일

0 개 추천

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에 대해 자세히 알아보기

질문:

2017년 8월 29일

댓글:

2020년 6월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by