Line 28 computes the prediction end result. Line 29 computes the mistake for every instance. Line 31 is in which you accumulate the sum with the errors using the cumulative_error variable. You try t… Read More