Description
We make two tracks for this project for the requirement part 3. You can choose track one which
predict the thal, or track two which predict the heart disease.
Introduction
In this assignment, you will be asked to form a group to build a web application which contain
several tasks.As the data cleansing is pretty hard, so we did it for you in ”processed.cleveland.data”
Form Group
4 students per group(less than 4 is accepted). Register your group on WebCMS3 with group name.
Data Set
This data-set contains 76 attributes, but all published experiments refer to using a subset of 14 of
them which comes from University of California Irvine. Atrribute information(Although unneccessary, you can find more details in the footnote) 1
:
1. age
2. sex (1 = male; 0 = female)
3. chest pain type (1=typical angin,2=atypical angina,3=non-anginal pain,4=asymptomatic)
4. resting blood pressure
5. serum cholestoral in mg/dl
6. fasting blood sugar > 120 mg/dl
7. resting electrocardiographic results (0=normal,1=having ST-T wave abnormality (T wave inversions and/or ST elevation or depression of > 0.05 mV),2=showing probable or definite left
ventricular hypertrophy by Estes’ criteria)
8. maximum heart rate achieved
9. exercise induced angina
10. oldpeak = ST depression induced by exercise relative to rest
11. the slope of the peak exercise ST segment
12. number of major vessels (0-3) colored by flourosopy
1https://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/heart-disease.names
1
13. thal(Thalassemia): 3 = normal; 6 = fixed defect; 7 = reversable defect
14. target: have disease or not (1=yes, 0=no).
Pre-Requirement
• You can use any technology/algorithm covered in this course, it’s your choice as long as your
team members are agree with it.
• You can use Tensorflow or PyTorch to implement your Neural Network if you want one, Scikit
for your machine learning algorithm.
• For frontend you can use any framework (e.g.React, Angular, Vue …) but not compulsory.
Back-end have to be python.
• If you don’t want to split the frontend and backend you can use flask or other python package.
It’s all your choice.
Project Requirement
Here is the key requirements (this is an open project, and you can implement it freely as you see
fit.)Note: there still have some dirty data inside, you need clean it:
• You need to visualize the statistics for basic information(Attribute) No. 3 – 13 by groups of
age and sex with appropriate charts, and display on your web app;
• Your web app should be able to shows the potential important factors(attributes) related to
heart diseases by choosing suitable algorithm introduced in this course. Any display on your
web app in an appropriate way.(Note: you can use the target attribute here)
• Part Three Track One:Your web apps shall contain a page where accept user inputs and
predict the thal(Thalassemia) and display properly. (e.g., you can show the accuracy graph
based on number of iterations in this page after click the predict button) Note: You can not
use target attribute for this track.
• Part Three Track Two:Your web apps shall contain a page where accept user inputs and
predict the heart disease and display properly. (e.g., you can show the accuracy graph
based on number of iterations in this page after click the predict button) Note: You can use
target attribute for this track.
Please choose one track of part 3. Do not do both.
Bonus
Bonus marks will be awarded based on the grounds of:
• Possible advance features used for clustering in your scenario( even your features may not be
significantly improving your performance).
Project Track
Please make a GitHub repository(Any source code control platform is accepted) for your group
project which is easy for the collaboration. (Note: Make sure it’s private)
Contribution
We will marking the contribution based on the git commit.
Marking Criteria
Teamwork: 5 Marks
Demonstration: 5 Marks
Proper visualization and display: 5 Marks
Prediction accurately: 5 Marks; we will rank your accuracy with all submissions, and your marks
depend on the ranking; Top 5 teams will get full mark.
Bonus: 4 marks.
Demonstration
Your demonstration should present and explain your web application, how you figure out the potential important factors(attributes) and your methodology for the prediction. And if applicable,
the bonus part as well. Contributions of each group member shall also be claimed.
Submission
Only one submission per group is allowed. Include all your source codes into a3.tar. If you used
neural network, include the trained model and the training file.
Please include a “README” file to describe your design and a “requirements.txt” to state all
the packages needed for your submission.
Commend on CSE machine:
give cs9321 assn3 a3.tar

