Application of an Instance Based Learning Algorithm for Predicting the Stock Market Index