def run_testing_cnn(name_prefix=DS_NAME_PREFIX, cv_count=1, common_callback_func=ds_common_callback_modification_func): run_testing(model_name=name_prefix + ModelNames.CNN, create_network=VanillaCNN, create_config=CNNConfig, create_io=RuSentRelWithRuAttitudesIO, create_model=ContextLevelTensorflowModel, evaluator_class=TwoClassEvaluator, create_callback=CustomCallback, cv_count=cv_count, common_config_modification_func=ds_ctx_common_config_settings, common_callback_modification_func=common_callback_func, custom_config_modification_func=ctx_cnn_custom_config)
def run_testing_cnn(cv_count=1, name_prefix=u'', custom_config_func=ctx_cnn_custom_config, custom_callback_func=classic_common_callback_modification_func): run_testing(model_name=name_prefix + ModelNames.CNN, create_network=VanillaCNN, create_config=CNNConfig, create_io=RuSentRelNetworkIO, create_model=ContextLevelTensorflowModel, cv_count=cv_count, evaluator_class=TwoClassEvaluator, create_callback=CustomCallback, common_callback_modification_func=custom_callback_func, custom_config_modification_func=custom_config_func, common_config_modification_func=classic_ctx_common_config_settings)