본문 바로가기

Footstep . 발자취

2020/05/11 Foot step

About Artificial Intelligence

 

-Housing prediction

이번 실습은 전처리 과정과 pipeline에 더 신경을 쓰고 싶었지만 아직 많이 부족하다는 것을 느꼈고, Training과 evaluation까지 했다는 것에 의미를 두고 싶습니다.

-ColumnTransformer

preprocessing과 modeling steps을 같이 할 수 있는 class이다. 생각보다 사용법이 간단해 쉽게 접할 수 있었지만 복잡한 구조를 다룰때에는 이것역시 시간이 다소 걸릴 것 같다. 하지만 새로운 경험을 할 수 있어서 좋았습니다.

 

-Classification

K-fold cross-validation

K-겹 교차 검증은 훈련 세트를 K개로 구성해 각 폴드로 나누어 예측을 만들고 나머지 폴드는 Trained model에 사용합니다.

 

Confusion matrix(cross_val_predict( ))

훈련 모델의 오차를 알아볼 수 있는 강력한 성능 평가 모델입니다. 오차 행렬을 만드려면 먼저 실제 타겟과 비교할 수 있는 예측 값을 만들어야합니다. cross_val_predict( )함수를 사용할 수 있습니다.

 

Precision, Recall, F1 score, TradeOff

오차 행렬의 행과 열로 우리는 여러가지 확률을 알아볼 수 있습니다. 가장 흔하게 사용하는 F1 score는 Precision과 Recall의 조화 평균(Harmonic mean)입니다. 하지만 여러가지 상황에 따라 정밀도가 중요할 수도 있고 재현율이 중요할 수도 있습니다. 일반적으로 Precision이 증가하면 Recall이 내려가는데 이를 Tradeoff라고 합니다.

 

 

본 내용은 'Hands-On Machine Learning with Scikit-Learn and TensorFlow' 도서를 참고하였습니다.


About something new


To-do list

  • [x] Get up at 7 10
  • [x] Organize the blanket
  • [x] Put the flower on the windowsill
  • [x] Ask Bill
  • [x] Do machine learning
  • [x] One day One commit
  • [x] Get the supplements and the chocolate, make some water.
  • [x] Drink coffee, Do the diary about sleeping and thoughts
  • [x] Stretch your body for 20 min
  • [x] Do Eng words
  • [x] Go for cardio
    • [x] Have time to think about something new
  • [x] 미숫가루
  • [x] Brush up on
  • [x] Do blogging
  • [x] Do out-put, Skim through again
  • [x] Do coursera, EdX
  • [x] Read AI news And the news
  • [x] walnut and almonds
  • [x] Do Intermittent fasting at 7
  • [x] Stretch Ulnar nerve with 원동력 exercise
  • [x] Put the flower back from the windowsill
  • [x] Read books
  • [x] Organize the day and create the next day's plan

'Footstep . 발자취' 카테고리의 다른 글

2020/05/13 Foot step  (0) 2020.05.13
2020/05/12 Foot step  (0) 2020.05.12
2020/05/10 Foot step  (0) 2020.05.10
2020/05/9 Foot step  (0) 2020.05.09
2020/05/8 Foot step  (0) 2020.05.08