Update README.md
Browse files
README.md
CHANGED
|
@@ -19,19 +19,27 @@ Using decision trees for this case is crucial because it offers clear interpreta
|
|
| 19 |
|
| 20 |
In your notebook, paste the following code:
|
| 21 |
|
|
|
|
|
|
|
| 22 |
from huggingface_hub import hf_hub_download
|
| 23 |
hf_hub_download(repo_id="CSC310-fall25/training_classification_phishing", filename="model.pkl",local_dir='.')
|
| 24 |
|
| 25 |
dt_loaded = sio.load('model.pkl')
|
| 26 |
|
|
|
|
|
|
|
| 27 |
This will load the model.
|
| 28 |
|
| 29 |
You can download the appropriate test data by pasting this code:
|
| 30 |
|
|
|
|
|
|
|
| 31 |
hf_hub_download(repo_id="CSC310-fall25/training_classification_phishing", filename="phishing_test.csv",local_dir='.')
|
| 32 |
|
| 33 |
phishing_test = pd.read_csv('phishing_test.csv')
|
| 34 |
|
|
|
|
|
|
|
| 35 |
### Hyperparameters
|
| 36 |
|
| 37 |
<details>
|
|
|
|
| 19 |
|
| 20 |
In your notebook, paste the following code:
|
| 21 |
|
| 22 |
+
-------------------------------------------------------------
|
| 23 |
+
|
| 24 |
from huggingface_hub import hf_hub_download
|
| 25 |
hf_hub_download(repo_id="CSC310-fall25/training_classification_phishing", filename="model.pkl",local_dir='.')
|
| 26 |
|
| 27 |
dt_loaded = sio.load('model.pkl')
|
| 28 |
|
| 29 |
+
-------------------------------------------------------------
|
| 30 |
+
|
| 31 |
This will load the model.
|
| 32 |
|
| 33 |
You can download the appropriate test data by pasting this code:
|
| 34 |
|
| 35 |
+
-------------------------------------------------------------
|
| 36 |
+
|
| 37 |
hf_hub_download(repo_id="CSC310-fall25/training_classification_phishing", filename="phishing_test.csv",local_dir='.')
|
| 38 |
|
| 39 |
phishing_test = pd.read_csv('phishing_test.csv')
|
| 40 |
|
| 41 |
+
-------------------------------------------------------------
|
| 42 |
+
|
| 43 |
### Hyperparameters
|
| 44 |
|
| 45 |
<details>
|