determinationCoefficient {FSinR}R Documentation

R Squared, to continous features

Description

Generates an evaluation function that calculates the determinantion coefficient (Dodge 2008) of continuous features (set measure). This function is called internally within the filterEvaluator function.

Usage

determinationCoefficient()

Value

Returns a function that is used to generate an evaluation set measure using the R squared value for the selected features.

Author(s)

Adan M. Rodriguez

References

Dodge Y (2008). Coefficient of Determination. Springer New York, New York, NY. ISBN 978-0-387-32833-1, doi: 10.1007/978-0-387-32833-1_62.

Examples

## 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'))

## End(Not run)

[Package FSinR version 2.0.5 Index]