Lec4 - Python with data analysis
Lec4 - Python with data analysis
import pandas as pd
import matplotlib.pyplot as plt
𝜆𝑖
⚫ 𝐸𝑥𝑝𝑙𝑎𝑖𝑛𝑒𝑑 𝑉𝑎𝑟𝑖𝑎𝑛𝑐𝑒 𝑅𝑎𝑡𝑖𝑜𝑖 =
𝑇𝑜𝑡𝑎𝑙 𝑉𝑎𝑟𝑖𝑎𝑛𝑐𝑒
⚫ This represents the proportion of the dataset’s total variance explained by
the i-th component.
13
Data Reduction: Linear regression