This document introduces ml.lib, an open-source machine learning library for Max and Pure Data that provides robust and cross-platform machine learning algorithms. Ml.lib integrates efficient libraries like Dlib and mlpack to implement classification, regression, and feature extraction algorithms. It aims to make machine learning accessible for interactive media applications by exposing common attributes and allowing training and classification of data in Max and PD. Examples of possible uses include phone orientation sensing, gesture mapping, and audio analysis. Future work may include improved documentation, implementing more algorithms from GRT, and multi-threaded training.