examples from http://scikit-learn.org/