What is "arraydatastore" error

Dear someone
I'm trying to set a multiple input and output for neural network.
In order to understand how it works, I just tried examples in Mathworks (as bellows URL) but it doesn't work.
An error message
>> dsXTrain = arraydatastore(XTrain,'IterationDimension',4);
Unrecognized function or variable 'arraydatastore'.
showed up.
URL : https://jp.mathworks.com/help/deeplearning/ug/train-network-with-multiple-outputs.html?lang=en
How can I do for this ??
---------------------Script from the URL-------------------------------
[XTrain,YTrain,anglesTrain] = digitTrain4DArrayData;
dsXTrain = datastore(XTrain,'IterationDimension',4);
dsYTrain = datastore(YTrain);
dsAnglesTrain = datastore(anglesTrain);
dsTrain = combine(dsXTrain,dsYTrain,dsAnglesTrain);
classNames = categories(YTrain);
numClasses = numel(classNames);
numObservations = numel(YTrain);
------------------------------------------------------------------------------

1 commentaire

chengkai zhu
chengkai zhu le 22 Oct 2020
I meet the same problem. probably need update to the newest version?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by