Azzera filtri
Azzera filtri

Industrial Machinery Anomaly Detection, Part02_Modeling.mlx: extractLabeledData

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

David Willingham
David Willingham il 29 Set 2021
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 Commenti
David Willingham
David Willingham il 3 Ott 2021
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 il 8 Ott 2021
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

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by