
Reduced number of historic matches.
Added Eredivisie, 1ª RFEF and Primera Argentina.

Example about a project based on InterSystems IRIS and IntegratedML capabilities as back-end to get predictions about football matches of spanish league and an Angular project as front-end
You can find more in-depth information in https://learning.intersystems.com.
Build the image we will use during the workshop:
$ git clone https://github.com/intersystems-ib/workshop-quiniela
$ cd workshop-quiniela
$ docker-compose build
The backend now uses containers.intersystems.com/intersystems/iris-community:latest-preview.
AutoML is installed explicitly into /usr/irissys/mgr/python, together with the
pinned scientific Python dependencies and the scraper packages in requirements.txt.
The existing Quiniela namespace, class compilation, production and web application
setup are preserved in iris/Dockerfile and iris/irissession.sh.
With durable %SYS, the AutoML provider also reads classifier files from the active
manager directory. Compose runs iris/ensure_automl.py after IRIS startup to link
$ISC_DATA_DIRECTORY/mgr/python/iris_automl to the package supplied by the image.
The hook is repeatable and preserves existing files. This also supports durable
directories created before AutoML was added to the image.
Training now reports SQL/Python failures as Error, preserves an existing trained
model if retraining fails, and fills missing match predictions after a successful
training and validation run.
To fetch the current preview and rebuild the backend:
docker compose build --pull iris
The IMAGE build argument can select a specific IRIS image for reproducible builds:
docker compose build --build-arg IMAGE=containers.intersystems.com/intersystems/iris-community: iris
Before starting the new version against an existing shared/durable directory,
back up the data and check the supported IRIS upgrade path. Validate a fresh
installation in an isolated environment with a separate shared directory.
The default Compose configuration uses the Community license. If you configure
a custom license, check that it is appropriate for the selected image.
After starting the services, verify the complete workflow: log in, import data,
prepare it, train the model and predict a match. A successful Python installation
or image build alone does not verify model training and prediction.
The Quiniela is a popular game in Spain, during many year sport bets were forbidden in Spain and Quiniela was the only game allowed. This game is based on Spanish Football/Soccer league (First and Second division). The Quiniela ticket has 15 matches (10 of First Division and 5 of Second Division) and the player has to check one of three options, selecting which team is going to be the winner of the match. 1 for the local team 2 for the visitor team or X for a draw (also known as “The 1X2 game”).

This project is designed as a common web application with a backend developed on InterSystems IRIS Community edition and a frontend developed on Angular.
As we said before, our backend is developed on InterSystems IRIS with IntegratedML technologies. The backend is responsible for:
Developed on Angular provides an easy to use user interface sending REST calls to the backend and receiving and managing the responses.
docker-compose up -d
Automatically an IRIS instance will be deployed and a production will be configured and run available to import data to create the prediction model and train it.
superuser/ SYS account.Now you can check the frontend:
Open the main page from this URL.

Login using superuser / SYS account.
Click on the icon on the upper left of the screen and check the options of the menu.

Click on Data management and follow the arrows: Launch import -> Launch preparation -> Launch training. Wait for the end of each step.
Now open the Menu again and click on Result prediction.
You can add all the matches and see the prediction.

You can keep the data updated adding the real result clicking on the match and introducing the result:
