Description Usage Value References Examples
Generates an evaluation function that calculates the F-score approach defined in \insertCiteWang2018FSinR (individual measure). This function is called internally within the filterEvaluator
function.
1 | fscore()
|
Returns a function that is used to generate an individual evaluation measure using the F-score.
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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)
|
[1] 0.06113754
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.