Home Products Disease Predictor

Disease Predictor

5
1 reviews
299
Views
1
1
Details
Releases
Reviews
Issues
Pull requests
Videos
Articles
Dependencies
Predict Diseases using InterSystems IRIS IntegratedML

What's new in this version

Initial Release

About Disease Predictor Application

Quality Gate Status

This is a Disease Predictor application using InterSystems IntegratedML to Predict diseases (diabetes, etc.)

Installation using ZPM

  1. Execute this command from IRIS Terminal:
zpm "install predict-diseases"
  1. Access Disease Predictor UI: http://localhost:52773/disease-predictor/index.html

Installation using Docker Compose

  1. Clone/git pull the repo into any local directory
$ git clone https://github.com/yurimarx/predict-diseases.git
  1. Open a Docker terminal in this directory and run:
$ docker-compose build
  1. Run the IRIS container:
$ docker-compose up -d 
  1. Go to Execute Query into Management Portal to train the AI model: http://localhost:52773/csp/sys/exp/%25CSP.UI.Portal.SQL.Home.zen?$NAMESPACE=USER

  2. Create the VIEWS used to train diabetes and kidney models:

CREATE VIEW DiabetesTrain AS SELECT Outcome, age, bloodpressure, bmi, diabetespedigree, glucose, insulin, pregnancies, skinthickness FROM dc_data_health.Diabetes
CREATE VIEW KidneyDiseaseTrain AS SELECT 
age, al, ane, appet, ba, bgr, bp, bu, cad, classification, dm, hemo, htn, pc, pcc, pcv, pe, pot, rbc, rc, sc, sg, sod, su, wc
FROM dc_data_health.KidneyDisease
CREATE VIEW MaternalRiskTrain AS SELECT BS, BodyTemp, DiastolicBP, HeartRate, RiskLevel, SystolicBP, age FROM dc_data_health.MaternalHealthRisk 
  1. Create the AI Models for diabetes and kidney using the views:
CREATE MODEL DiabetesModel PREDICTING (Outcome) FROM DiabetesTrain
CREATE MODEL KidneyDiseaseModel PREDICTING (classification) FROM KidneyDiseaseTrain
CREATE MODEL MaternalRiskModel PREDICTING (RiskLevel) FROM MaternalRiskTrain 
  1. Train the models for diabetes and kidney diseases:
TRAIN MODEL DiabetesModel
TRAIN MODEL KidneyDiseaseModel
TRAIN MODEL MaternalRiskModel 
  1. Go to http://localhost:52773/disease-predictor/index.html to use the Disease Predictor frontend and predict diseases like these screens:

Diabetes-Predictor

Kidney-Predictor

Maternal-Risk-Predictor

Credits

This application used InterSystems IRIS IntegratedML project

Read more
Made with
Install
zpm install predict-diseases download archive
Version
1.0.001 Jun, 2022
Category
Technology Example
Works with
InterSystems IRISInterSystems IRIS for Health
First published
29 May, 2022