Term 2 Coding Project ®didumfernando, yingxuan, shibo
Description: This project is our Microsoft Imagine Cup Junior project which is a web application which makes use of our own Machine Learning AI as well as Open AI to calculate the risk score of a patient of getting heart and cardiovascular diseases based on the users input of age, gender, blood pressure, cholesterol and smoking status. The Machine Learning calculates the risk score and the Open AI uses the risk score and the user's input to generate a personalised recommendation plan for the user to improve his/her health (Figure 1).
![Screenshot 2023-05-14 at 11 26 19 PM](https://private-user-images.githubusercontent.com/118650079/238198446-6d34ad87-c8dd-4ff8-9e78-f1d9ebfee4f4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTM0ODUsIm5iZiI6MTczODk5MzE4NSwicGF0aCI6Ii8xMTg2NTAwNzkvMjM4MTk4NDQ2LTZkMzRhZDg3LWM4ZGQtNGZmOC05ZTc4LWYxZDllYmZlZTRmNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwNTM5NDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hYmM2ZGEyZjhkYmY5MWRkNDAwZTA3Njg5MTU4OTlmMGVhNWIwNDUzZjQyYjE3NzNiM2M3MTI0NGU1NjM1YjNkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.2Lzzr5Jm-prUEKd7h7vC4sB4zL5UbQhHn6jFO2FYpXw)
The AI would use the following algorithm shown in Figure 2 pictorially to accurately diagnose the risk levels and suggest the recommend actions for each of the groups (red - high risk, yellow - medium risk, green- low risk)
![Screenshot 2023-05-15 at 10 54 25 AM](https://private-user-images.githubusercontent.com/118650079/238232067-6cf4ab12-1abc-4db2-8af9-95050f315432.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTM0ODUsIm5iZiI6MTczODk5MzE4NSwicGF0aCI6Ii8xMTg2NTAwNzkvMjM4MjMyMDY3LTZjZjRhYjEyLTFhYmMtNGRiMi04YWY5LTk1MDUwZjMxNTQzMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwNTM5NDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05NzhiNTdlOTdiYTg3MTFjN2QyN2JkNjdjZjE0NGEwZjUzNzZmNzk0YmYyZWVjMWQyY2FmMTMxMTAxNWEzZDI1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.QLrAnA3K54QlMGyFH9KOmDaV0TjrS5-63ZgGz4v-vbk)
(Figure 2)
Languages used for this Project: Python, HTML, CSS, SQL and Javascript
Replit link/ Website Link: https://stw2--bngybongybrd.repl.co/
Video Link: https://youtu.be/OBQ-iXGrFHM
MsImagine Junior Slides Link: https://docs.google.com/presentation/d/1I_28aptqZXX3VMq69QDF9vnfxHudf_SKuoremIdZCJQ/edit?usp=sharing
Credits: https://platform.openai.com/docs/api-reference (Open AI api)