Feature Selection Library (FSLib 2017)是被广泛使用的Matlab特征选择工具箱,里面包含的有监督和无监督共10种特征选择方法:
有监督:
ILFS,mRMR,reliefF,fsvFS,spider_wrapper,infFS,ECFS
无监督:
LaplacianScore,mcfs,UDFS,llcfs
1、工具包下载
下载地址:https://ww2.mathworks.cn/matlabcentral/fileexchange/56937-feature-selection-library
2、编译
使用之前,先进行编译。运行make.m文件,报错如下:
因此安装:Install MinGW-w64 Compiler
这里需要根据你所使用的Maltb版本选择MinGW GCC:
This Add-On installs one of the following versions of MinGW GCC based on your version of MATLAB:
MATLAB R2015b, R2016a, R2016b, R2017a: MinGW GCC 4.9.2 from TDM
MATLAB R2017b and beyond: MinGW GCC 5.3 from mingw-w64.org
以R2017a为例,可进一步参考 http://blog.sina.com.cn/s/blog_167bbdec10102x113.html
安装完之后,在maltlab运行如下代码进行测试:
setenv('MW_MINGW64_LOC','C:\TDM-GCC-64')
显示如下说明安装正确
进一步参考资料:
I already have MInGW on my computer. How do I configure it to work with MATLAB?
Matlab Support for MinGW-w64 C/C++ Compiler