fscore {FSinR} | R Documentation |
F-score measure
Description
Generates an evaluation function that calculates the F-score approach defined in (Wang et al. 2018) (individual measure). This function is called internally within the filterEvaluator
function.
Usage
fscore()
Value
Returns a function that is used to generate an individual evaluation measure using the F-score.
References
Wang D, Zhang Z, Bai R, Mao Y (2018). “A hybrid system with filter approach and multiple population genetic algorithm for feature selection in credit scoring.” Journal of Computational and Applied Mathematics, 329, 307–321. doi: 10.1016/j.cam.2017.04.036, The International Conference on Information and Computational Science, 2–6 August 2016, Dalian, China, https://www.sciencedirect.com/science/article/abs/pii/S0377042717302078.
Examples
## Not run:
## The direct application of this function is an advanced use that consists of using this
# function directly to individually evaluate a set of features
## Classification problem
# Generate the evaluation function with F-Score
fscore_evaluator <- fscore()
# Evaluate the features (parameters: dataset, target variable and features)
fscore_evaluator(ToothGrowth, 'supp', c('len'))
## End(Not run)
[Package FSinR version 2.0.5 Index]