citrus.thresholdCVs: Calculate model error rates

Description Usage Arguments Details Value Author(s)

View source: R/citrus.model.R

Description

Calculate model error rates at different regularization thresholds.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
citrus.thresholdCVs.quick.classification(
  modelType,
  features,
  labels,
  regularizationThresholds,
  nCVFolds = 10,
  ...
)

citrus.thresholdCVs.quick.continuous(
  modelType,
  features,
  labels,
  regularizationThresholds,
  nCVFolds = 10,
  ...
)

citrus.thresholdCVs(
  modelType,
  foldFeatures,
  labels,
  regularizationThresholds,
  family,
  folds,
  foldModels,
  leftoutFeatures,
  ...
)

citrus.thresholdCVs.quick(
  modelType,
  features,
  labels,
  regularizationThresholds,
  family,
  nCVFolds = 10,
  ...
)

Arguments

modelType

Type of model to be constructed. Valid options are: pamr and glmnet.

features

Features calculated from a clustering of all samples.

labels

Endpoint labels of clustered samples.

regularizationThresholds

Thresholds for model regularization.

nCVFolds

Number of folds for quick cross-validation.

...

Other parameters passsed to model-fitting methods.

foldFeatures

List of features with each entry containing features from an independent clustering.

family

Model family. Valid options are classification and continuous.

folds

List of fold indices

foldModels

Models constructed from each fold of features.

leftoutFeatures

Features calculated for leftout samples mapped to clustered data space.

Details

If independent fold-clustering and fold-features are calculated, use citrus.thresholdCVs. If features are derived from a clustering of all samples together, use citrus.thresholdCVs.quick. See examples.

Value

Matrix of model error rates, standard error of error estimates, and false discovery rates (if possible) at supplied regularization thresholds.

Author(s)

Robert Bruggner


ParkerICI/kumquat documentation built on Dec. 18, 2021, 6:40 a.m.