predictSelectTime: Predict the time use of a selection method for a popsize.

View source: R/selectGeneBenchmark.R

predictSelectTimeR Documentation

Predict the time use of a selection method for a popsize.

Description

Predict the time use of a selection method for a popsize.

Usage

predictSelectTime(df, method = "Uniform", popsize = 1e+05)

Arguments

df

Data frame.

method

Selection method.

popsize

Population size.

Value

List with

  • $model: The result of stats::lm.

  • $predict: The result of stats::predict.

Warning

Uses a quadratic regression model. But the complexities of the functions are of orders O(1), O(n), O(n.ln(n)) and O(n^2).

See Also

Other Benchmark Selection Functions: runOneBenchmark(), runSelectBenchmarks(), selectBenchmark(), testSelectGene()

Examples

popsizes<-as.integer(seq(from=100, to=200, length.out=5))
a<-runSelectBenchmarks(popsizes, both=TRUE)
b<-predictSelectTime(a, method="SUS", 155)
summary(b$model)
b$predicted
c<- predictSelectTime(a, method="SUS  C", c(155, 500))
summary(c$model)
c$predicted

xegaSelectGene documentation built on April 16, 2025, 5:12 p.m.