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

  • 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)
主站蜘蛛池模板: 含山县| 双鸭山市| 汨罗市| 闽清县| 青州市| 诸城市| 婺源县| 运城市| 桃源县| 上犹县| 潞西市| 嘉禾县| 延长县| 富源县| 滨海县| 山西省| 读书| 双峰县| 临沭县| 丽水市| 桂林市| 保山市| 洛隆县| 乌鲁木齐县| 嵩明县| 巴林右旗| 兰溪市| 惠安县| 福鼎市| 海丰县| 潞西市| 昌乐县| 无极县| 广元市| 游戏| 永德县| 田东县| 遵义县| 陆川县| 通许县| 德江县|