Prediction Modeling based on euclidean geometry