Interpreting the Hotspots Results in DataRobot

June 24, 2020
by
· 2 min read

This post was originally part of the DataRobot Community. Visit now to browse discussions and ask questions about DataRobot, AI Platform, data science, and more.

This article showcases how you can interpret the Hotspots results from within the DataRobot Insights tab.

DataRobot generates hot and cold spots which are essentially simple rules with high predictive performance. These rules are available when: 

  • A RuleFit classification or Regression model has been trained.
  • At least one numeric column exists.
  • There are fewer than 100K columns. 

Accessing Hotspots

To access hotspots, navigate to Insights and then click Hotspots (as shown in Figure 1).

Thodoris 0 1592997626204
Figure 1. Insights page

You see the Hotspots page (Figure 2).

Thodoris 1 1592997626205
Figure 2. Hotspots page

At the top of the page, you see a bubble plot where each bubble represents a set of rules that have been extracted from the model. The bubble size tells you the frequency of that set of rules, while the color of the bubbles indicate the predictive power of these rules. In our example, a red (or hot) bubble means high probability of rehospitalization while a blue (or cold) bubble means a low probability of rehospitalization.

There are three different ways to extracted rules:

  • Hover over a bubble.
  • See a list view of the rules from within the UI.
  • Export the rules (PNG, CSV, or ZIP format). 

Through the list view in the UI you can sort these rules by their mean target value, which will show the rules that lead to a high probability of a patient being rehospitalized.

Rules are generally easy to read but pay extra attention to categorical features. For example this is the 4th rule in order of appearance in Figure 2:

discharge_disposition_id-Expired <= 0.5 & number_inpatient > 0.5

  • Discharge_disposition_id is a categorical feature.
  • Number_inpatient is a numeric feature.

You read this rule as follows: 

If discharge disposition does not have the value “Expired” and if the number of inpatient stays is > 0.5 (same as > 1 since this is integer), then the average probability for the patient to be rehospitalized is x%.

The advantage of hotspots is that:

  1. They are short and can be interpreted by a person.
  2. They can be transferred outside of DataRobot. For example, you could use them to enhance a rules-based prediction engine that your team has created.

Lastly, if you do not see Hotspots under insights, then navigate to the repository and manually run a RuleFit classifier or regressor blueprint. Figure 3 shows an example of this process. 

Thodoris 2 1592997626220
Figure 3. Repository page

More Information

Find out more about Hotspots by visiting our public documentation portal and navigating to the Hotspots Insights section.

DEMO
See DataRobot in Action

Schedule a live demo to learn more about how the DataRobot trusted AI platform can help you deliver value and success

Request a demo
About the author
Linda Haviland
Linda Haviland

Community Manager

Meet Linda Haviland
  • Listen to the blog
     
  • Share this post
    Subscribe to DataRobot Blog
    Newsletter Subscription
    Subscribe to our Blog