Description Usage Arguments Value
View source: R/estimate_program.R
Create a fitness function to estimate a program (R function)
1 | create_fit_func(loss_function, X, y, parallel)
|
loss_function |
function resulting from a call to
|
X |
model.matrix |
y |
outcome |
parallel |
Optional Logical vector length one. Default is |
Returns a function that takes in a function as an argument and then
assigns it a numeric fitness value we want to minimize. Use this in
estimate_program
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.