This is a well crafted machine learning library. It's focus is more on natural language processing, but you can use the learning algorithms for a variety of tasks. There's a GPL licensed version for academics and researchers and a commercial license version for businesses.
LingPipe
http://alias-i.com/lingpipe/