Learn practical skills, build real-world projects, and advance your career
Created 2 years ago
ENERGY CONSUMPTION PREDICTION (PYTHON)
Objective: We will predict the energy consumption of appliances across a given sample of households
Dataset: UCI data set for energy consumption
Strategy
- Read the data
- Explore the data
- Clean the data
- Develop a Linear Regression Model
Step 1: READING THE DATA
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import warnings
warnings.filterwarnings("ignore")
df = pd.read_csv('energydata.csv', parse_dates=['date'])
df.head(2)