filteredFit: A generic fit method with a filtered step for feature...

Description Usage Arguments Value Author(s)

View source: R/FRESAModelingFunctions.R

Description

Sequential application of feature selection method followed by a fitting algorithm

Usage

1
2
3
4
5
6
7
8
	
    filteredFit(formula = formula, 
	            data=NULL,
	            filtermethod=univariate_Wilcoxon,
	            fitmethod=e1071::svm,
	            filtermethod.control=list(pvalue=0.10,limit=0.1),
	            ...
				)

Arguments

formula

the base formula to extract the outcome

data

the data to be used for training the KNN method

filtermethod

the method for feature selection

fitmethod

the fit function to be used

filtermethod.control

the set of parameters required by the feature selection function

...

parameters for the fitting function

Value

fit

The fitted model

filter

The output of the feature selection function

selectedfeatures

The character vector with all the selected features

usedFeatures

The set of features used for training

parameters

The parameters passed to the fitting method

asFactor

Indicates if the fitting was to a factor

classLen

The number of possible outcomes

Author(s)

Jose G. Tamez-Pena


FRESA.CAD documentation built on Jan. 13, 2021, 3:39 p.m.