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

  • 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)
主站蜘蛛池模板: 宁陕县| 类乌齐县| 太康县| 安达市| 临漳县| 虹口区| 临西县| 成都市| 永春县| 额尔古纳市| 虞城县| 临夏县| 富蕴县| 泰兴市| 来宾市| 蒙阴县| 文昌市| 穆棱市| 措勤县| 浦江县| 娱乐| 从江县| 昌图县| 康马县| 偃师市| 襄垣县| 闽侯县| 荣昌县| 吉木萨尔县| 武山县| 伊宁市| 策勒县| 宿州市| 当雄县| 南平市| 武城县| 竹北市| 岳西县| 台山市| 泰来县| 上饶县|