- 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.
- Aftershot Pro:Non-destructive photo editing and management
- 觸摸屏實(shí)用技術(shù)與工程應(yīng)用
- 龍芯應(yīng)用開發(fā)標(biāo)準(zhǔn)教程
- Augmented Reality with Kinect
- 數(shù)字道路技術(shù)架構(gòu)與建設(shè)指南
- Mastering Delphi Programming:A Complete Reference Guide
- Deep Learning with PyTorch
- AMD FPGA設(shè)計優(yōu)化寶典:面向Vivado/SystemVerilog
- Rapid BeagleBoard Prototyping with MATLAB and Simulink
- OpenGL Game Development By Example
- Blender Quick Start Guide
- Hands-On Artificial Intelligence for Banking
- WebGL Hotshot
- 3D Printing Blueprints
- 計算機(jī)電路基礎(chǔ)(第2版)