Disease Predictor

Downloads16
Subscribe
1
Bookmark
1
Details
Releases
Reviews
Screenshots
Issues
Provider
Videos
Articles
Dependencies

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

IPM installation
zpm "install predict-diseases"
Rating
5 (1)
Category
Technology Example
Works with
InterSystems IRISInterSystems IRIS for Health
Tags
Info
Publisher
Visum Consult
Version
1.0.0
Last updated
2022-06-01
Repository
Open
Documentation
Open
License
Link