Update eval.py

This commit is contained in:
Peter Deutsch 2023-02-06 12:44:41 -05:00 committed by GitHub
parent 6d81d05014
commit baee8841c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ def eval():
# Re-train 10 times in order to reduce effects of randomness
for i in range(10):
### TODO: Exercise 5
### TODO: Exercise 2-4
### 1. Load data from traces file
### 2. Split data into X_train, X_test, y_train, y_test with train_test_split
### 3. Train classifier with X_train and y_train
@ -20,7 +20,7 @@ def eval():
y_test_full.extend(y_test)
y_pred_full.extend(y_pred)
### TODO: Exercise 5 (continued)
### TODO: Exercise 2-4 (continued)
### 5. Print classification report using y_test_full and y_pred_full
if __name__ == "__main__":