Тёмный

8. Project 3 Heart Disease Prediction Using Machine Learning | Machine Learning Projects 

Data Thinkers
Подписаться 15 тыс.
Просмотров 40 тыс.
50% 1

Heart Disease Prediction Using Machine Learning | Machine Learning Project
Heart disease is the number one cause of death globally. Heart disease is concertedly contributed by hypertension, diabetes, overweight and unhealthy lifestyles.
Project on Medium: / priyangbhattce
Here I have mentioned some questions that we are going to solve during this video.
1. Importing the Libraries
2. Importing the Dataset
3. Taking Care of Missing Values
4. Taking Care of Duplicate Values
5. Data Processing
6. Encoding Categorical Data
7. Feature Scaling
8. Splitting The Dataset Into The Training Set And Test Set
9. Logistic Regression
10. SVC
11. KNeighbors Classifier
Non-Linear ML Algorithms
12. Decision Tree Classifier
13. Random Forest Classifier
14. Gradient Boosting Classifier
15. Prediction on New Data
16. Save Model Usign Joblib
17. Creating GUI
Kaggle Link: www.kaggle.com/johnsmith88/he...
Github Link: github.com/PRIYANG-BHATT/Data...
If you enjoy these tutorials, like the video, and give it a thumbs-up, and also share these videos with your friends and families if you think these videos would help him.
Please consider clicking the SUBSCRIBE button to be notified of future videos.
#machinelearnproject

Опубликовано:

 

