Machine learning algorithms with unified interface and confusion