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

  • 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)
主站蜘蛛池模板: 靖宇县| 乌兰察布市| 东台市| 永春县| 拜城县| 兴安县| 平乡县| 金山区| 花莲市| 大新县| 迁西县| 元谋县| 潮州市| 垫江县| 湖州市| 镇宁| 天台县| 太和县| 娄底市| 新兴县| 康平县| 嘉定区| 稷山县| 温泉县| 乌鲁木齐县| 新源县| 枣庄市| 阳信县| 遵义市| 开江县| 灵丘县| 麻栗坡县| 措美县| 什邡市| 凌海市| 台中县| 英山县| 方正县| 酒泉市| 济阳县| 泽库县|