[머신러닝 기초] 선형회귀 실습
키-몸무게 데이터 실습 # 라이브러리 설치 !pip install scikit-learn !pip install numpy !pip install pandas !pip install matplotlib !pip install seaborn import sklearn import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns # dictionary 형태로 데이터 생성 weights = [87, 81, 82, 92, 90, 61, 86, 66, 69, 69] heights = [187, 174, 179, 192, 188, 160, 179, 168, 168, 174] body_df = pd.DataFra..