diff --git a/Codes/Code-A1.md b/Codes/Code-A1.md index bcb7c29..591e512 100644 --- a/Codes/Code-A1.md +++ b/Codes/Code-A1.md @@ -15,6 +15,7 @@ Perform following tasks: ## Steps +1. Importing Libraries 1. Data Loading and Pre-processing 2. Outlier Detection 3. Correlation Analysis @@ -25,6 +26,21 @@ Perform following tasks: ## Code +0. Importing Libraries: + +```python3 +# Import necessary libraries +import pandas as pd +import numpy as np +import matplotlib.pyplot as plt +import seaborn as sns +from sklearn.model_selection import train_test_split +from sklearn.linear_model import LinearRegression +from sklearn.ensemble import RandomForestRegressor +from sklearn.metrics import r2_score, mean_squared_error, mean_absolute_error +from math import radians, cos, sin, asin, sqrt +``` + 1. Data Loading & Preprocessing: ```python3