Implementation of Improved Machine Learning Technique in Stock Analysis and Market Prediction