Automating HTML reports and graphs

Generating reports from predictive models is not very exciting but it is one of the most common applications of scripting. The main benefit of scripting is the ability to generate large amounts of graphics and make them easy to navigate through an HTML interface. It's certainly possible and often advisable to use a BI (Business Intelligence) platform to deliver these graphics; however there are a few cases when the BI solution is not possible and we must use scripting:

  • A BI solution is not available
  • The visualization (for example, web plot, chloropleth, and so on) is not available in the BI platform
  • The data to generate the BI visualization is not persisted to the database

The following example generates plots for ...

Get IBM SPSS Modeler Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.