Performed exploratory data analysis on Microsoft’s historical stock data to identify trends, detect outliers, and examine correlations among features. Engineered features and trained a Linear Regression model to predict stock closing prices, achieving strong results (R² = 0.99, MSE = 0.83). Visualized stock behavior over time and used heatmaps and scatter plots to derive actionable insights on market movement and feature relationships.
https://www.kaggle.com/datasets/vijayvvenkitesh/microsoft-stock-time-series-analysis
- Python
- Pandas
- NumPy
- Matplotlib
- Seaborn
- Scikit-learn
- Jupyter Notebook
- Data Loading.
- Exploratory Data Analysis (EDA).
- Data Cleaning (handling nulls, duplicates, outliers).
- Feature Engineering.
- Correlation Analysis.
- Data Type Conversion (e.g., converting
Datecolumn). - Define Target Variable.
- Data Splitting (train-test split)
- Model Building (Linear Regression)
- Model Training and Testing.
- Regression Line Visualization.
- Evaluation Metrics(R² Score, MSE).