readability
Make the code readable by adding some spaces
Start file
J=J-y(i)*log(h)-(1-y(i))*log(1-h)+(lambda/2)*sumtheta2;
End file
J = J - y(i) * log(h) - (1 - y(i)) * log(1 - h) + (lambda / 2) * sumtheta2;
View Diff
diff --git a/vimgolf2-in b/vimgolf2-out index 3babd97..ddbb1af 100644 --- a/vimgolf2-in +++ b/vimgolf2-out @@ -1 +1 @@ -J=J-y(i)*log(h)-(1-y(i))*log(1-h)+(lambda/2)*sumtheta2; +J = J - y(i) * log(h) - (1 - y(i)) * log(1 - h) + (lambda / 2) * sumtheta2;
Solutions by @me_coot:
Unlock 1 remaining solutions by signing in and submitting your own entry