Export Isolation Forest Individual Interpretation / Heatmap

Solved!
Tamkin
Level 2
Export Isolation Forest Individual Interpretation / Heatmap

The Isolation Forest Report, under "Clusters" &  Anomalies has a very nice heat maps highlighting which datapoints are anomalies.

As far as I can tell there is no way to export this heatmap and no way to export a dataset that says which datapoints contributed most to the anomaly score. You can only export the dataset which indicates that the full row is an anomaly. 

Amy I missing something? It would be super useful to export this information.

 

 

0 Kudos
1 Solution
AdrienL
Dataiker

You need to deploy the model to the flow as a retrainable clustering model. You should then go to that model, open the one version it has (which is the one you just deployed), and from there you should be able to publish. The model in the Lab (which still exist) is never publishable.

Screenshot 2023-08-22 at 15.24.20.pngFind your model in the flow

Screenshot 2023-08-22 at 15.24.36.png Open it, it has one version

Screenshot 2023-08-22 at 15.25.20.png Open that version, go to Heatmap, Publish is available from here (in the top-right corner)

Screenshot 2023-08-22 at 15.25.41.png Add to a dashboard

Screenshot 2023-08-22 at 15.26.05.png You now have a heatmap tile in the dashboard

     

View solution in original post

0 Kudos
5 Replies
AdrienL
Dataiker

If you deploy the clustering model to the flow, you can then publish this chart on a Dashboard, and then export this dashboard. It will however be limited, as you will only get what fits in the view.

0 Kudos
Tamkin
Level 2
Author

The publish option never became available after deploying the clustering model. Not sure if this is a bug or if it is because it isn't a predictive model. 

0 Kudos
AdrienL
Dataiker

You need to deploy the model to the flow as a retrainable clustering model. You should then go to that model, open the one version it has (which is the one you just deployed), and from there you should be able to publish. The model in the Lab (which still exist) is never publishable.

Screenshot 2023-08-22 at 15.24.20.pngFind your model in the flow

Screenshot 2023-08-22 at 15.24.36.png Open it, it has one version

Screenshot 2023-08-22 at 15.25.20.png Open that version, go to Heatmap, Publish is available from here (in the top-right corner)

Screenshot 2023-08-22 at 15.25.41.png Add to a dashboard

Screenshot 2023-08-22 at 15.26.05.png You now have a heatmap tile in the dashboard

     

0 Kudos
Tamkin
Level 2
Author

Thank you.

Is there a way to add labels to the graphic (one for each displayed anomaly) ?

0 Kudos
AdrienL
Dataiker
No unfortunately
0 Kudos