question

SarikaGS-2251 avatar image
0 Votes"
SarikaGS-2251 asked romungi-MSFT commented

Multivariate anomaly detector: AttributeError: 'MultivariateSample' object has no attribute 'train'

Hi,

While running the python code that is available in the linkclient-libraries-multivariate , i got the below error in "Run the Application" area.

AttributeError: 'MultivariateSample' object has no attribute 'train'

Can anybody assist in solving this error?

azure-anomaly-detector
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SarikaGS-2251 Did you get a chance to check the response below and try the sample again after correction?

0 Votes 0 ·

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered romungi-MSFT edited

@SarikaGS-2251 The error indicates that the train method is not created as per the steps mentioned in the documentation.

The train method of this sample calls the client's train_multivariate_model to train the model. Please try to create this method and try again if this works. Thanks!!

If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.