Professional Documents
Culture Documents
Dhyey V Desai Supervised Machine Learning Approaches
Dhyey V Desai Supervised Machine Learning Approaches
Naive Bayes Model assumes strong and weak A K-NN algorithm predicts if a data value is to
independence between attributes of data values. be a member of one group or the other, created in
classification, depending on the value of its closest data
Bayes Theorem: value.
P(A)
P(A|B) = P(A|B) ∗ Accuracy Precision F1 Score Recall
P(B)
(d) Random Forest Classifier If we build and combine multiple models, we can
increase the overall accuracy. Ensemble models is a
A Random Forest Model is a supervised Machine machine learning approach to combining multiple models
Learning model that you can use for classification. [15,16].
Accuracy Precision F1 Score Recall Our ensemble model gives an accuracy of 96%.
0.96 0.95 0.97 1.00 Steps for executing the above-mentioned models:
Table 4. Evaluation table for Random Forest
1. Install the libraries that are needed.
Our implementation gives an accuracy of 96%. 2. Load the datasets on which you want to test and
train the data.
(e) Logistic Regression Classifier 3. Pre-process the data if required.
4. Split the dataset into train and test in appropriate
Logistic Regression is a model that is used to proportions.
predict a binary outcome based on a set of independent 5. Use the train dataset to train the given models.
inputs. 6. Then use the test dataset to test the accuracy
generated by each model created.
Accuracy Precision F1 Score Recall
Stroke is a harmful medical illness that should be [9] Kanchana R., Menaka, R. Ischemic stroke lesion detection,
detected and treated as soon as possible. The creation of characterization and classification in CT- images with optimal
such a Machine Learning model could help in the early features selection. Biomed. Eng. Lett. 10, 333–344 (2020).
detection of stroke which can further help in the early
treatment of the symptoms. Here we used several [10] Musuka, T. D., Wilton, S. B., Traboulsi, M., & Hill, M. D.
(2015). Diagnosis and management of acute ischemic stroke:
prediction models such as KNN, Logistic Regression speed is critical. CMAJ: Canadian Medical Association journal
Model, Random Forest Model, Decision Tree Model, = journal de l'Association medicale canadienne, 187(12), 887–
SVM model, and Naive Bayes Model out of which we got 893.
the best accuracy, of 97%, using the Logistic Regression
Model. Of these models, some of them, namely the [11] RAO, SATHYANARAYAN. “Ensemble Models with Voting
Logistic Regression Model, SVM Model, Random Forest and XGBoost.” Ensemble Models with Voting and XGBoost |
Kaggle, 13 Aug. 2022.
Model, Decision Tree Model, KNN Model, and Ensemble
Model, showed good accuracy and a very low number of [12] Lin, Samantha. “Stroke Prediction. Constructing Prediction
false positives and false negatives in identifying stroke- Model for the… | by Samantha Lin | Geek Culture | Medium.”
prone patients. We have also compared the accuracy of all Medium, 8 Mar. 2021.
the models that we have created and compared the
accuracies of Logistic Regression Model, Random Forest [13] R, K., Johnson, A., Anand, S. & R, M. (2020). Neuroimaging
and deep learning for brain stroke detection - A review of recent
Model and SVM Model with the accuracies of other
advancements and prospects. ComputerMethods and Programs
papers. in Biomedicine, 197. DOI: 10.1016/j.cmpb.2020.105728.
[2] Tazin, Tahia, et al. “Stroke Disease Detection and Prediction [15] Inamdar MA, Raghavendra U, Gudigar A, et al. A Review on
Using Robust Learning Approaches.” Stroke Disease Detection Computer-Aided Diagnosis of Acute Brain
and Prediction Using Robust Learning Approaches, 26 Nov.
2021. [16] Soni, Kartik M., Amisha Gupta, and Tarun Jain. "Supervised
Machine Learning Approaches for Breast Cancer Classification
[3] B.R. Gaidhani, R. R.Rajamenakshi, and S. Sonavane, "Brain and a high performance Recurrent Neural Network." Third
Stroke Detection Using Convolutional Neural Network and International Conference on Inventive Research in Computing
Deep Learning Models," 2019 2nd International Conference on Applications (ICIRCA). IEEE, 2021.
Intelligent Communication and Computational Techniques
(ICCT), 2019, pp. 242-249, DOI: [17] T. Jain, A. Jain, P. S. Hada, H. Kumar, V. K. Verma and A.
10.1109/ICCT46177.2019.8969052. Patni, "Machine Learning Techniques for Prediction of Mental
Health," 2021 Third International Conference on Inventive
[4] Akash, Kunder, et al. “Prediction of Stroke Using Machine Research in Computing Applications (ICIRCA) 2021
Learning.”Prediction_of_Stroke_Using_Machine_Lear ning,
June 2020. [18] A. Yadav, T. Jain, V. K. Verma and V. Pal, "Evaluation of
Machine Learning Algorithms for the Detection of Fake Bank
[5] Sundaram, K. D. Mohana, et al. “Detection of Brain Stroke Currency," 2021 11th International Conference on Cloud
Using Machine Learning Algorithm | QUEST JOURNALS - Computing, Data Science & Engineering (Confluence) 2021.
Academia.Edu.” (PDF) Detection of Brain Stroke Using
Machine Learning Algorithm | QUEST JOURNALS -
Academia.Edu, 30 Apr. 2022.
[6] Karthik, R., et al. “Neuroimaging and Deep Learning for Brain
Stroke Detection - A Review of Recent Advancements and
Future Prospects - ScienceDirect.” Neuroimaging and Deep
Learning for Brain Stroke Detection - A Review of Recent
Advancements and Future Prospects - ScienceDirect, 26 Dec.
2020.