SRTestRegressor
SRTestRegressorA model type for constructing a Symbolic Regression via Evolutionary Search, based on SymbolicRegression.jl, and implementing the MLJ model interface.
From MLJ, the type can be imported using
SRTestRegressor = @load SRTestRegressor pkg=SymbolicRegressionDo model = SRTestRegressor() to construct an instance with default hyper-parameters. Provide keyword arguments to override hyper-parameter defaults, as in SRTestRegressor(defaults=...).
Hyper-parameters
defaults = nothingbinary_operators = nothingunary_operators = nothingmaxsize = nothingmaxdepth = nothingexpression_spec = nothingpopulations = nothingpopulation_size = nothingncycles_per_iteration = nothingelementwise_loss = nothingloss_function = nothingloss_function_expression = nothingdimensional_constraint_penalty = nothingparsimony = nothingconstraints = nothingnested_constraints = nothingcomplexity_of_operators = nothingcomplexity_of_constants = nothingcomplexity_of_variables = nothingwarmup_maxsize_by = nothingadaptive_parsimony_scaling = nothingoperator_enum_constructor = nothingmutation_weights = nothingcrossover_probability = nothingannealing = nothingalpha = nothingtournament_selection_n = nothingtournament_selection_p = nothingearly_stop_condition = nothingbatching = nothingbatch_size = nothingdimensionless_constants_only = falseloss_scale = logcomplexity_mapping = nothinguse_frequency = trueuse_frequency_in_tournament = trueshould_simplify = nothingperturbation_factor = nothingprobability_negate_constant = nothingskip_mutation_failures = trueoptimizer_algorithm = Optim.BFGS{LineSearches.InitialStatic{Float64}, LineSearches.BackTracking{Float64, Int64}, Nothing, Nothing, Optim.Flat}(LineSearches.InitialStatic{Float64}(1.0, false), LineSearches.BackTracking{Float64, Int64}(0.0001, 0.5, 0.1, 1000, 3, Inf, nothing), nothing, nothing, Optim.Flat())optimizer_nrestarts = 2optimizer_probability = 0.14optimizer_iterations = nothingoptimizer_f_calls_limit = nothingoptimizer_options = nothingshould_optimize_constants = truemigration = truehof_migration = truefraction_replaced = nothingfraction_replaced_hof = nothingtopn = nothingtimeout_in_seconds = nothingmax_evals = nothinginput_stream = Base.DevNull()turbo = falsebumper = falseautodiff_backend = nothingdeterministic = falseseed = nothingverbosity = nothingprint_precision = 5progress = nothingoutput_directory = nothingsave_to_file = truebin_constraints = nothinguna_constraints = nothingterminal_width = nothinguse_recorder = falserecorder_file = pysr_recorder.jsondefine_helper_functions = trueexpression_type = nothingexpression_options = nothingnode_type = nothingoutput_file = nothingfast_cycle = falsenpopulations = nothingnpop = nothingniterations = 1parallelism = multithreadingnumprocs = nothingprocs = nothingaddprocs_function = nothingheap_size_hint_in_bytes = nothingworker_imports = nothinglogger = nothingruntests = truerun_id = nothingloss_type = Nothingselection_method = choose_bestdimensions_type = DynamicQuantities.SymbolicDimensions{DynamicQuantities.FRInt32}