C2W1_Assignment Exercise_7

In the markdown section - 6 Schema Environments
It is mentioned that slight schema variations is necessary. However, in the StatsOptions it is already defining schema for the previously inferred schema of Train_stats. once I execute my code it shows No anomalies detected. Which is not the expected output. Kindly help.

1 Like

When checking for anomalies in the serving set, something like this should appear:

Please fix your code.

Posting code in a public topic is discouraged and can get your account suspended. It’s okay to share stacktrace on a public post and send code to a mentor via direct message. Don’t forget to cleanup the post.

Here’s the community user guide to get started.

Hi @balaji.ambresh ,
Thank you for your reply.
I tried to fix my code, Even when I infer a new schema based on serving stats the output does not match, and all the subsequent exercises are affected by it.

Please click my name and message your notebook as an attachment.

Hi @balaji.ambresh ,
I have messaged you my notebook. kindly check.

Please fix the function calculate_and_display_anomalies.
Another hint: Use function parameters and local variables when possible.

1 Like

I understood where I was going wrong.
Thank you very much for your help and quick responses.