A Training Optimization Application Based On Heart Rate Prediction Under Different Activities