Carlos Lopez
12/05/2023, 1:48 PMdbt run. However I’m trying to just do a random test on a random column in a model, but i’m running into the following message: Not enough data to calculate anomaly score. (in the test_results_description column in table elementary_test_results)
I have configured the test for my column as follows:
- name: my_column
tests:
- elementary.column_anomalies:
timestamp_column: my_date
anomaly_sensitivity: 6 ## forcing anomalies to show up
days_back: 15
Is the error referring to elementary not having enough historical data to compare against in the past? Or does the test look at the results of the clusters it created by grouping over the timestamp column?
I just want to be able to execute the tests and throw some results so I can present this to the rest of the BI team before we proceed with the integration 😄
Let me know if you need any other info from my side to troubleshoot - and many thanks in advance for your help!Noa Kurman
12/05/2023, 2:00 PMdays_back and that’s why we can’t calculate the anomaly
If you’d like, and this is only for a showcase you can reduce this number and try again, or you can wait the 15 days 🙂 All that if you indeed say you don’t have data that far back in the table (if you do, we’ll continue the investigation)Carlos Lopez
12/05/2023, 2:02 PMCarlos Lopez
12/05/2023, 2:29 PM