- Intelligent Projects Using Python
- Santanu Pattanayak
- 136字
- 2021-07-02 14:10:51
Cross-validation
Since the training dataset is small, we will perform five-fold cross-validation, to get a better sense of the model's ability to generalize to new data. We will also use all five of the models built in the different folds of cross-validation in training, for inference. The probability of a test data point belonging to a class label would be the average probability prediction of all five models, which is represented as follows:

Since the aim is to predict the actual classes and not the probability, we would select the class that has the maximum probability. This methodology works when we are working with a classification-based network and cost function. If we are treating the problem as a regression problem, then there are a few alterations to the process, which we will discuss later on.
- 24小時學會電腦組裝與維護
- Deep Learning with PyTorch
- The Applied AI and Natural Language Processing Workshop
- 3ds Max Speed Modeling for 3D Artists
- INSTANT ForgedUI Starter
- 電腦維護365問
- OUYA Game Development by Example
- 微服務分布式架構基礎與實戰(zhàn):基于Spring Boot + Spring Cloud
- 分布式微服務架構:原理與實戰(zhàn)
- BeagleBone Robotic Projects
- 單片機技術及應用
- Neural Network Programming with Java(Second Edition)
- LPC1100系列處理器原理及應用
- WebGL Hotshot
- Spring Cloud實戰(zhàn)