Update README.md
Browse files
README.md
CHANGED
|
@@ -9,7 +9,9 @@ This model is made for educational purposes and is not ready to be used in produ
|
|
| 9 |
|
| 10 |
## Training Procedure
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
| 13 |
|
| 14 |
### Hyperparameters
|
| 15 |
|
|
@@ -117,11 +119,14 @@ div.sk-label-container:hover .sk-estimator-doc-link.fitted:hover,
|
|
| 117 |
|
| 118 |
## Evaluation Results
|
| 119 |
|
| 120 |
-
|
| 121 |
|
| 122 |
-
|
|
|
|
| 123 |
|
| 124 |
-
|
|
|
|
|
|
|
| 125 |
|
| 126 |
# Model Card Authors
|
| 127 |
|
|
|
|
| 9 |
|
| 10 |
## Training Procedure
|
| 11 |
|
| 12 |
+
With this dataset, I will be using a decision tree to predict whether certain websites are legitimate or an act of phishing. This is because Naive Bayes assumes feature independence, which is not true for this case. Decision trees split data based on actual patterns, which is useful for phishing detection.
|
| 13 |
+
Overall, the data does not meet the criteria for Naive Bayes because the features are not independent.
|
| 14 |
+
Using decision trees for this case is crucial because it offers clear interpretability of the classification logic. It will be able to differentiate legitimate vs illegitimate websites and also give an answer to why.
|
| 15 |
|
| 16 |
### Hyperparameters
|
| 17 |
|
|
|
|
| 119 |
|
| 120 |
## Evaluation Results
|
| 121 |
|
| 122 |
+
precision recall f1-score support
|
| 123 |
|
| 124 |
+
0 1.00 0.74 0.85 20189
|
| 125 |
+
1 0.84 1.00 0.91 26970
|
| 126 |
|
| 127 |
+
accuracy 0.89 47159
|
| 128 |
+
macro avg 0.92 0.87 0.88 47159
|
| 129 |
+
weighted avg 0.91 0.89 0.88 47159
|
| 130 |
|
| 131 |
# Model Card Authors
|
| 132 |
|