Performs symbolic search with weighted least squares.
symbolic_search_weighted(
target,
predictors,
weights,
operators = NULL,
constraints = NULL,
n_runs = 3,
complexity_penalty = 0.05,
verbose = TRUE
)A symbolic_search_result object
Numeric vector of target values (typically derivatives).
Data frame of predictor variables.
Optional weight vector for weighted regression.
List specifying allowed operators:
binary: c("+", "-", "*", "/")
unary: c("exp", "log", "sqrt", "inv", "square")
custom: Custom function names (must be defined)
List of constraints:
forced: Formula of terms that must appear
forbidden: Formula of terms that must not appear
max_complexity: Maximum expression complexity
Number of independent runs for robustness.
Penalty per unit complexity.
Print progress messages?