Machine Learning Accuracy Calculation In Method