Industrial Machinery Anomaly Detection, Part02_Modeling.mlx: extractLabeledData

2 次查看(过去 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 for Image Processing 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by