Export Isolation Forest Individual Interpretation / Heatmap

Tamkin
Tamkin Dataiku DSS Core Designer, Registered Posts: 3 ✭

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.

Tagged:

Best Answer

  • AdrienL
    AdrienL Dataiker, Alpha Tester Posts: 196 Dataiker
    Answer ✓

    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

         

Answers

  • AdrienL
    AdrienL Dataiker, Alpha Tester Posts: 196 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.

  • Tamkin
    Tamkin Dataiku DSS Core Designer, Registered Posts: 3 ✭

    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.

  • Tamkin
    Tamkin Dataiku DSS Core Designer, Registered Posts: 3 ✭

    Thank you.

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

  • AdrienL
    AdrienL Dataiker, Alpha Tester Posts: 196 Dataiker
    No unfortunately
Setup Info
    Tags
      Help me…