Display TreeMaps in IBM SPSS Modeler using extensions built with Python and pygal
Learn more about this implementation of TreeMaps from the Pygal Documentation
- SPSS Modeler v18.0 or later
- Python 2.7
- Pygal
More information here: IBM Predictive Extensions
If using v18.0 of SPSS Modeler, navigate to the options.cfg file (Windows default path: C:\Program Files\IBM\SPSS\Modeler\18.0\config). Open this file in a text editor and paste the following text at the bottom of the document:
eas_pyspark_python_path, "C:/Users/IBM_ADMIN/Python_27/python.exe"
- The italicized path should be replaced with the path to your python.exe from your Python installation.
Your Python installation must have the Pygal library installed for this extension to work
- Save the .mpe file to your computer
- In Modeler, click the Extensions menu, then click Install Local Extension Bundle
- Navigate to where the .mpe was saved and click open
- The extension will install and a pop-up will show what palette it was installed
- Niall McCarroll - (www.mccarroll.net)