회귀모델 성능 평가 1) x, y 분리 target 변수 명확히 지정 target을 제외한 변수를 x 데이터프레임으로 선언 y 데이터프레임은 target변수만을 가짐 target = 'Ozone' x = data.drop(target, axis=1) y = data.loc[:, target] 2) 학습용, 평가용 데이터 분리 1. 모듈 불러오기 from sklearn.model_selection import train_test_split 2. 7:3으로 분리 x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.3, random_state=1) 3) 모델링 회귀 문제 알고리즘 : LinearRegression 평가방법 : mean_a..