psystat
close
프로필 배경
프로필 로고

psystat

  • 아카이브 (171)
    • 위스키 (16)
    • 해외여행 (17)
      • 보라카이 (6)
      • 후쿠오카 (2)
      • 삿포로 (3)
      • 가고시마 (6)
    • 데이터분석 (112)
      • Quant (29)
      • XAI (3)
      • ISLR (4)
      • 통계 체크리스트 (1)
      • Credit Scoring (2)
      • Python (25)
      • R (4)
      • SQL (36)
      • Kaggle & Dacon (2)
      • Linux (1)
    • 이것저것 (21)
    • Tistory (4)
  • 홈
  • ABOUT
[ISLR solution] Chapter5 연습문제(k-fold cross-validation,LOOCV)

[ISLR solution] Chapter5 연습문제(k-fold cross-validation,LOOCV)

Chapter 5 3. k-fold 교차검증에 대해 살펴본다. (a) k-fold 교차검증을 어떻게 구현하는지 설명하여라. 1) 데이터를 랜덤하게 크기가 거의 같은 k개은 그룹(fold)로 나눈다. 2) 첫 번째 fold는 test set으로 취급하고 적합은 나머지 k-1개 fold에 대해 수행한다. 3) 첫 번째 MSE 추정치를 계산한다. 4) 이것을 k개의 집단에 대해 반복한다. 모두 k번의 계산이 이루어지는 것이다. 5) k개의 MSE 의 평균을 k-fold CV 추정치로 사용한다. (b) 아래 두 기법에 대한 k-fold 교차검증의 장점과 단점은 무엇인가? i. validation set 기법 장점: validation set 기법보다 test MSE 추정치의 variablility가 훨씬 작다...

  • format_list_bulleted 데이터분석/ISLR
  • · 2016. 12. 20.
  • textsms
[ISLR] Resampling(Validation Set Approach, LOOCV, k-fold CV,Bootstrap)

[ISLR] Resampling(Validation Set Approach, LOOCV, k-fold CV,Bootstrap)

이 글은 Introduction to Statistical Learning with R (ISLR)의 내용을 바탕으로 작성되었습니다. 저자들은 웹사이트를 통해 pdf 파일과 예제데이터, 예제코드를 제공하고 있습니다. http://www-bcf.usc.edu/~gareth/ISL/ Resampling은 ISLR 5장의 내용입니다. 5장에서는 4가지 resampling 기법을 설명하고 있습니다. 1. Validation Set Approach 2. Leave One Out Cross-Validation 3. k-fold Cross-Validation 4. Bootstrap 1. Validation Set Approach Validation Set Approach는 데이터를 train과 test로 분할하는 가..

  • format_list_bulleted 데이터분석/ISLR
  • · 2016. 12. 7.
  • textsms
[ISLR] Linear Model Selection and Regularization (2) (Validation set approach, k-fold CV)

[ISLR] Linear Model Selection and Regularization (2) (Validation set approach, k-fold CV)

이 글은 Introduction to Statistical Learning with R (ISLR)의 내용을 바탕으로 작성되었습니다. 저자들은 웹사이트를 통해 pdf 파일과 예제데이터, 예제코드를 제공하고 있습니다. http://www-bcf.usc.edu/~gareth/ISL/ Linear Model Selection and Regularization (1)에서는 크기가 다른 모델들 중에서 가장 좋은 모델을 고르기 위해 test MSE를 간접적으로 추정하는 방법들에 대해 알아봤습니다. 이번에는 Validation Set 기법과 k-fold Cross-Validation 기법을 이용해서 직접적으로 test MSE를 계산하는 방법에 대해 알아보겠습니다. 먼저 Validation Set 기법을 사용하기 위해..

  • format_list_bulleted 데이터분석/ISLR
  • · 2016. 12. 6.
  • textsms
[ISLR] Linear Model Selection and Regularization (1) (Best subset selection, Forward Selection, Backward Elimination)

[ISLR] Linear Model Selection and Regularization (1) (Best subset selection, Forward Selection, Backward Elimination)

이 글은 Introduction to Statistical Learning with R (ISLR)의 내용을 바탕으로 작성되었습니다. 저자들은 웹사이트를 통해 pdf 파일과 예제데이터, 예제코드를 제공하고 있습니다. http://www-bcf.usc.edu/~gareth/ISL/ Linear Model Selection and Regularization은 교재 6장의 내용입니다. 여기서는 Hitters라는 데이터셋을 이용하고 있습니다. library(ISLR) Hitters names(Hitters) > names(Hitters) [1] "AtBat" "Hits" "HmRun" "Runs" "RBI" "Walks" "Years" [8] "CAtBat" "CHits" "CHmRun" "CRuns" "CRB..

  • format_list_bulleted 데이터분석/ISLR
  • · 2016. 12. 5.
  • textsms
  • navigate_before
  • 1
  • navigate_next
공지사항
전체 카테고리
  • 아카이브 (171)
    • 위스키 (16)
    • 해외여행 (17)
      • 보라카이 (6)
      • 후쿠오카 (2)
      • 삿포로 (3)
      • 가고시마 (6)
    • 데이터분석 (112)
      • Quant (29)
      • XAI (3)
      • ISLR (4)
      • 통계 체크리스트 (1)
      • Credit Scoring (2)
      • Python (25)
      • R (4)
      • SQL (36)
      • Kaggle & Dacon (2)
      • Linux (1)
    • 이것저것 (21)
    • Tistory (4)
최근 글
인기 글
최근 댓글
태그
  • #글또
  • #MariaDB
  • #mysql
  • #위스키
  • #streamlit
  • #sql
  • #SQLD
  • #마리아DB
  • #python
  • #R
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바