一 问题:
跑《MATLAB 神经网络43个案例分析》源代码&数据的第30章随机森林时,随机森林库函数无法调用。按照说明文档下载了GCC和mingw64,折腾过各种路径设置
还是无法运行 compile_windows.m,出现部分错误如下:
I am going to use the precompiled fortran file
If it doesnt work then use cygwin+g77 (or gfortran) to recompile rfsub.f
使用 'Microsoft Visual C++ 2010' 编译。
错误使用 mex
mex_ClassificationRF_train.cpp
此为部分错误
二 问题解决方案:
下载RF_MexStandalone-v0.02-precompiled,MATLAB设置路径,完美解决,可以调用随机森林库函数。