Azure-Samples / AnomalyDetector

Samples for the Anomaly Detection API documentation:
https://docs.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/
MIT License
97 stars 167 forks source link

MVAD -SDK-Demo notebook does not work #53

Open simonbloomer opened 1 year ago

simonbloomer commented 1 year ago

I have followed the documentation to run the MVAD Python Notebook and it fails with error

ImportError: cannot import name 'DetectionRequest' from 'azure.ai.anomalydetector.models' (c:\Python311\Lib\site-packages\azure\ai\anomalydetector\models\__init__.py)

upon inspection of the file init.py DetectionRequest is indeed missing.

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Run Notebook (Import related packages)

Expected/desired behavior

Imports are imported without error

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) Windows 10, Python 3.11

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.