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

SarikaGS 1 Reputation point
2021-10-06T05:10:05.243+00:00

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 AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,363 questions
{count} votes

2 answers

Sort by: Most helpful
  1. romungi-MSFT 41,866 Reputation points Microsoft Employee
    2021-10-07T04:28:08.013+00:00

    @SarikaGS 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.

    0 comments No comments

  2. Abdullah Nouman 1 Reputation point
    2021-12-10T17:36:37.343+00:00

    This question is very effective and i like the most and this source help you better Ideoversity

    0 comments No comments