Machine learning stubs