Skip to content
This repository was archived by the owner on May 10, 2023. It is now read-only.

Commit 6c8a663

Browse files
committed
adding reference to part 9 for dimension reduction for plotting
1 parent 1fadcfe commit 6c8a663

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Part 3 - Classification/Section 8 - Logistic Regression/lr_with_gender.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,7 @@
6666
print('Train status = #{} True, #{} False, %{} Accuracy'.format(t_train,f_train,acc_train*100))
6767

6868
t_test,f_test,acc_test = ac.accuracy_on_cm(cm_test)
69-
print('Test status = #{} True, #{} False, %{} Accuracy'.format(t_test,f_test,acc_test*100))
69+
print('Test status = #{} True, #{} False, %{} Accuracy'.format(t_test,f_test,acc_test*100))
70+
71+
# For educational purpose, I didn't added PCA to reduce dimensions to plot. But if you
72+
# like to do this, see the Part 9 and use lr.py visualization code to plot.

0 commit comments

Comments
 (0)