フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

While building a training set I come across an issue.. different sized samples.

2 ビュー (過去 30 日間)
ampaul
ampaul 2017 年 6 月 23 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello.
I am building a training set for a neural network toolbox. In this dataset, there are 4 classes. Two of the classes contain 91 samples with 181 elements in each sample. The other two classes contain 91 samples with 91 elements in each sample. My objective is to stack these classes on top of each other in one big matrix, but I can't do that because of the size difference.
I thought about making all datasets 181*91 matrices with NAN to fill empty slots, but I am wondering if that will make training too easy for the network?
To explain further, I am afraid that would automatically teach the network that if the dataset contains a lot of NANs, then it must be one of two classes, rather than learning characteristics of the actual dataset.
Ideas? Thanks!
  1 件のコメント
Greg Heath
Greg Heath 2017 年 6 月 25 日
Your use of the terms "sample" and "elements" is confusing and misleading.
You need N examples of I-dimensional input vectors paired with N O-dimensional output vectors so that
[ I N ] = size(input)
[ O N ] = size(target)
For classifiers O is the number of classes.
Is your 181 a vector dimension or the number of vectors?
Greg

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by