# NOT RUN {
## 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'))
# }
Run the code above in your browser using DataLab