1 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 133   
@BalakishanGundi
@BalakishanGundi Месяц назад
Dear Priyang! you are a wonderful teacher. Thank you!
@nishanidissanayake
@nishanidissanayake Год назад
Great job. Thank you so much for this amazing tutorial!
@unknownplanet699
@unknownplanet699 8 месяцев назад
bro for encoding the categorical data into numerical can i use LabelEncoder() . but when i use LabelEncoder() for categorical_columns it throughing error.
@mayanksharma4391
@mayanksharma4391 6 месяцев назад
while separating categorical and numerical columns . what is the condition of 10 as in a data set all columns contains numeric values? so what is need and purpose of separating on the basis of >=10
@arunborgohain1500
@arunborgohain1500 2 месяца назад
Excellent 🎉 so nicely explained the difficult subject!
@gauravmishra1494
@gauravmishra1494 9 месяцев назад
Sir i want to make a model which takes input only age,sex,trestbps,fbs and chol how to do it?i tried removing other columns from data set and did coding part but its not working pls help its urgent.
@AmitKumar-iq4be
@AmitKumar-iq4be 2 года назад
Mr. Priyang Bhatt, u are the best tutor I have ever seen in the field of Data Science. With in less time u explained each and everything very clearly. 3 awesome points about ur video is 1) Clear Explanation 2) Less time taken to explain & 3) Application Oriented Class Students like me will be indebted to teachers like u forever. The best educational video I have ever seen on RU-vid as of now. Thank You
@DataThinkers
@DataThinkers 2 года назад
Thanks for your comment.Glad you like this video.keep watching.thanks
@nahidulhasan7974
@nahidulhasan7974 11 месяцев назад
Can not get this whole project can you please add this whole project in this website??
@hemalathakoyya2561
@hemalathakoyya2561 2 года назад
Amazing..finally I got the best explanation for this project..Thank you..
@DataThinkers
@DataThinkers 2 года назад
Thanks for your comment. Glad you like this video. Keep watching. Thanks
@thereseJoe
@thereseJoe 2 года назад
priyang thank you so much for your informative video. It is very helpfull
@DataThinkers
@DataThinkers 2 года назад
Thanks for comment. Glad you like this video. Thanks
@jummelal
@jummelal Месяц назад
So nicely explained the difficult subject sir,
@yashjain220
@yashjain220 2 года назад
Well done brother Thanks for such helps
@DataThinkers
@DataThinkers 2 года назад
Thanks for your comment. Glad you like this video. Thanks
@kiranshah177
@kiranshah177 2 года назад
Must appreciate your work Man 💕
@DataThinkers
@DataThinkers 2 года назад
Thanks for your comment. Glad you like this video. Thanks
@muditgupta8813
@muditgupta8813 Год назад
When to know which column should be dummy variable like sex could be in dummy as there is no order for male and female and if we exclude sex column why didnt we exclude column exang and fbs as they also contained 0 and 1 value
@dineshbisht1730
@dineshbisht1730 2 года назад
Great teaching And undersatanding
@DataThinkers
@DataThinkers 2 года назад
Thanks for your comment. Glad you like this video. Keep watching.
@neptunejaivlogs9641
@neptunejaivlogs9641 2 года назад
For predicting disease what we do
@sameer81984
@sameer81984 Год назад
Hi Priyang, Thanks for your explaination it was great help to understand, I got logistic regressiion showing high accuracy than Random forest then how to build using LR. pls suggest.. what could be the reason for LR highest accuracy? thanks in advance
@parthivganguly6300
@parthivganguly6300 7 месяцев назад
i also got lr as highest accuracy did you built prediction model for lr . if you did then pls also help me
@gauravmishra1494
@gauravmishra1494 3 месяца назад
Sir resting blood pressure is systolic bp ir diastolic bp?
@radyoalmikyel6881
@radyoalmikyel6881 Год назад
hi why no remove 'fbs',& 'exang' that have 2 uniques values as sex or target someone to explain thanks
@patheducation37836
@patheducation37836 6 месяцев назад
Hi sir , you are awesome work for studentsbut i facing some problem i have not idea about how to show the person is facing heart disease in this code please helped me
@parthivganguly6300
@parthivganguly6300 7 месяцев назад
sir i couldn't find the data set you used so i used a different dataset and got logistic regression as best model. So how do i construct prediction model for new data ? We had used used feature scaling and encoded categorical data for lr so pls help
@DataThinkers
@DataThinkers 7 месяцев назад
Kaggle Link: www.kaggle.com/johnsmith88/heart-disease-dataset Code link:github.com/DataThinkers/Machine-Learning-Projects-Code
@sayandeepsarkarju_me7821
@sayandeepsarkarju_me7821 2 года назад
Thank You sir ❤️
@DataThinkers
@DataThinkers 2 года назад
Thanks for your comment. Glad you like this video. Keep watching. thanks
@preetigulati9203
@preetigulati9203 2 года назад
Need one clarification, should we perform feature scaling before or after train test splitting?
@DataThinkers
@DataThinkers 2 года назад
First of all thanks for your comment. Both approaches will work in practice. But fitting the standard scaler on the train set and the applied it to both the train and test set is better than fitting on the whole dataset. Here, you are mimicking the fact that unseen samples by the model will appear at some point after deploying your model. Thus your model evaluation will be closer to what will happen in a production environment. But if we are having a dataset with a large number of important features. it will create complexity when we will move towards prediction and deployment of the model. But obviously, the above approach should be followed.Thanks.
@ayushichouksey890
@ayushichouksey890 2 года назад
Thank you sir
@DataThinkers
@DataThinkers 2 года назад
Thanks for your comment. Glad you like this video. Keep watching.
@arunakharat8625
@arunakharat8625 Год назад
Sir,i hv got max accuracy for SVM and getting error in predicting for new data. p=svm.predict(new_data) its showing error
@lakshmisribandaru9672
@lakshmisribandaru9672 Год назад
Hey, I too have getting the same, Do U know what to do??
@user-mu9eh8gn2k
@user-mu9eh8gn2k 8 месяцев назад
Hey sir how can we predict random values based on machine learning model we developed please sir help me out of these problem in out clg they are saying is the project is real time or not or dummy project 34:15
@DataThinkers
@DataThinkers 8 месяцев назад
Its based on real dataset available on kaggle. If features are available we can predict for any user.
@wikirehhakeem5214
@wikirehhakeem5214 Год назад
AttributeError: 'Flags' object has no attribute 'c_contiguous'. This is the error I am getting when I run 'y_pred3 = knn.predict(X_tesst)'
@AkhilChowdary-lc3zj
@AkhilChowdary-lc3zj 7 месяцев назад
Same error for me also boss did u retified it.
@wikirehhakeem5214
@wikirehhakeem5214 7 месяцев назад
@@AkhilChowdary-lc3zj yeah
@SumanAdhikari-xp1sm
@SumanAdhikari-xp1sm 6 месяцев назад
How did you resolved it?
@subhapriya_t7023
@subhapriya_t7023 5 месяцев назад
Did anyone resolve it?
@MI-23
@MI-23 10 месяцев назад
No doubt you did a marvelous job but I am facing a problem and getting the error message in Pycharm even though I have upgraded all the library versions on line " y_pred3 = knn.predict(X_test) ". Kindly brief about it.
@DataThinkers
@DataThinkers 10 месяцев назад
Error type?
@vatzie3716
@vatzie3716 10 месяцев назад
@@DataThinkers I am getting AttributeError when using knn.predict()
@meershahmeer214
@meershahmeer214 Год назад
Documentation plz prediction of heart disease using machine learning model
@pranaysakhrodia7114
@pranaysakhrodia7114 2 года назад
wonderfull
@DataThinkers
@DataThinkers 2 года назад
Thanks for your comment. Glad you like this video. Keep watching. Thanks
@mshanawaz9476
@mshanawaz9476 8 месяцев назад
it was amazing,i wish i could work on this project and take it to next level ,is there anyway possible that i can access this jupyter notebook?
@DataThinkers
@DataThinkers 8 месяцев назад
Here is the link:github.com/DataThinkers/Machine-Learning-Projects-Code
@yashbohra6969
@yashbohra6969 Год назад
Need your help I have built the model bt the prediction is wrong in the gui..... Can u please help?
@DataThinkers
@DataThinkers Год назад
Please send me an email
@thenmozhi8332
@thenmozhi8332 11 месяцев назад
Sir I need current cardiovascular research paper I am doing ph. D in same topic
@divyanadar7269
@divyanadar7269 11 месяцев назад
Nice Explanation. I am unable to remove the duplicate values using drop. Can you guide me with that?
@DataThinkers
@DataThinkers 11 месяцев назад
Check my code once and let me know:github.com/DataThinkers/Machine-Learning-Projects-Code
@gauravmishra1494
@gauravmishra1494 9 месяцев назад
sir i am getting logistic regression accuracy as 90.16,svm=knn=rf=86.88,dt=78.68,gb=85.24 pls tell how to resolve this error
@parthivganguly6300
@parthivganguly6300 7 месяцев назад
i also got lr as highest accuracy did you built prediction model for lr . if you did then pls also help me
@AmitKumar-et8rk
@AmitKumar-et8rk 2 года назад
If possible, kindly make a video on how to make an app to predict COVID-19 too.
@DataThinkers
@DataThinkers 2 года назад
First of all thanks for your comment .Sure i will try to do that.thanks.
@aiiqurrotul
@aiiqurrotul 2 года назад
The best tutorial ✨ what library and code can be used if you want entropy-based discretization on the heart disease dataset?, please help me sir 🙏
@DataThinkers
@DataThinkers 2 года назад
Thanks, Can you elaborate on your question? Exactly what do you want to perform?
@aiiqurrotul
@aiiqurrotul 2 года назад
I want to make predictions/classifications on the heart disease dataset which is a case study from this thesis. To convert numeric data to discrete data, I suggest using entropy-based discretization. because my dataset consists of categorical and numeric data. Please help me sir
@suhanazainab8938
@suhanazainab8938 Год назад
Mr.Priyang Bhatt, I'm following your tutorial for my project. But I can't get a Display output on GUI part. I already sent a mail regarding this issue,Can you please check it out . Please leave me a comment ASAP, It's very Urgent
@DataThinkers
@DataThinkers Год назад
You can take my code from my GitHub :github.com/PRIYANG-BHATT/Machine-Learning-Projects-Code Run all the cells once again and let me know.
@AkhilChowdary-lc3zj
@AkhilChowdary-lc3zj 7 месяцев назад
Flags object has no attribute error
@DataThinkers
@DataThinkers 7 месяцев назад
Check my code:github.com/DataThinkers/Machine-Learning-Projects-Code
@manikhandanj5681
@manikhandanj5681 2 года назад
Bro what is time series analysis projects
@DataThinkers
@DataThinkers 2 года назад
First of all thanks for your comment. i will try to upload time series analysis project. Thanks
@adityagujar1433
@adityagujar1433 Год назад
bro Im getting error in GUI part master = Tk() at this statement TclError: no display name and no $DISPLAY environment variable whether i Need to install tkinter on desktop or what??
@DataThinkers
@DataThinkers Год назад
Yes, you have to install it on your local machine. It will not work on google colab.
@adityagujar1433
@adityagujar1433 Год назад
@@DataThinkers okay Thanks bro👊
@narayanasamy1314
@narayanasamy1314 2 года назад
mam am getting error in the GUI part like no display and no variable mam so can u help me it will be very useful mam i run it on the juypter only mam
@DataThinkers
@DataThinkers 2 года назад
First of all im not mam😄 are you getting voice like mam😄. Write your error here.
@narayanasamy1314
@narayanasamy1314 2 года назад
@@DataThinkers i cannot save the model job lib and in the gui part it showing the non display and no variablle pls sort it out mam
@narayanasamy1314
@narayanasamy1314 2 года назад
, i am not getting the model_job_lib data how to save can u say me pls
@narayanasamy1314
@narayanasamy1314 2 года назад
it is showing the exception in the tkinter callback
@afrinadipti2820
@afrinadipti2820 Год назад
Can we split datasets into 83:17? Please reply :(
@DataThinkers
@DataThinkers Год назад
Please watch this video once. Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NQifPki6tGE.html Still, if you are having some doubts. please let me know. Thanks
@afrinadipti2820
@afrinadipti2820 Год назад
@@DataThinkers Thanks a lotttt. It really helped. I have another question. Is there any way we can change the threshold value for these algorithms as it is set 0.5 by default. I wanted to change the threshold value.
@manasahr478
@manasahr478 2 года назад
Please provide code for feature selection to predict cvd
@DataThinkers
@DataThinkers 2 года назад
you can take code from my GitHub repo : github.com/PRIYANG-BHATT/RU-vid_Machine_Learning_Projects_code
@mdsaadsabir9140
@mdsaadsabir9140 8 месяцев назад
Why step 6.Encoding Categorical Data when we have no use of it ?
@DataThinkers
@DataThinkers 8 месяцев назад
Dear, Can we decided this at the beginning of the project ? Before doing nothing?
@04k.poojitha57
@04k.poojitha57 2 года назад
Tqq for the project sir and i am getting error at creating gui part like no display and no display environment variable. and i am doing project in google colab python. please give response sir
@DataThinkers
@DataThinkers 2 года назад
Colab notebooks execute code on Google's cloud servers. Servers generally don't even have a display. And even if they had, you wouldn't see it. You will have to run Python on your desktop or laptop to use tkinter (For GUI).
@04k.poojitha57
@04k.poojitha57 2 года назад
@@DataThinkers tqq sir
@manikhandanj5681
@manikhandanj5681 2 года назад
Hi bro if a person willing to get job as data analyst role should I do these works pls reply should learn this
@DataThinkers
@DataThinkers 2 года назад
Yes, Dear, you must have some knowledge regarding time series analysis. they may ask you regarding this.
@manikhandanj5681
@manikhandanj5681 2 года назад
@@DataThinkers bro I am asking about machine learning algorithms in this project should I learn this concept or this is not required for data analyst role
@DataThinkers
@DataThinkers 2 года назад
Yes, you must have some knowledge regarding this that will surely help you.
@mshanawaz9476
@mshanawaz9476 8 месяцев назад
from where can i get this project......... where can i find this jupyter notebook
@DataThinkers
@DataThinkers 8 месяцев назад
From here:github.com/DataThinkers/Machine-Learning-Projects-Code
@VaidehiPokharkar-hn1hg
@VaidehiPokharkar-hn1hg 6 дней назад
Which app is this where you perform this code
@DataThinkers
@DataThinkers 4 дня назад
Jupyter Notebook
@bharathraj7002
@bharathraj7002 5 месяцев назад
Hello sir, do you have the Documentation of this project sir????
@DataThinkers
@DataThinkers 4 месяца назад
Code link:github.com/DataThinkers/Machine-Learning-Projects-Code
@quoccuong1999
@quoccuong1999 2 года назад
Can you show the code for the GUI part?
@DataThinkers
@DataThinkers 2 года назад
First of all thanks for your comment. Sure i will share with all shortly. Thanks
@DataThinkers
@DataThinkers 2 года назад
Find Here : medium.com/@priyangbhattce/heart-disease-prediction-using-machine-learning-155a1c2e5f23
@quoccuong1999
@quoccuong1999 2 года назад
@@DataThinkers thank Bro :))
@AmitKumar-iq4be
@AmitKumar-iq4be 2 года назад
@@DataThinkers How can I send this app to my friends so that they can enter the value and predict whether they have heart disease or not?
@neptunejaivlogs9641
@neptunejaivlogs9641 2 года назад
Mobile number bro please
@abhishekprakash9803
@abhishekprakash9803 2 года назад
hlw atleast you have to pass categorical variable,so that new person understand the exact path
@DataThinkers
@DataThinkers 2 года назад
Dear first of all thanks for your comment. If you can't understand something in this video. do watch my other videos from the same playlist.. I have tried my best to cover in short and simple way. Still you can't understand something let me know. Thanks. Keep watching.
@unknownplanet699
@unknownplanet699 8 месяцев назад
Sir Please make a video on movie recommendation system project.
@DataThinkers
@DataThinkers 8 месяцев назад
Sure, have you watched this video?:ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-N-Nsh_3zW-A.html
@neptunejaivlogs9641
@neptunejaivlogs9641 2 года назад
I need code that you write in jupyter notebook
@neptunejaivlogs9641
@neptunejaivlogs9641 2 года назад
Please help
@DataThinkers
@DataThinkers 2 года назад
Thanks for your comment. visit this link for code & Description : medium.com/@priyangbhattce
@DataThinkers
@DataThinkers 2 года назад
First of thanks for your comment. you can find code here: github.com/PRIYANG-BHATT/RU-vid_Machine_Learning_Projects_code
@ridoychandraray2413
@ridoychandraray2413 Год назад
bro we waiting for reinforcement learning project
@DataThinkers
@DataThinkers Год назад
Sure
@mdsaadsabir9140
@mdsaadsabir9140 8 месяцев назад
will GUI work on Mac ?
@DataThinkers
@DataThinkers 8 месяцев назад
Yes
@learnandgrow8373
@learnandgrow8373 4 месяца назад
Sir hame ye kaise pata lgega ki attribute ki value ki range kya hai jise wo show krega no Heart disease or possibility of heart disease
@FaisalSaddiqui-hi2tx
@FaisalSaddiqui-hi2tx 3 месяца назад
If anyone now the answer of this question then plz tell us
@FaisalSaddiqui-hi2tx
@FaisalSaddiqui-hi2tx 3 месяца назад
@DataThinkers please solve this confusion
@subhasribehera1485
@subhasribehera1485 3 месяца назад
Sir can you pls explain or send the source code of GUI part
@DataThinkers
@DataThinkers 3 месяца назад
Link :github.com/DataThinkers/Machine-Learning-Projects-Code
@subhasribehera1485
@subhasribehera1485 3 месяца назад
@@DataThinkers thank you so much sir
@vaibhavkishor3133
@vaibhavkishor3133 Год назад
Sir same code h for v error aa rahi h GUI Run karne p error aa raha h
@DataThinkers
@DataThinkers Год назад
are you using google colab?
@vaibhavkishor3133
@vaibhavkishor3133 Год назад
@@DataThinkers jupyter nootebook same code uthaya maine apka github s for v nhi hua
@DataThinkers
@DataThinkers Год назад
Which error?
@_ShrutiNahar
@_ShrutiNahar Год назад
Can you please share source code file
@DataThinkers
@DataThinkers Год назад
First of all thanks for your comment. You can find all the source code here on my GitHub Repo. Keep watching. Thanks Link : github.com/PRIYANG-BHATT/RU-vid_Machine_Learning_Projects_code
@gamingfun5309
@gamingfun5309 Год назад
Can you give code using streamlit
@DataThinkers
@DataThinkers Год назад
you can take from my GitHub account. Like is given in the description of the video. Thanks for watching.
Далее
16. Heart Disease Analysis | Python Pandas Project
30:15
🌊🌊🌊
01:01
Просмотров 924 тыс.
Water powered timers hidden in public restrooms
13:12
Просмотров 451 тыс.
Income Prediction Machine Learning Project in Python
38:19