View source: R/determinationCoefficient.R
| determinationCoefficient | R Documentation |
Generates an evaluation function that calculates the determinantion coefficient \insertCitersquaredFSinR of continuous features (set measure). This function is called internally within the filterEvaluator function.
determinationCoefficient()
Returns a function that is used to generate an evaluation set measure using the R squared value for the selected features.
Adan M. Rodriguez
## The direct application of this function is an advanced use that consists of using this
# function directly to evaluate a set of features
## Classification problem
# Generate the evaluation function with Determination Coefficient
dc_evaluator <- determinationCoefficient()
# Evaluate the features (parameters: dataset, target variable and features)
dc_evaluator(longley, 'Employed', c('GNP', 'Population','Year'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.