1 parent 51fabc9 commit 1dade33Copy full SHA for 1dade33
1 file changed
cost_function.m
@@ -1,6 +1,5 @@
1
function [c,d_c] = cost_function(so,sd)
2
-%COST_FUNCTION Summary of this function goes here
3
-% Detailed explanation goes
+%COST_FUNCTION Mean scuared error and his derivated.
4
5
c =mean((so-sd).^2);
6
d_c = so-sd;
0 commit comments