Yes. sometimes you need to prove for yourself that something does what you expect. Particularly on a computer, I often devise a number of test cases, and check that everything performs as expected (including say that I can’t learn anything good from very few data points). This helps check that the code I’ve written works right.
Comments