로지스틱 회귀 머신러닝 로지스틱 회귀 개념을 다룰 때 ‘로지스틱 회귀’에 대한 개념 설명을 자세하게 설명했다. 로지스틱 회귀 개념, 모델링 과정 Logistic Regression 확률 문제를 선형회귀로 모델링 입력 : x = np.array([10, 20, 30, 40, 50, 60, 70, 80, 90, 100]).reshape(-1, 1) y = np.array([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]).reshape(-1, 1) model = LinearRegression() model.fit(x,y) y_hat = x*m oaho.tistory.com breast_cancer 데이터 사용 target값 = 0 or 1 => 로지스틱 회귀 문제 입력: x.shape, y.shape ..