[Question] What’s a good way to test basic machine learning code?

I originally ‘scoped’ this question based on my inspiration, i.e. a set of example data and their expected answers for various machine learning algorithms or their code components. In other words, a set of test cases that could be used to test implementations of those algorithms or components.

I took the Coursera course Machine Learning (by { Stanford University /​ Andrew Ng}) and it was great!

I took it because I wanted some ‘finger practice’ of writing machine learning code and actually running it on my own computer. The course was perfect for that!

One thing in particular that was nice is that the exercises/​quizzes/​tests that required writing code would have some kind of automated ‘endpoint’ whereby you could submit your code for testing. (That kind of ‘test kata’ practice is a really fun way to learn any kind of programming topic, e.g. a new programming language.)

I found these links, on the above course’s forum on Coursera, linking to some of the info about the exercises:

The course uses Octave, which was fine.

But I want to basically repeat the course – but using completely different tools. (I want to play with this library in particular.)

What are the best alternatives to the course I took, or similar resources that would be helpful in implementing basic machine learning algorithms, but with arbitrary programming tools?