machine learning interface design