Python Class Method Annotation Machine Learning Algorithms Definition