Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
Combinations_of_variables_model_evaluation Class Reference

Public Member Functions

def __init__ (self, estimator, X, y, max_order, per_model_analysis, nb_folds=10, nb_repeats=100, nb_pval_permutations=0, nb_process=1)
 
def evaluate_models (self)
 

Detailed Description

Builds, evaluates and ranks statistical models from a set of variables.

Given an estimator (linear regression, knn classifier, ...) and a dataset consisting of features or dependent variables and a response or dependent variable, this class does three things:

– 1) Generate all combinations of independent variables up to a certain size.

– 2) Reports the predictions obtained through multiple rounds of cross-validation.

– 3) Reports statistics about predictions for every combination of variables using a provided custom class.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  estimator,
  X,
  y,
  max_order,
  per_model_analysis,
  nb_folds = 10,
  nb_repeats = 100,
  nb_pval_permutations = 0,
  nb_process = 1 
)

Member Function Documentation

◆ evaluate_models()

def evaluate_models (   self)