官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 嫩江县| 灵台县| 齐齐哈尔市| 新绛县| 泽州县| 九江市| 通江县| 璧山县| 沈丘县| 浦县| 东宁县| 宜城市| 双桥区| 望城县| 利津县| 德清县| 安义县| 平安县| 年辖:市辖区| 肇庆市| 同心县| 铜陵市| 吉木萨尔县| 车险| 靖安县| 云南省| 灵川县| 五河县| 德惠市| 泸定县| 冀州市| 安岳县| 万山特区| 镇雄县| 佛山市| 南通市| 南召县| 招远市| 大同市| 麟游县| 德保县|