@nixCraft Machine Learning requires an objective function that you are optimizing. This is known as 'test driven development'.