Deep Network Designer issue for regression problem, I can't import my data set - Deep Learning Toolbox

9 views (last 30 days)
Hey guys, I'm totally new in the machine-learning world and I'm stucking pretty bad already with the Deep Network Designer.
I'm using a huge data set (.mat-file) including a 1.500.000 x 20 table which I want to use as a training & validation input for a regression problem and a 1.500.000 x 5 table as output data. All elements are numeric and customized. I'd like to train a recurrent network (lstm) as it is a time series problem and therefore I want to use the Deep Network Designer. So here's the problem:
As I dont't work with images I can't use the function "import image data" and I do not know how to transfer my data set into something, which would let it work. Apart from that, the "import from data store" doesn't work in my case as well even though all my data is in the workspace. At first I thought the problem might be because of the class as "table" so I changed it to array (double) but still no chance!!
Is there any way to use the imageInputlayer and to "transform" all my data to multiple images, so that I could import all of that? If so, how is it possible?
I would be very thankful for any tipps!!!
  1 Comment
Xin Zhou
Xin Zhou on 20 Jan 2022
Hello, I also encountered this simple problem, that is, I can't import the database. Unable to select browse mode to add my database. Is there a bug in my version? My version is 2021a. Has your problem been solved?

Sign in to comment.

Answers (1)

Prateek Rai
Prateek Rai on 16 Aug 2021
To my understanding, you want to train a recurrent network (lstm) using Deep Network Designer and want to import data into deep network designer.
You can refer to Import Data into Deep Network Designer MathWorks documentation page to find a possible workaorund on importing data in deep network designer.
  2 Comments
Xin Zhou
Xin Zhou on 20 Jan 2022
Hello, I also encountered this simple problem, that is, I can't import the database. Unable to select browse mode to add my database. Is there a bug in my version? My version is 2021a.
Sam
Sam on 19 Jul 2022
Edited: Sam on 19 Jul 2022
In order to import your data in the Deep Network Designer, you need to store your data in the format of a datastore object: https://www.mathworks.com/help/matlab/ref/datastore.html
such as:
ds = datastore("mydata.csv")

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!