フィルターのクリア

welcom I want to load target in neural networks. How can download target in function nnstart

5 ビュー (過去 30 日間)
fatima ali
fatima ali 2015 年 1 月 30 日
コメント済み: Bandi 2023 年 3 月 29 日
I want to be pinned down a goal in neural networks. How can download target in function nnstart
  6 件のコメント
santhosh kumar buddepu
santhosh kumar buddepu 2021 年 12 月 8 日
how to create this target data? can I write manually like you mentioned? my input is 76*6 (76 images with 6 features) and I have 3 classes. means my target data should be 76*3. how to create this data.?
I have assigned labels to my database like "traindatabase.Labels" which gives 76*1 categorical data
Bandi
Bandi 2023 年 3 月 29 日
sir, Am unable to see the above window after pressing the fitting option

サインインしてコメントする。

回答 (1 件)

yanqi liu
yanqi liu 2021 年 12 月 8 日
yes,sir,may be the data should be one-hot type,such as
>> [x,t] = simpleclass_dataset;
>> nprtool
then,you will found that the t is
of course,if you want to make your own data,such as
X = rand(4, 5);
Y = zeros(3, 5);
Y(2,1:3) = 1;
Y(1,4:5) = 1;
  2 件のコメント
santhosh kumar buddepu
santhosh kumar buddepu 2021 年 12 月 8 日
thank you @yanqi liu
but if i have large dataset and many number of classes everytime shall i need to do like this. or is there any other suggestion
Y = zeros(3, 5);
Y(2,1:3) = 1;
Y(1,4:5) = 1;
yanqi liu
yanqi liu 2021 年 12 月 9 日
yes,sir,if the class number is 3,then use one-hot type to range target data Y

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by