Missing processTurboFanDataTrain function in deep learning example

조회 수: 5 (최근 30일)
Hi
There is an example of deep lerarnig provoded by mathwork in the following link:
I was trying to run this example code but there were missing functions which are processTurboFanDataTtain and processTurboFanDataTest.
Could you please guide me to find these missing functions?
Thanks
  댓글 수: 2
Mohammad Sami
Mohammad Sami 2020년 4월 17일
Paste the following command in Maltab
openExample('nnet/SequencetoSequenceRegressionUsingDeepLearningExample')
The two functions are in the same folder as the example
ABDULRAQEB ALHAMMADI
ABDULRAQEB ALHAMMADI 2020년 4월 17일
편집: ABDULRAQEB ALHAMMADI 2020년 4월 18일
Thanks for your reply
I did it but got an error.
>> openExample('nnet/SequencetoSequenceRegressionUsingDeepLearningExample')
Index exceeds matrix dimensions.
Error in openExample>readMetadata (line 95)
metadata.component = tokens{1};
Error in openExample (line 10)
metadata = readMetadata(id);
================================================
Is it because of the old version (I'm using R2016a)?
Could you please upload here these functions?

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

채택된 답변

Steven Lord
Steven Lord 2020년 4월 18일
I believe, based on the Release Notes, that this example was introduced in release R2018a. Because of that I'm doubtful you could run it in release R2016a. Regardless, those helper functions are part of Deep Learning Toolbox so no, people should not upload those functions here. Upgrade to release R2018a or later with Deep Learning Toolbox (which prior to release R2018b was named Neural Network Toolbox) in order to run that example.
  댓글 수: 3
baby
baby 2022년 9월 29일
편집: baby 2022년 9월 29일
even in 2022b the related download for data and related functions are not available in the description as written in the example notes, but can be found : \MATLAB\R2022b\examples\deeplearning_shared\main
Steven Lord
Steven Lord 2022년 9월 29일
When I open the example in MATLAB Online the current directory contains three files, two of which are the helper files listed in the original question:
>> ls
processTurboFanDataTest.m processTurboFanDataTrain.m SequencetoSequenceRegressionUsingDeepLearningExample.mlx
If I opened the example in release R2022b with Deep Learning Toolbox installed I'd expect that same behavior.

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

추가 답변 (1개)

Omar Kamel
Omar Kamel 2023년 11월 23일
I tried this example with R2023b but the functions processTurboFanDataTrain and processTurboFanDataTest is not available. Any help on that?

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by