Skip to content

Commit 1e47825

Browse files
authored
Update Decision_Tree_implementation_from_scratch.py
1 parent bc19324 commit 1e47825

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Decision Tree Classifier/Decision_Tree_implementation_from_scratch.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
# Load dataset
88
# This dataset is provided in this repository.
9+
# Update the path below to your local path where the dataset is located
910
dataset = pd.read_csv("/content/drive/MyDrive/bill_authentication.csv")
1011

1112
# Display the first few rows of the dataset
@@ -197,4 +198,4 @@ def accuracy(self, y_test, y_pred):
197198
accuracy = clf.accuracy(y_test, y_pred) * 100
198199

199200
# Print the accuracy of the model
200-
print(f"Accuracy of Decision Tree Classifier Model which implemented from scratch is {accuracy:.2f}%")
201+
print(f"Accuracy of Decision Tree Classifier Model which implemented from scratch is {accuracy:.2f}%")

0 commit comments

Comments
 (0)