🧑💻복습/파이썬
파이썬 딥러닝 회귀분석과 분류분석, 손실함수와 활성화 함수
1. Train_Test_Split [코드] import numpy as np from keras.models import Sequential from keras.layers import Dense from sklearn.model_selection import train_test_split # 1. 데이터 x = np.array([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]) y = np.array([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]) x_train, x_test, y_train, y_test = train_test_split( x, y, test_size=0.3, # Test data size ..