TAG: a matlab-like environment for machine learning