我收到很多错误。
missing type specifier - int assumed. Note: C++ does not support default-int ~ informedness_optimization_threshold.cpp ~ 172
syntax error: missing ';' before '*' ~ informedness_optimization_threshold.cpp ~ 172
'performance_functional_pointer': undeclared identifier ~ informedness_optimization_threshold.cpp ~ 172
'get_performance_functional_pointer': is not a member of 'OpenNN::TrainingStrategy' ~ informedness_optimization_threshold.cpp ~ 172
'performance_functional_pointer': undeclared identifier ~ informedness_optimization_threshold.cpp ~ 174
left of '->get_neural_network_pointer' must point to class/struct/union/generic type ~ informedness_optimization_threshold.cpp ~ 174
'maximum_iterations_number': undeclared identifier ~ informedness_optimization_threshold.cpp ~ 238
'MaximumIterations': is not a member of 'OpenNN::ThresholdSelectionAlgorithm' ~ informedness_optimization_threshold.cpp ~ 247
'MaximumIterations': undeclared identifier ~ informedness_optimization_threshold.cpp ~ 247
'final_binary_classification_test': is not a member of 'OpenNN::InformednessOptimizationThreshold::InformednessOptimizationThresholdResults' ~ informedness_optimization_threshold.cpp ~ 275
'maximum_iterations_number': undeclared identifier ~ informedness_optimization_threshold.cpp ~ 316
'maximum_time': undeclared identifier ~ informedness_optimization_threshold.cpp ~ 325
'maximum_time': undeclared identifier ~ informedness_optimization_threshold.cpp ~ 449
'set_maximum_iterations_number': identifier not found ~ informedness_optimization_threshold.cpp ~ 527
'set_maximum_time': identifier not found ~ informedness_optimization_threshold.cpp ~ 546
如何实现从C#调用OpenNN函数的最终目标?
答案 0 :(得分:0)
我用流程编写了OpenNN。
从项目中删除informedness_optimization_threshold.cpp,informedness_optimization_threshold.h。
将tinyxml2.cpp,tinyxml2.h添加到tinyxml2文件夹中进行投影。
我认为这不是一个好的解决方案,但我们可能需要更多的OpenNN更新。