Shawn's blog Shawn's blog
About Me
  • Category
  • Tag
  • Archive
GitHub (opens new window)

Shawn Jin

I am not a creator of knowledge, I am just a porter of knowledge.
About Me
  • Category
  • Tag
  • Archive
GitHub (opens new window)
  • linear-algebra

  • statistic

  • data-mining

  • machine-learning

    • linear-regression

    • linear-modelling

      • Cross-validation
        • Procedure
        • References
    • nerual-networks

    • Difference between Training set, Validation set and Test Set
    • Regularization in Machine Learning
    • Learning Feedforward Neural Network Through XOR
    • Backprop Algorithm in Machine Learning
  • Data Science or Information Science
  • Data-Science
  • machine-learning
  • linear-modelling
Shawn Jin
2021-9-12

Cross-validation

# Cross-validation

The loss that we calculate from validation data will be sensitive to the choice of data in our validation set. This is particularly problematic if our dataset (and hence our validation set) is small. Cross-validation(CV) is a technique that allows us to make more efferent use of data we have. There are two type of CV, one is Leave One Out Cross-validation(LOOCV) and K-fold Cross-validation.

What it does: Estimate the error of a number of possible models trained on data subsets.

notes

LOOCV is the case of Cross-Validation where just a single observation is held out for validation.

# Procedure

  1. Randomly partition data into k chunks of (approx.) equal size;
  2. “hold out” one chunk as the Test Set;
  3. Train on everything but that chunk;
  4. Test with the chunk (record performance).
  5. Repeat this for all chunks.
  6. Report the average performance.

Cross Validation

# References

Rogers, Simon, and Mark Girolami. A First Course in Machine Learning, CRC Press LLC, 2016. ProQuest Ebook Central, http://ebookcentral.proquest.com/lib/uaz/detail.action?docID=4718644.

#Machine Learning#Linear Modeling
Updated: 2021/09/13, 23:29:33
Basic Terminologies in Linear Algebra
Activation Function in Neural Network

← Basic Terminologies in Linear Algebra Activation Function in Neural Network→

最近更新
01
Python import files from different directories
12-31
02
Classmethod in Python
09-15
03
Single/Double Star (/*) Parameters in Python
09-15
更多文章>
Theme by Vdoing | Copyright © 2019-2021 Shawn Jin | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式