tronco.kfold.eloss: tronco.kfold.eloss

View source: R/statistics.R

tronco.kfold.elossR Documentation

tronco.kfold.eloss

Description

Perform a k-fold cross-validation using the function bn.cv to estimate the entropy loss. For details and examples regarding the statistical assesment of an inferred model, we refer to the Vignette Section 7.

Usage

tronco.kfold.eloss(
  x,
  models = names(as.models(x)),
  runs = 10,
  k = 10,
  silent = FALSE
)

Arguments

x

A reconstructed model (the output of tronco.capri or tronco.caprese)

models

The names of the selected regularizers (bic, aic or caprese)

runs

a positive integer number, the number of times cross-validation will be run

k

a positive integer number, the number of groups into which the data will be split

silent

A parameter to disable/enable verbose messages.

Examples

data(test_model)
tronco.kfold.eloss(test_model, k = 2, runs = 2)


BIMIB-DISCo/TRONCO documentation built on March 31, 2024, 9:20 p.m.