1. k-최근접 이웃의 한계 데이터 준비모델 준비 http://bit.ly/perch_data from sklearn.model_selection import train_test_split train_input, test_input, train_target, test_target = train_test_split(perch_length, perch_weight, random_state=42) train_input = train_input.reshape(-1, 1) test_input = test_input.reshape(-1, 1) 모델 준비 from sklearn.neibors import KneiborsRegressor knr = KneiborsRegressor(n_neighbors=3) knr.fi..