Is there any feature scoring method available in Java for regression datasets where the class values are continuous numbers rather than binary?
The ML-Lib feature scoring seems to work only for classification datasets.
This largely depends on your regression algorithm. Good features for Kernel based regression algorithms might be pretty bad for linear classifiers. ( https://en.wikipedia.org/wiki/Feature_selection ) You seem to aim at the "filter approach". What works well in many regression settings is the Pearson Correlation . This is also available in ML-Lib.
However, you should consider to not add the K top-correlated features, but
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.