How to create a datastore out of workspace data?

조회 수: 6 (최근 30일)
Sumedh Soman
Sumedh Soman 2021년 7월 12일
답변: Rishik Ramena 2021년 7월 19일
I have a .mat file which has input and output matrices for a neural network that I am making. Each matrix (input, output) is of dimension 2000x3 size. I tried using keyValue datastore to create a datastore out of it, but it is returning a single cell as output. Can anyone please help me out in this regard?
  댓글 수: 2
Ive J
Ive J 2021년 7월 12일
can you share your mat file (or a subset of it)?
Sumedh Soman
Sumedh Soman 2021년 7월 12일
편집: Sumedh Soman 2021년 7월 12일
There's actually two types of matrices, in1, in2, in3 so on and so forth, and out1, out2, out3 so on an so forth, in and out are the input and output responses for the network. Each matrix is 2000x3 dimension. They all contain numerical data, they aren't related to images text or anything of that sort. I'll try to upload my mat files, but currently my network connection is a bit poor, so it may take some time

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

답변 (1개)

Rishik Ramena
Rishik Ramena 2021년 7월 19일
You might want to use the arrayDatastore type with the "OutputType" name value. The documentation has examples to help in your use case.

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by