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

  • Deep Learning By Example
  • Ahmed Menshawy
  • 58字
  • 2021-06-24 18:52:38

Model training and testing

Now we are ready to start the model training phase by calling the main function create_model_with_kfold_cross_validation() for building and training the CNN model using 10-fold cross-validation; then we can call the testing function to measure the model's ability to generalize to the test set:

if __name__ == '__main__':
info_string, models = create_model_with_kfold_cross_validation()
test_generality_crossValidation_over_test_set(info_string, models)
主站蜘蛛池模板: 阿鲁科尔沁旗| 连江县| 叙永县| 乌兰察布市| 高碑店市| 广东省| 龙川县| 上虞市| 临夏县| 泰宁县| 万山特区| 贡嘎县| 政和县| 沂源县| 咸丰县| 杂多县| 尚志市| 枣庄市| 仙居县| 法库县| 革吉县| 鲁甸县| 固始县| 三原县| 卓尼县| 邵武市| 乌拉特中旗| 盱眙县| 小金县| 吐鲁番市| 龙游县| 思南县| 岳池县| 河北区| 晋州市| 彰化市| 寿光市| 阿坝县| 乌鲁木齐县| 泗阳县| 西充县|