[머신러닝] 특성공학과 규제 #4 적절한 alpha 값 찾기
개발 환경 --------------------------------- OS : Mac 개발 툴 : colab 개발 언어 : python --------------------------------- import pandas as pd import numpy as np from sklearn.model_selection import train_test_split df = pd.read_csv('https://bit.ly/perch_csv_data') perch_full = df.to_numpy() fish_weight = np.array([5.9, 32.0, 40.0, 51.5, 70.0, 100.0, 78.0, 80.0, 85.0, 85.0, 110.0, 115.0, 125.0, 130.0, 120.0,..
2023. 3. 23.