본문 바로가기

Footstep . 발자취

2020/04/30 Foot step

About Artificial Intelligence

Learned about Tree_Based_Model

-Bagging/Pasting

Random Forest를 사용할 때 무작위로 sampling하여 서로 다른 Sub_set을 만들어 ensemble을 하는데 sampling에는 두가지 방법이 있다. Bagging은 TrainingSet에서 중복을 허용하여 sampling 방법이고, Pasting은 중복을 허용하지 않는 방법이다. 따라서 많은 Sub_set이 필요하다면 Bagging이 적합할 것이다. 

-GradientBoosting

Random Forest algorithm하고는 반대로 Week Learner를 결합하여 Strong Learner를 만드는 Ensemble방법을 얘기한다. 먼저 약한 학습기를 만들어 모델에 적용하고 그 결과로 나오는 잔여 오차에  새로운 약한 학습기를 적용하며 강한 학습기를 도출하는 방법이다.

-ANN

MLP. Non-Linear학습을 하기 위해 만들어진 Algorithm. MLP를 훈련시키기 위해서는 미분 가능한 함수가 필요하기 때문에 Sigmoid, Tanh혹은 ReLU가 있는데 DNN에 적합하다고 판단되어 자주 사용하는 함수는 ReLU이다.

-TensorFlow API

constant() : 변수를 상수로 지정하면 실행 단계에서 변경하지 못한다.

tf.Variable() : 값을 자주 변경해야하는 경우(GradientDescent) Variable()을 사용. 정의된 변수들은 세션에서 global_variable_initializer()로 초기화를 진행.

placeholder() : 값을 넣을 수 있는 빈 공간을 만들어줌. TrainingData을 넣어주기 위해 사용한다.

 

 


About something new

 


To-do list

  • [x] Get up at 7 10
  • [x] Organize the blanket
  • [x] Put the flower on the windowsill
  • [x] Turn the hip hop jazz
  • [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
  • [x] Read AI news And the news
  • [x] walnut and almonds
  • [x] Stretch Ulnar nerve with 원동력 exercise
  • [x] Put the flower back from the windowsill
  • [x] Read book
  • [x] Organize the day and create the next day's plan

 

 

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

2020/05/2 Foot step  (0) 2020.05.02
2020/5/1 Foot step  (0) 2020.05.01
2020/04/29 Foot step  (0) 2020.04.29
2020/04/28 Foot step  (0) 2020.04.28
2020/04/27 Foot step  (0) 2020.04.27