Heart Disease Prediction using SVM , KNN , Random Forest , Logistic Regression .
ฝัง
- เผยแพร่เมื่อ 6 มิ.ย. 2021
- Heart Disease Classifier using
SVM , KNN , Random Forest , Logistic Regression . and changing categorical columns to "One Hot Encoding ". explained each and every steps .
link of dataset - drive.google.com/file/d/1y3cx...
my website - www.ainewgeneration.com
In SVM classfier in prediction line you have given rc_clf.so only same output as same as random forest.
It is very helpful.Thanks a lot.
welcome
Thankyou soo much
thank you
Sir PLEASE upload more videos! It's truly incredible, even these complex concepts you made me understand as a beginner!! Thank you
Thanks ! you can check out I already uploaded projects on ML.
@@generativemindai Sir plz resolve my confusion 🙏. As I want to publish the research paper in the same i.e. Heart disease prediction using machine learning but the problem is that already using these models papers have been published so how mine will differentiate from others. Hope you will resolve my doubt as soon as possible. Thanks in advance ☺
@@RoyalRealReview You can shift to XGBOOST boosting algorithm where you can do some tuning parameters and write some default python code to optimise the model parameters .
@@generativemindai thanks sir for your suggestion 🙏
@@generativemindai sir I am getting 100% accuracy by using random forest and decision tree classifier andI don'thaveused the dataset same as you but updated one frim Kaggle. Have I done something wrong?
Excellent knowledge bro
Thanks
May I know briefly the particular reason, why do we use only those features.
ValueError: could not convert string to float: 'no'
i am getting this error please help me bro
x,y = get_features_and_target_arrays(df_train,cat_cols,numerical_cols,scaler)
at this point i am getting this error
Hi, can i get the code? Thank you!
Sir i need the complete code can u share that
After writing this code, x , y = get_features_and_target_arrays(marara_train, numerical_cols, cat_cols,scaler) i am having the following error, KeyError: "['num '] not in index" kindly help
Try to rename num column with something other actually after num they are using whitespace so when you only write num it will display error. Either you can copy paste using your dataframe.columns() then copy all num including whitesapce after that then it will not display you key error.
Why are we using 4 algorithms here? Can you please say what is the use of each algorithm in this project?
you can even use single also. basically the main use of 4 ML also we are checking on which ML also we are getting good results.
sir your website is not working can you share the code
Please can you provide python file (.py) ?
Why it gives Hindi subtitles?
Why you didn't print the Predicted values? is that is binary or decimal ?
binary
Can I get the source code
Hi, can you please help me do the above prediction using Random forest in R?
yeah soon I will upload using R
@@generativemindai Looking forward to it...
but the accuracy is not good... how to get good accuracy
for exampe: we need accuracy more then 80% without over train it.
but you are only getting 66% accuracy
can you do it with deep neural network
yeah I will upload soon
sir i have a doubt how to render for this particular project.Could you pls reply me soon actually i have my project submission on monday
you have completed this project ?
Can you share code please?
when I used the data, there were no missing values
The Modified Dataset you have used
Hello i am getting the error as could not convert string to float: chol
Pls reply @AI Next Generation
float(string) to convert string to float
code?
Please send it bro
There is no graph nothing bro, actually day after tomorrow is my submission can you tell me how to include graph in this?
Related to Decision Tree ? To add graph flow
Sir please provide Python file
can someone share the .py file please it urgent. Thanks in advance
Hi you can find out github.com/rehanfazalkhan
@@generativemindai can u please send its specific link as i am unable to find it out. Thank You
Please provide python file (.py)
you can find in my website www.ainewgeneration.com
can somebody tell the error in this?
scaler=StandardScaler()
def get_features_and_target_arrays(df, numerical_cols, cat_cols, scaler):
x_numeric_scaled=scaler.fit_transform (df[numerical_cols])
x_categorical = df[cat_cols].to_numpy()
x= np.hstack((x_categorical, x_numeric_scaled))
y= df["target"]
return x,y
x_train,y_train = get_features_and_target_arrays(df_train,cat_cols,numerical_cols,scaler)
what is error in this ?
@@generativemindai it is showing error in "target" that it is not defined
Plz speak louder
df=pd.read_csv("/HeartAttack (1) (1).csv")
you can rename the dataset name