Categorical kernel functions for machine learning. Built on scikit-learn.