Industrial Machinery Anomaly Detection, Part02_Modeling.mlx: extractLabeledData

조회 수: 6 (최근 30일)
hi all,
within "Industrial Machinery Anomaly Detection", livescript 'Part02_Modeling.mlx"
line8 is : X = extractLabeledData(featureTrain, "Label", "After");
when i try to run this line, matlab returns 'unrecognized function or variable extractLabeledData'
=> extractLabeledData seems not to be known by matlab help and is neither a variable.
am I missing something, how to overcome this issue ?
best regards
Juliette

채택된 답변

David Willingham
David Willingham 2021년 9월 29일
Hi Juliette,
You'll need to open the MATLAB project first and it will setup the path for the example.
To Run:
  1. Open the MATLAB Project AnomalyDetection.prj
  2. Run Part 1 - Data Preparation & Feature Extraction
  3. Run Part 2 - Modeling
David
  댓글 수: 5
David Willingham
David Willingham 2021년 10월 3일
Hi Juliette, the file extractLabeledData is in the HelperFunctions subfolder. If you're receiving the error, it means the path wasn't setup correctly.
After opening the AnomalyDetection.prj, what is the output of:
>> which -all extractLabeledData
juliette soula
juliette soula 2021년 10월 8일
Hi David,here is the result:
>>which -all extractLabeledData
'extractLabeledData' not found.
You're right "extractLabeledData.m" is "hidden" in the HelperFunctions subfolder.
I've copied the file to the level of Part02_Modeling.mlx file to have it work

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by