Effacer les filtres
Effacer les filtres

Industrial Machinery Anomaly Detection, Part02_Modeling.mlx: extractLabeledData

1 vue (au cours des 30 derniers jours)
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

Réponse acceptée

David Willingham
David Willingham le 29 Sep 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 commentaires
David Willingham
David Willingham le 3 Oct 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 le 8 Oct 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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by