Transparent Machine Learning: Theory and Computation