Skip to content

Commit

Permalink
Merge 622c1b9 into 3565353
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jul 28, 2023
2 parents 3565353 + 622c1b9 commit 55a8910
Show file tree
Hide file tree
Showing 6 changed files with 351 additions and 41 deletions.
2 changes: 1 addition & 1 deletion docs/gen_param_docs.py
Expand Up @@ -53,7 +53,7 @@ def str_param_groups(param_groupings, params, cur_heading=2):
if __name__ == "__main__":
# This is the path to the param_groupings.yml file
# relative to the current file.
path = "param_groupings.yml"
path = "../pysr/param_groupings.yml"
with open(path, "r") as f:
param_groupings = safe_load(f)

Expand Down
4 changes: 2 additions & 2 deletions pysr/julia_helpers.py
Expand Up @@ -259,15 +259,15 @@ def init_julia(julia_project=None, quiet=False, julia_kwargs=None, return_aux=Fa

def _add_sr_to_julia_project(Main, io_arg):
Main.eval("using Pkg")
Main.eval("Pkg.Registry.update()")
Main.sr_spec = Main.PackageSpec(
name="SymbolicRegression",
url="https://github.com/MilesCranmer/SymbolicRegression.jl",
rev="v" + __symbolic_regression_jl_version__,
)
Main.clustermanagers_spec = Main.PackageSpec(
name="ClusterManagers",
url="https://github.com/JuliaParallel/ClusterManagers.jl",
rev="14e7302f068794099344d5d93f71979aaf4fbeb3",
version="0.4",
)
Main.eval(f"Pkg.add([sr_spec, clustermanagers_spec], {io_arg})")

Expand Down
3 changes: 3 additions & 0 deletions docs/param_groupings.yml → pysr/param_groupings.yml
Expand Up @@ -13,6 +13,7 @@
- loss
- full_objective
- model_selection
- dimensional_constraint_penalty
- Working with Complexities:
- parsimony
- constraints
Expand Down Expand Up @@ -72,12 +73,14 @@
- fast_cycle
- turbo
- enable_autodiff
- Determinism:
- random_state
- deterministic
- warm_start
- Monitoring:
- verbosity
- update_verbosity
- print_precision
- progress
- Environment:
- temp_equation_file
Expand Down

0 comments on commit 55a8910

Please sign in to comment.