From 175c3324e0d9ec9730fa402290e496a7133076f7 Mon Sep 17 00:00:00 2001 From: Littleor Date: Thu, 21 Apr 2022 08:48:41 +0800 Subject: [PATCH] Improved legend for logistic regression --- ex2.Logistic_Regression/mlclass-ex2/ex2.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ex2.Logistic_Regression/mlclass-ex2/ex2.m b/ex2.Logistic_Regression/mlclass-ex2/ex2.m index f86a5bd..e9f7ceb 100644 --- a/ex2.Logistic_Regression/mlclass-ex2/ex2.m +++ b/ex2.Logistic_Regression/mlclass-ex2/ex2.m @@ -101,7 +101,7 @@ ylabel('Exam 2 score') % Specified in plot order -legend('Admitted', 'Not admitted') +legend('Admitted', 'Not admitted', 'Decision Boundary') hold off; fprintf('\nProgram paused. Press enter to continue.\n');