Lush is an excellent platform for machine learning. There are bindings to gnuplot ,opencv, lapack, gsl, an optimization library for gradient descent, a machine learning framework, a nerual network simulator.
It also has very nice matrix and vector manipulations features built in to the language and is very easy to bind to C code.