determinationCoefficient: R Squared, to continous features

Description Usage Value Author(s) References Examples

View source: R/determinationCoefficient.R

Description

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

Usage

1

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

\insertAllCited

Examples

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

FSinR documentation built on Nov. 23, 2020, 5:10 p.m.