Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

모델링 #5

Open
3 tasks done
NayeonKeum opened this issue Jul 10, 2022 · 2 comments · Fixed by #8
Open
3 tasks done

모델링 #5

NayeonKeum opened this issue Jul 10, 2022 · 2 comments · Fixed by #8
Assignees

Comments

@NayeonKeum
Copy link
Member

NayeonKeum commented Jul 10, 2022

내용

ISSUE 분류를 선택하세요

  • Add

작업 내용

  • 모델 구현
  • 모델 개선
@NayeonKeum NayeonKeum self-assigned this Jul 10, 2022
NayeonKeum added a commit that referenced this issue Jul 10, 2022
NayeonKeum added a commit that referenced this issue Jul 10, 2022
NayeonKeum added a commit that referenced this issue Jul 10, 2022
NayeonKeum added a commit that referenced this issue Aug 7, 2022
NayeonKeum added a commit that referenced this issue Aug 7, 2022
@NayeonKeum NayeonKeum mentioned this issue Aug 7, 2022
1 task
@NayeonKeum
Copy link
Member Author

NayeonKeum commented Aug 7, 2022

모델 개선 방식

두 가지 종류의 오버피팅을 해결하였다.

1. 예측 값이 이전의 값과 유사하게 나오는 현상

image

원인

시계열 딥러닝에서 흔히 보이는 현상으로 오버피팅의 일종이다. 데이터가 시계열 딥러닝에 적합한지, 부족하지는 않은지를 점검해야한다. 링크

해결

  1. 모델 깊이와 넓이를 늘린다 -> 실패
  2. 모델의 optimizer 및 loss function을 수정한다 -> 일정 부분 성공
  3. 데이터가 수치형 univariate 데이터이므로 One-Hot encoding을 통해 multivariate으로 변경하여 학습시킨다 -> 실패

2. 테스트 값이 전부 동일하거나 유사한 값으로 나오는 현상

image

해결

  1. 모델을 단순화한다(깊이와 넓이를 줄인다).
  2. dropout을 없앤다(시계열 특성상 사용하지 않는다고 함).
  3. Batch Size를 줄인다.
  4. 기존의 Multi Step에서 Single Step으로 예측될 수 있도록 한다.
  • 여러 단계를 한 번에 예측하면 예측값이 지속적으로 유사하게 나올 수 있다.

NayeonKeum added a commit that referenced this issue Aug 7, 2022
NayeonKeum added a commit that referenced this issue Aug 7, 2022
NayeonKeum added a commit that referenced this issue Aug 7, 2022
NayeonKeum added a commit that referenced this issue Aug 7, 2022
NayeonKeum added a commit that referenced this issue Aug 7, 2022
@NayeonKeum
Copy link
Member Author

추가적인 오버피팅이 확인되어 재수정

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant