A machine learning approach for evaluation of battery state of health