A set of tools and examples (or experiments) using Python as application language and the IRIS as a database to observe and learn how to use IRIS Native API.
A chatbot home-made using Chatter + Python Native API to store the conversations and training data. You can edit the training data on main application and automatically the next load on chatbot page will perform the training (some seconds needed).
I have deployed the chatbot as a demo here: http://iris-python-suite.eastus.cloudapp.azure.com:8080
To look/edit custom training data: http://iris-python-suite.eastus.cloudapp.azure.com/chatbot-training-data
The application use those question and answer to training a machine learning model.
Using the Python Native API to view globals as graphs. Just put one of IRIS Globals Array at the input field to see an interactive graph.
I have deployed the application as a demo here: http://iris-python-suite.eastus.cloudapp.azure.com/covid19-chart
As the pandemy evolves in the world a lot of information are being spreaded so I decided to create an application to audit those information. Unfortunately each country has a different test policy so I decided to use the death data to avoid the cases subnotifications.
I have deployed the application as a demo here: http://iris-python-suite.eastus.cloudapp.azure.com/global-chart
An interactive dropdownlist talking with a correspondent global to set the Countries Default on Chart.
A set of classes in python using the IRIS Native API:
#has the same methods of irisnative + factory of irisglobal class
irisglobalchart: A component to plot any global as a network graph chart.
irisglobal: A class that I made to be filled as a Graph Data Structure and all recursive. So if you instatiate one irisglobal object all global data will be in memory in this object.
Imagine a global like this*
^covid19("countries", "us")=5000 ^covid19("countries", "us", "newyork")=10 ^covid19("countries", "brazil", )=100
With my class irisglobal in python you have just to instatiate to have access to all global nodes in memory and indexed as a dictionary.
obj_global = irisglobal("^covid19") print(obj_global.subscripts["countries"].subscripts["brazil"].value) 100
After cloning this repo open a terminal go to the iris-python-covid19 folder and type these commands:
git clone https://github.com/renatobanzai/iris-python-covid19.git
adjust docker settings to up memory and cpu the AI demands more capacity
docker-compose build docker-compose up
docker-compose -f docker-compose-windows.yml build docker-compose -f docker-compose-windows.yml up
1st time running will depend of your internet link to download the images and dependencies. If it last more than 15 minutes probably something goes wrong feel free to communicate here. After the 1st time running the next ones will perform better and take less then 2 minutes.
After a while you can open your browser and go to the address:
The project has a main menu that points you to all the examples. Feel free to navigate.
I'm using for now the USER namespace (todo: create my onw namespace)
http://localhost:9092 user: _SYSTEM pass: theansweris42
This is a python application using the IRIS service to persist and read data. I use globals to store raw data from JHU and plot it using Python community libraries. All code in ./app folder. Here some articles link to understant better the application:
I deployed all the application at Azure, take a look at http://iris-python-suite.eastus.cloudapp.azure.com/
For everyone who lost any loved one for COVID-19 I would like to extend my heartfelt condolence. May my condolences bring you peace during this painful time.
Collaboration are welcome! I'll perform some changes here in the code but I think it's a good start to the ones who use python!