StrataFit: Stratified fit of datasets

View source: R/FRESAModelingFunctions.R

StrataFitR Documentation

Stratified fit of datasets

Description

strata-wise fitting of models. The function will model the strata to predict non-labeled data sets

Usage

StrataFit(formula = formula, 
			data=NULL, 
			strataFitMethod=filteredFit, 
			targetFitMethod=LASSO_1SE,
			strataFit.control=NULL,
			...
		  )

Arguments

formula

the base formula to extract the outcome

data

the data to be used for training the method

strataFitMethod

the classification modeling function for the strata

targetFitMethod

The classification modeling for the target

strataFit.control

the parameters to the strata fitting.

...

parameters for the classification function

Value

fit_strata

The strata modeling

fit_target

A list of fitting models per strata

theclasses

The labels of the strata

Author(s)

Jose G. Tamez-Pena


joseTamezPena/FRESA.CAD documentation built on Feb. 13, 2025, 1:37 a.m.