SPSS model visualizations in notebooks

SPSS visualizations offer interactive tables and charts to help you evaluate and improve a predictive analytics model in a notebook.

These SPSS visualizations provide one comprehensive set of output so that you don’t need to create multiple charts and tables to determine model performance.

Example of visualization charts

Prerequisites

To use the SPSS visualizations, in a Scala notebook, set up the environment and build your model:

To view the SPSS visualizations, you use the following code in your Scala notebook:

val html = ModelViewer.toHTML(pc,myModel)	
kernel.magics.html(html) 

where myModel is the model that you created in the earlier cells in the notebook.

The following models are supported:

For predictive models without built-in predictor importance measures, such as linear and logistic regression: