View source: R/selectGeneBenchmark.R
predictSelectTime | R Documentation |
Predict the time use of a selection method for a popsize.
predictSelectTime(df, method = "Uniform", popsize = 1e+05)
df |
Data frame. |
method |
Selection method. |
popsize |
Population size. |
List with
$model
: The result of stats::lm
.
$predict
: The result of stats::predict
.
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).
Other Benchmark Selection Functions:
runOneBenchmark()
,
runSelectBenchmarks()
,
selectBenchmark()
,
testSelectGene()
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.