deepFirst {FSinR}R Documentation

Deep First Search (exhaustive search)

Description

Generates a search function based on the deep first search. This function is called internally within the searchAlgorithm function. Deep First Search searches the whole features subset in deep first order (Kozen 1992).

Usage

deepFirst()

Value

Returns a search function that is used to guide the feature selection process.

Author(s)

Francisco Aragón Royón

References

Kozen DC (1992). Depth-First and Breadth-First Search. Springer New York, New York, NY. ISBN 978-1-4612-4400-4, doi: 10.1007/978-1-4612-4400-4_4.

Examples

## Not run:  

## The direct application of this function is an advanced use that consists of using this 
# function directly and performing a search process in a feature space
## Classification problem

# Generates the filter evaluation function
filter_evaluator <- filterEvaluator('determinationCoefficient')

# Generates the search function with Deep first
dfs_search <- deepFirst()
# Performs the search process directly (parameters: dataset, target variable and evaluator)
dfs_search(iris, 'Species', filter_evaluator)

## End(Not run)

[Package FSinR version 2.0.5 Index]