Skin Cancer Detection Using Machine Learning
Skin Cancer Detection Using Machine Learning
34
Name Configuration
OS Window
Coding Python
This dataset was uploaded on website (Kaggle) which is hub of data for machine learning
models. This data set have two categories which are arrange as:
0) Benign
1) Malignant
It contains 2468 images which were categories accordingly Benign (1306) and Malignant (1162).
The main objective of our proposed architecture is to show that the pipeline we assembled, will
maximize classification accuracy, and minimize any loss of corn leaf disease classification. To
assess the performance of the models and as a design guide for opting a backbone, we compared
35
the model accuracy of the KNN, SVM, Naïve Bayes and Random Forest model backbones on corn
leaf images dataset and overall accuracy in this work.
Learning curves of KNN, SVM, Naïve Bayes and Random Forest for our proposed work are given
below.
Figure 4.2 Learning curves of KNN Figure 4.3 Learning curves of SVM
Figure 4.4 Learning curves of Naïve Bayes Figure 4.5 Learning curves of Random Forest
36
ii. CONFUSION MATRIX
A confusion matrix is a table that is often used to describe the performance of a classification
model (or "classifier") on a set of test data for which the true values are known.
37
Figure 4.8 SVM Confusion matrix Figure 4.9 Random Forest Confusion matrix
In table 4.3 below shows the training and validation accuracy results of proposed framework
overall accuracy on 20 epochs. The table below shows performance of different machine
learning model on ultrasound images dataset in our work.
Model Accuracy
K-Nearest Neighbor 73
Support vector machine 79%
Naïve Bayes 71%
Random Forest 81%
Table 4.3 Model Accuracy Table
38