필터 지우기
필터 지우기

I can't load my own dataset!

조회 수: 3 (최근 30일)
Hadeer tawfik
Hadeer tawfik 2016년 10월 7일
답변: kinju Prajapati 2019년 1월 11일
I am having a feature vector of 1X83 and a target matrix of 5X83 and both of them are in .mat format i wanted to creat a dataset that contains them just like this: [ x, t ] = iris_dataset;
so how to create a dataset like iris_dataset?
A little help will be very appreciated please
  댓글 수: 3
Hadeer tawfik
Hadeer tawfik 2016년 10월 7일
Ok how to use this if i want to run this code:
[x,t] = digit_dataset;
Train an autoencoder with a hidden layer of size 10 and a linear transfer function for the decoder. Set the L2 weight regularizer to 0.001, sparsity regularizer to 4 and sparsity proportion to 0.05.
rng('default')
hiddenSize = 10;
autoenc1 = trainAutoencoder(X,hiddenSize,...
'L2WeightRegularization',0.001,...
'SparsityRegularization',4,...
'SparsityProportion',0.05,...
'DecoderTransferFunction','purelin');
here i want to replace the digit_dataset with my dataset please. so what do you suggest?
sarath chandrika balaji
sarath chandrika balaji 2017년 9월 18일
can u help me in backpropagation code? Sorry,I'm a newbie...!!!

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2016년 10월 7일
function [x, t] = digit_dataset
datastruct = load('MatFileThatYourDataIsIn.mat');
x = datastruct.x;
t = datastruct.t;
end
  댓글 수: 5
Greg Heath
Greg Heath 2016년 10월 8일
I still don't see why you feel it is absolutely necessary for you to have to use the first and last commands, i.e., use a function.
It's just an option. Correct?
Greg

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

kinju Prajapati
kinju Prajapati 2019년 1월 11일
how to load owndataset ???just like iris_dataset..

카테고리

Help CenterFile Exchange에서 Classification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by