MCPcopy Create free account

hub / github.com/astroautomata/PySR / functions

Functions356 in github.com/astroautomata/PySR

↓ 1 callersFunctioncreate_or_update_file
Create or update a file in repo on branch. Returns the commit SHA created by the contents API.
scripts/paper_image_sync.py:254
↓ 1 callersFunctioncreate_sympy_symbols
( feature_names_in: ArrayLike[str], )
pysr/export_sympy.py:83
↓ 1 callersFunctioncreate_sympy_symbols_map
( feature_names_in: ArrayLike[str], )
pysr/export_sympy.py:77
↓ 1 callersFunctionensure_branch
Ensure branch exists in repo, creating from base_branch if missing.
scripts/paper_image_sync.py:296
↓ 1 callersFunctiongenerate_table_environment
( columns: list[str] = ["equation", "complexity", "loss"] )
pysr/export_latex.py:30
↓ 1 callersFunctionget_object_from_path
Import and return the Python object at the given path.
docs/gen_api.py:33
↓ 1 callersMethodget_pkl_filename
(self)
pysr/sr.py:1484
↓ 1 callersFunctionget_pr_info
(repo: str, pr_number: int, token: str)
scripts/paper_image_sync.py:61
↓ 1 callersFunctioninit_julia
(*args, **kwargs)
pysr/deprecated.py:17
↓ 1 callersFunctioninstall
(*args, **kwargs)
pysr/deprecated.py:8
↓ 1 callersFunctionisinstalled
(uuid_s: str)
pysr/julia_extensions.py:51
↓ 1 callersFunctionjl_dict
(x)
pysr/julia_helpers.py:46
↓ 1 callersFunctionjl_named_tuple
(d)
pysr/julia_helpers.py:50
↓ 1 callersMethodjulia_expression_options
(self)
pysr/expression_specs.py:284
↓ 1 callersMethodjulia_expression_spec
(self)
pysr/expression_specs.py:90
↓ 1 callersFunctionlist_pr_files
(repo: str, pr_number: int, token: str)
scripts/paper_image_sync.py:78
↓ 1 callersFunctionload_all_packages
Install and load all Julia extensions available to PySR.
pysr/julia_extensions.py:36
↓ 1 callersFunctionmain
()
scripts/paper_image_sync.py:438
↓ 1 callersFunctionmain
()
scripts/validate_papers_yml.py:38
↓ 1 callersFunctionmain
Main entry point.
docs/gen_api.py:373
↓ 1 callersFunctionmain
Generate index.md from _index.md template and README.md content.
docs/gen_vitepress_index.py:63
↓ 1 callersFunctionmerge_trials
Merge two hyperopt trials objects :trials1: The primary trials object :trials2_slice: A slice of the trials object to be merged, obta
benchmarks/print_best_model.py:18
↓ 1 callersFunctionmulti_denoise
Perform `denoise` along each column of `y` independently.
pysr/denoising.py:33
↓ 1 callersFunctionopen_pr
Open a PR. If one already exists for (head->base), return its URL.
scripts/paper_image_sync.py:326
↓ 1 callersFunctionpr_has_existing_bot_comment
Return True if the paper-image bot has already commented on this PR. This is used to avoid posting a confusing warning when a user has already
scripts/paper_image_sync.py:96
↓ 1 callersFunctionprocess_markdown_file
Process a markdown file, replacing ::: directives with rendered docs.
docs/gen_api.py:326
↓ 1 callersFunctionprocess_readme_content
Extract main content from README.md for VitePress. Skips GitHub-specific elements (logo, title) and starts from first ## heading.
docs/gen_vitepress_index.py:9
↓ 1 callersFunctionprocess_readme_to_index
Convert README.md to index.md with VitePress syntax.
docs/gen_api.py:348
↓ 1 callersFunctionrender_api_doc
Render API documentation for a Python object.
docs/gen_api.py:188
↓ 1 callersFunctionresize_compress_image
Return (processed_bytes, output_ext). Policy: - Always output PNG (lossless) and strip alpha. - Any transparency is flattened onto a whit
scripts/paper_image_sync.py:141
↓ 1 callersFunctionruntests
Run all tests in cliTest.py.
pysr/test/test_cli.py:66
↓ 1 callersFunctionstr_param_groups
(param_groupings, params, cur_heading=2)
docs/gen_param_docs.py:23
↓ 1 callersFunctionsympy2jaxtext
(expr, parameters, symbols_in, extra_jax_mappings=None)
pysr/export_jax.py:58
↓ 1 callersFunctionsympy2multilatextable
Generate multiple latex tables for a list of equation sets.
pysr/export_latex.py:130
↓ 1 callersFunctionsympy2numpy
(eqn, sympy_symbols, *, selection=None)
pysr/export_numpy.py:13
↓ 1 callersFunctiontry_push_cleanup_commit
If PR is from same repo, push a cleanup commit to the PR branch. Returns commit SHA if pushed, else None.
scripts/paper_image_sync.py:383
↓ 1 callersFunctionwith_preamble
(table_string: str)
pysr/export_latex.py:158
↓ 1 callersMethodwrite_hparams
Write hyperparameters to the logger.
pysr/logger_specs.py:20
Method__call__
(self, X)
pysr/export_numpy.py:32
Method__call__
(self, X: np.ndarray, *args)
pysr/expression_specs.py:404
Method__getstate__
Handle pickle serialization for PySRRegressor. The Scikit-learn standard requires estimators to be serializable via `pickle.
pysr/sr.py:1415
Method__init__
( self, model_selection: Literal["best", "accuracy", "score"] = "best", *, bin
pysr/sr.py:948
Method__init__
( self, expression, symbols_in, selection=None, extra_funcs=None, **kwargs )
pysr/export_torch.py:161
Method__init__
(self, eqn, sympy_symbols, selection=None)
pysr/export_numpy.py:24
Method__init__
(self, settings=None, prec=3)
pysr/export_latex.py:13
Method__init__
( self, function_symbols: list[str], combine: str, num_features: dict[str, int
pysr/expression_specs.py:183
Method__init__
(self, max_parameters: int)
pysr/expression_specs.py:377
Method__init__
(self, expression)
pysr/expression_specs.py:401
Method__repr__
(self)
pysr/export_torch.py:178
Method__repr__
(self)
pysr/export_numpy.py:29
Function_add_package
()
pysr/julia_extensions.py:58
Function_ensure_no_complex_data
(*args, **kwargs)
pysr/sklearn_monkeypatch.py:6
Function_import_juliacall
()
pysr/julia_import.py:48
Function_install
(julia_project, quiet, precompile)
pysr/_cli/main.py:47
Method_print_Float
(self, expr)
pysr/export_latex.py:17
Function_tests
Run parts of the PySR test suite. Choose from main, jax, torch, autodiff, cli, dev, startup, and slurm. You can give multiple tests, separate
pysr/_cli/main.py:65
Functionbest
(*args, **kwargs)
pysr/deprecated.py:41
Functionbest_callable
(*args, **kwargs)
pysr/deprecated.py:72
Functionbest_row
(*args, **kwargs)
pysr/deprecated.py:51
Functionbest_tex
(*args, **kwargs)
pysr/deprecated.py:62
Methodclose
(self, logger: AnyValue)
pysr/logger_specs.py:83
Methodcos_approx
(x)
pysr/test/test_jax.py:124
Methodcos_approx
(x)
pysr/test/test_torch.py:225
Methodcreate_exports
Create additional columns in the equations dataframe.
pysr/expression_specs.py:56
Methodcreate_exports
( self, model: PySRRegressor, equations: pd.DataFrame, search_output,
pysr/expression_specs.py:308
Methodcreate_exports
( self, model: PySRRegressor, equations: pd.DataFrame, search_output,
pysr/expression_specs.py:389
Methodcreate_logger
(self)
pysr/logger_specs.py:49
Methodequation_file_
(self)
pysr/sr.py:1574
Methodequations
(self)
pysr/sr.py:1490
Methodevaluates_in_julia
(self)
pysr/expression_specs.py:67
Methodevaluates_in_julia
(self)
pysr/expression_specs.py:305
Methodevaluates_in_julia
(self)
pysr/expression_specs.py:386
Methodexpression_spec_
(self)
pysr/sr.py:1522
Methodfailing_operation
()
pysr/test/test_startup.py:169
Functionfn_
(*args)
pysr/export_torch.py:12
Methodforward
(self, memodict)
pysr/export_torch.py:147
Methodforward
(self, X)
pysr/export_torch.py:181
Functionget_runtests
()
pysr/test/test_cli.py:7
Methodjulia_expression_spec
The expression specification
pysr/expression_specs.py:51
Methodjulia_expression_spec
(self)
pysr/expression_specs.py:254
Methodjulia_expression_spec
(self)
pysr/expression_specs.py:380
Methodjulia_options_
The deserialized julia options.
pysr/sr.py:1499
Methodjulia_state_
The deserialized state.
pysr/sr.py:1504
Functionprocess_directive
Process a single ::: directive.
docs/gen_api.py:264
Functionpysr
(X, y, weights=None, **kwargs)
pysr/deprecated.py:27
Functionpysr
(context)
pysr/_cli/main.py:22
Methodraw_julia_state_
(self)
pysr/sr.py:1512
Functionreplace_details
(match)
docs/gen_api.py:358
Functionrun_trial
Evaluate the model loss using the hyperparams in args :args: A dictionary containing all hyperparameters :returns: Dict with status and loss
benchmarks/hyperparamopt.py:36
Functionruntests
(just_tests=False)
pysr/test/test_slurm.py:281
Functionruntests
(just_tests=False)
pysr/test/test_startup.py:226
Functionruntests
Run all tests in test_jax.py.
pysr/test/test_jax.py:153
Functionruntests
Run all tests in test.py.
pysr/test/test_main.py:2352
Functionruntests
Run all tests in test_autodiff.py.
pysr/test/test_autodiff.py:58
Functionruntests
Run all tests in test_torch.py.
pysr/test/test_torch.py:253
Functionruntests
(just_tests=False)
pysr/test/test_dev.py:51
MethodsetUp
(self)
pysr/test/test_slurm.py:26
MethodsetUp
(self)
pysr/test/test_cli.py:14
MethodsetUp
(self)
pysr/test/test_startup.py:22
MethodsetUp
(self)
pysr/test/test_startup.py:164
← previousnext →101–200 of 356, ranked by callers