Machine Learning Algorithm For Prediction Filter