Notebook Fixes (December 2025)
Fixed
IPython deprecation warning: Updated imports from IPython.core.display to IPython.display
VALIDATE MODEL pivot error: Added drop_duplicates() to handle duplicate metric entries before pivot
ED_visit_90_day.ipynb: Completely rewritten with UCI Diabetes 130-US Hospitals dataset (~92k records)
IRIS SQL reserved word: Changed Count alias to RecCount in SQL queries
AutoML matplotlib dependency: Added matplotlib to IRIS Dockerfile for visualization
New Data
Added diabetic_readmission.csv (UCI Diabetes 130-US Hospitals dataset) for ED_visit notebook
All Notebooks Tested
campaign-integratedml.ipynb ✓
readmission-integratedml.ipynb ✓
biomedical-integratedml.ipynb ✓
ED_visit_90_day.ipynb ✓
This release addresses the issues reported by community members regarding notebook execution failures.
This is a template for IntegratedML - InterSystems GitHub repository.
This repository comes with example Jupyter notebooks demonstrating how to use IntegratedML in InterSystems IRIS Community Edition in a Docker container.
IntegratedML is a feature of the InterSystems IRIS data platform that brings machine learning to SQL developers.
IntegratedML is:
Learn more about InterSystems IRIS and IntegratedML at the InterSystems Learning site
This template creates a Docker environment (via docker-compose up) with 2 pre-configured containers:
The template includes sample notebook files accessible at http://localhost:8896/tree:
All notebooks use the intersystems-irispython DB-API driver for database connectivity.
flowchart LR subgraph Browser["Web Browser"] JupyterUI["Jupyter Notebook
localhost:8896"] IRISPortal["IRIS Portal
localhost:8092"] endsubgraph Docker["Docker Compose Environment"] subgraph jupyter["jupyter container"] J1["Jupyter :8888"] J2["TensorBoard :6006"] J3["TensorFlow 2.16.1"] J4["DB-API Driver"] end subgraph iris["irisimlsvr container"] I1["IRIS Community Edition"] I2["AutoML Package"] I3["SuperServer :1972"] I4["Web Server :52773"] I5["USER namespace"] end end JupyterUI --> J1 IRISPortal --> I4 J4 <-->|"port 8091:1972"| I3
Port Mappings:
| Host Port | Container Port | Service |
|---|---|---|
| 8896 | 8888 | Jupyter Notebook |
| 6026 | 6006 | TensorBoard |
| 8091 | 1972 | IRIS SuperServer (DB-API) |
| 8092 | 52773 | IRIS Web Portal |
Make sure you have git and Docker or Podman installed.
This template is tested on AWS Ubuntu, Mac OS, and Windows 10. It should work on other Docker environments too - let us know if you encounter any issues.
git clone https://github.com/intersystems-community/integratedml-demo-template.git
cd integratedml-demo-template
docker-compose build
docker-compose up -d
http://localhost:8896/tree
http://localhost:8092/terminal/
Credentials: SuperUser / SYS
Enter /sql mode to make SQL queries and examine data in IRIS.
Click the button “Use this template” on GitHub to create a new repository which will be a copy of this one.
Clone your new repo to a local folder.
Install VSCode with the Docker extension and ObjectScript extension, then open the folder in VSCode.
Import your data as listed below, rebuild containers to let the data be imported, and use IntegratedML via SQL tools, as described in Jupyter notebooks.
SELECT * FROM Titanic.Passenger
If your file is accessible remotely, you can import it as follows:
docker-compose buildSELECT * FROM SQLUser.Countries
If you see the error:
Error: Invalid Community Edition license, may have exceeded core limit.
This typically occurs with outdated Docker images. The older intersystemsdc/iris-ml-community images on Docker Hub have expired licenses and should not be used.
Solution: This template uses the regularly updated intersystemsdc/iris-community:latest-em-zpm image which includes ZPM (InterSystems Package Manager) and has a valid license supporting up to 20 CPU cores.
intersystemsdc/iris-community:latest-em-zpm (regularly updated, includes ZPM)