Python Class Method Annotation Machine Learning Models Multivariate