Stock market prediction using machine learning