Miscellaneous machine learning tools