Skip to content

Commit e8f9879

Browse files
MilesCranmerMilesCranmerBot
authored andcommitted
chore: update repository links after org migration (#1215)
1 parent c64ab94 commit e8f9879

15 files changed

Lines changed: 31 additions & 31 deletions

File tree

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: true
22
contact_links:
33
- name: PySR Forums
4-
url: https://github.com/MilesCranmer/PySR/discussions
4+
url: https://github.com/astroautomata/PySR/discussions
55
about: Please ask and answer questions about how to use PySR here.

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ body:
1818
- type: markdown
1919
attributes:
2020
value: |
21-
Be sure to check out the [PySR forums](https://github.com/MilesCranmer/PySR/discussions) to chat with other users about PySR use-cases!
21+
Be sure to check out the [PySR forums](https://github.com/astroautomata/PySR/discussions) to chat with other users about PySR use-cases!

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
uses: codecov/codecov-action@v5
8787
with:
8888
token: ${{ secrets.CODECOV_TOKEN }}
89-
slug: MilesCranmer/PySR
89+
slug: astroautomata/PySR
9090

9191
dev_install:
9292
runs-on: ${{ matrix.os }}

.github/workflows/update_backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id: get-latest
2323
run: |
2424
cd $(mktemp -d)
25-
git clone https://github.com/MilesCranmer/SymbolicRegression.jl
25+
git clone https://github.com/astroautomata/SymbolicRegression.jl
2626
cd SymbolicRegression.jl
2727
echo "version=$(git describe --tags --match='v*' --abbrev=0 | sed 's/^v//')" >> $GITHUB_OUTPUT
2828
@@ -44,7 +44,7 @@ jobs:
4444
body: |
4545
This PR was automatically generated by the GitHub Action `.github/workflows/update-backend.yml`
4646
47-
It updates the backend version to v${{ steps.get-latest.outputs.version }}. For a full description of the changes, see the backend changelog: [v${{ steps.get-latest.outputs.version }}](https://github.com/MilesCranmer/SymbolicRegression.jl/releases/tag/v${{ steps.get-latest.outputs.version }}).
47+
It updates the backend version to v${{ steps.get-latest.outputs.version }}. For a full description of the changes, see the backend changelog: [v${{ steps.get-latest.outputs.version }}](https://github.com/astroautomata/SymbolicRegression.jl/releases/tag/v${{ steps.get-latest.outputs.version }}).
4848
delete-branch: true
4949
commit-message: "Update backend version to v${{ steps.get-latest.outputs.version }}"
5050
add-paths: |

CONTRIBUTORS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Here are some resources to help you get started with open source contributions i
1818

1919
#### Create a new issue
2020

21-
If you spot a problem with PySR, [search if an issue already exists](https://docs.github.com/en/github/searching-for-information-on-github/searching-on-github/searching-issues-and-pull-requests#search-by-the-title-body-or-comments). If a related issue doesn't exist, you can open a new issue using a relevant [issue form](https://github.com/MilesCranmer/PySR/issues/new/choose).
21+
If you spot a problem with PySR, [search if an issue already exists](https://docs.github.com/en/github/searching-for-information-on-github/searching-on-github/searching-issues-and-pull-requests#search-by-the-title-body-or-comments). If a related issue doesn't exist, you can open a new issue using a relevant [issue form](https://github.com/astroautomata/PySR/issues/new/choose).
2222

2323
#### Solve an issue
2424

25-
Scan through our [existing issues](https://github.com/MilesCranmer/PySR/issues) to find one that interests you (feel free to work on any!). You can narrow down the search using `labels` as filters. See [Labels](/contributing/how-to-use-labels.md) for more information. If you find an issue to work on, you are welcome to open a PR with a fix.
25+
Scan through our [existing issues](https://github.com/astroautomata/PySR/issues) to find one that interests you (feel free to work on any!). You can narrow down the search using `labels` as filters. See [Labels](/contributing/how-to-use-labels.md) for more information. If you find an issue to work on, you are welcome to open a PR with a fix.
2626

2727
### Make Changes
2828

@@ -40,7 +40,7 @@ Scan through our [existing issues](https://github.com/MilesCranmer/PySR/issues)
4040

4141
3. (Optional) If you would like to make changes to PySR itself, skip to step 4. However, if you are interested in making changes to the _symbolic regression code_ itself,
4242
check out the [guide](https://ai.damtp.cam.ac.uk/pysr/backend/) on modifying a custom SymbolicRegression.jl library.
43-
In this case, you might instead be interested in making suggestions to the [SymbolicRegression.jl](http://github.com/MilesCranmer/SymbolicRegression.jl) library.
43+
In this case, you might instead be interested in making suggestions to the [SymbolicRegression.jl](https://github.com/astroautomata/SymbolicRegression.jl) library.
4444

4545
4. You can install your local version of PySR with `pip install -e '.[dev]'`, and run tests with `python -m pysr test main`.
4646

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
PySR searches for symbolic expressions which optimize a particular objective.
66

7-
https://github.com/MilesCranmer/PySR/assets/7593028/c8511a49-b408-488f-8f18-b1749078268f
7+
https://github.com/astroautomata/PySR/assets/7593028/c8511a49-b408-488f-8f18-b1749078268f
88

99

1010
# PySR: High-Performance Symbolic Regression in Python and Julia
1111

1212
| **Docs** | **Forums** | **Paper** | **colab demo** |
1313
|:---:|:---:|:---:|:---:|
14-
|[![Documentation](https://github.com/MilesCranmer/PySR/actions/workflows/docs.yml/badge.svg)](https://ai.damtp.cam.ac.uk/pysr/)|[![Discussions](https://img.shields.io/badge/discussions-github-informational)](https://github.com/MilesCranmer/PySR/discussions)|[![Paper](https://img.shields.io/badge/arXiv-2305.01582-b31b1b)](https://arxiv.org/abs/2305.01582)|[![Colab](https://img.shields.io/badge/colab-notebook-yellow)](https://colab.research.google.com/github/MilesCranmer/PySR/blob/master/examples/pysr_demo.ipynb)|
14+
|[![Documentation](https://github.com/astroautomata/PySR/actions/workflows/docs.yml/badge.svg)](https://ai.damtp.cam.ac.uk/pysr/)|[![Discussions](https://img.shields.io/badge/discussions-github-informational)](https://github.com/astroautomata/PySR/discussions)|[![Paper](https://img.shields.io/badge/arXiv-2305.01582-b31b1b)](https://arxiv.org/abs/2305.01582)|[![Colab](https://img.shields.io/badge/colab-notebook-yellow)](https://colab.research.google.com/github/astroautomata/PySR/blob/master/examples/pysr_demo.ipynb)|
1515

1616
| **pip** | **conda** | **Stats** |
1717
| :---: | :---: | :---: |
@@ -36,9 +36,9 @@ If you've finished a project with PySR, please submit a PR to showcase your work
3636

3737
| **Linux** | **Windows** | **macOS** |
3838
|---|---|---|
39-
|[![Linux](https://github.com/MilesCranmer/PySR/actions/workflows/CI.yml/badge.svg)](https://github.com/MilesCranmer/PySR/actions/workflows/CI.yml)|[![Windows](https://github.com/MilesCranmer/PySR/actions/workflows/CI_Windows.yml/badge.svg)](https://github.com/MilesCranmer/PySR/actions/workflows/CI_Windows.yml)|[![macOS](https://github.com/MilesCranmer/PySR/actions/workflows/CI_mac.yml/badge.svg)](https://github.com/MilesCranmer/PySR/actions/workflows/CI_mac.yml)|
39+
|[![Linux](https://github.com/astroautomata/PySR/actions/workflows/CI.yml/badge.svg)](https://github.com/astroautomata/PySR/actions/workflows/CI.yml)|[![Windows](https://github.com/astroautomata/PySR/actions/workflows/CI_Windows.yml/badge.svg)](https://github.com/astroautomata/PySR/actions/workflows/CI_Windows.yml)|[![macOS](https://github.com/astroautomata/PySR/actions/workflows/CI_mac.yml/badge.svg)](https://github.com/astroautomata/PySR/actions/workflows/CI_mac.yml)|
4040
| **Docker** | **Conda** | **Coverage** |
41-
|[![Docker](https://github.com/MilesCranmer/PySR/actions/workflows/CI_docker.yml/badge.svg)](https://github.com/MilesCranmer/PySR/actions/workflows/CI_docker.yml)|[![conda-forge](https://github.com/MilesCranmer/PySR/actions/workflows/CI_conda_forge.yml/badge.svg)](https://github.com/MilesCranmer/PySR/actions/workflows/CI_conda_forge.yml)|[![codecov](https://codecov.io/gh/MilesCranmer/PySR/branch/master/graph/badge.svg)](https://codecov.io/gh/MilesCranmer/PySR)|
41+
|[![Docker](https://github.com/astroautomata/PySR/actions/workflows/CI_docker.yml/badge.svg)](https://github.com/astroautomata/PySR/actions/workflows/CI_docker.yml)|[![conda-forge](https://github.com/astroautomata/PySR/actions/workflows/CI_conda_forge.yml/badge.svg)](https://github.com/astroautomata/PySR/actions/workflows/CI_conda_forge.yml)|[![codecov](https://codecov.io/gh/astroautomata/PySR/branch/master/graph/badge.svg)](https://codecov.io/gh/astroautomata/PySR)|
4242

4343
</div>
4444

@@ -50,7 +50,7 @@ task where the goal is to find an interpretable symbolic expression that optimiz
5050
Over a period of several years, PySR has been engineered from the ground up
5151
to be (1) as high-performance as possible,
5252
(2) as configurable as possible, and (3) easy to use.
53-
PySR is developed alongside the Julia library [SymbolicRegression.jl](https://github.com/MilesCranmer/SymbolicRegression.jl),
53+
PySR is developed alongside the Julia library [SymbolicRegression.jl](https://github.com/astroautomata/SymbolicRegression.jl),
5454
which forms the powerful search engine of PySR.
5555
The details of these algorithms are described in the [PySR paper](https://arxiv.org/abs/2305.01582).
5656

@@ -155,7 +155,7 @@ to your `.bashrc` or `.zshrc` file.
155155

156156
## Quickstart
157157

158-
You might wish to try the interactive tutorial [here](https://colab.research.google.com/github/MilesCranmer/PySR/blob/master/examples/pysr_demo.ipynb), which uses the notebook in `examples/pysr_demo.ipynb`.
158+
You might wish to try the interactive tutorial [here](https://colab.research.google.com/github/astroautomata/PySR/blob/master/examples/pysr_demo.ipynb), which uses the notebook in `examples/pysr_demo.ipynb`.
159159

160160
In practice, I highly recommend using IPython rather than Jupyter, as the printing is much nicer.
161161
Below is a quick demo here which you can paste into a Python runtime.
@@ -370,8 +370,8 @@ before the `build` and `run` commands.
370370

371371
</div>
372372

373-
We are eager to welcome new contributors! Check out our contributors [guide](https://github.com/MilesCranmer/PySR/blob/master/CONTRIBUTORS.md) for tips 🚀.
374-
If you have an idea for a new feature, don't hesitate to share it on the [issues](https://github.com/MilesCranmer/PySR/issues) or [discussions](https://github.com/MilesCranmer/PySR/discussions) page.
373+
We are eager to welcome new contributors! Check out our contributors [guide](https://github.com/astroautomata/PySR/blob/master/CONTRIBUTORS.md) for tips 🚀.
374+
If you have an idea for a new feature, don't hesitate to share it on the [issues](https://github.com/astroautomata/PySR/issues) or [discussions](https://github.com/astroautomata/PySR/discussions) page.
375375

376376
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
377377
<!-- prettier-ignore-start -->

docs/all_contributors/.all-contributorsrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"projectName": "PySR",
3-
"projectOwner": "MilesCranmer",
3+
"projectOwner": "astroautomata",
44
"repoType": "github",
55
"repoHost": "https://github.com",
66
"files": [

docs/all_contributors/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "PySR",
33
"version": "1.0.0",
44
"main": "index.js",
5-
"repository": "git@github.com:MilesCranmer/PySR.git",
5+
"repository": "git@github.com:astroautomata/PySR.git",
66
"author": "MilesCranmer <miles.cranmer@gmail.com>",
77
"license": "Apache-2.0",
88
"devDependencies": {

docs/backend.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Customization
22

33
If you have explored the [options](options.md) and [PySRRegressor reference](api.md), and still haven't figured out how to specify a constraint or objective required for your problem, you might consider editing the backend.
4-
The backend of PySR is written as a pure Julia package under the name [SymbolicRegression.jl](https://github.com/MilesCranmer/SymbolicRegression.jl).
4+
The backend of PySR is written as a pure Julia package under the name [SymbolicRegression.jl](https://github.com/astroautomata/SymbolicRegression.jl).
55
This package is accessed with [`juliacall`](https://github.com/JuliaPy/PythonCall.jl), which allows us to transfer objects back and forth between the Python and Julia runtimes.
66

77
PySR gives you access to everything in SymbolicRegression.jl, but there are some specific use-cases which require modifications to the backend itself.
@@ -12,8 +12,8 @@ Generally you can do this as follows:
1212
Clone a copy of the backend as well as PySR:
1313

1414
```bash
15-
git clone https://github.com/MilesCranmer/SymbolicRegression.jl
16-
git clone https://github.com/MilesCranmer/PySR
15+
git clone https://github.com/astroautomata/SymbolicRegression.jl
16+
git clone https://github.com/astroautomata/PySR
1717
```
1818

1919
You may wish to check out the specific versions, which you can do with:
@@ -36,11 +36,11 @@ Here are some tips:
3636
- The documentation for the backend is given [here](https://ai.damtp.cam.ac.uk/symbolicregression/dev/).
3737
- Throughout the package, you will often see template functions which typically use a symbol `T` (such as in the string `where {T<:Real}`). Here, `T` is simply the datatype of the input data and stored constants, such as `Float32` or `Float64`. Writing functions in this way lets us write functions generic to types, while still having access to the specific type specified at compilation time.
3838
- Expressions are stored as binary trees, using the `Node{T}` type, described [here](https://ai.damtp.cam.ac.uk/symbolicregression/dev/types/#SymbolicRegression.CoreModule.EquationModule.Node).
39-
- For reference, the main loop itself is found in the `equation_search` function inside [`src/SymbolicRegression.jl`](https://github.com/MilesCranmer/SymbolicRegression.jl/blob/master/src/SymbolicRegression.jl).
39+
- For reference, the main loop itself is found in the `equation_search` function inside [`src/SymbolicRegression.jl`](https://github.com/astroautomata/SymbolicRegression.jl/blob/master/src/SymbolicRegression.jl).
4040
- Parts of the code which are typically edited by users include:
41-
- [`src/CheckConstraints.jl`](https://github.com/MilesCranmer/SymbolicRegression.jl/blob/master/src/CheckConstraints.jl), particularly the function `check_constraints`. This function checks whether a given expression satisfies constraints, such as having a complexity lower than `maxsize`, and whether it contains any forbidden nestings of functions.
41+
- [`src/CheckConstraints.jl`](https://github.com/astroautomata/SymbolicRegression.jl/blob/master/src/CheckConstraints.jl), particularly the function `check_constraints`. This function checks whether a given expression satisfies constraints, such as having a complexity lower than `maxsize`, and whether it contains any forbidden nestings of functions.
4242
- Note that all expressions, *even intermediate expressions*, must comply with constraints. Therefore, make sure that evolution can still reach your desired expression (with one mutation at a time), before setting a hard constraint. In other cases you might want to instead put in the loss function.
43-
- [`src/Options.jl`](https://github.com/MilesCranmer/SymbolicRegression.jl/blob/master/src/Options.jl), as well as the struct definition in [`src/OptionsStruct.jl`](https://github.com/MilesCranmer/SymbolicRegression.jl/blob/master/src/OptionsStruct.jl). This file specifies all the options used in the search: an instance of `Options` is typically available throughout every function in `SymbolicRegression.jl`. If you add new functionality to the backend, and wish to make it parameterizable (including from PySR), you should specify it in the options.
43+
- [`src/Options.jl`](https://github.com/astroautomata/SymbolicRegression.jl/blob/master/src/Options.jl), as well as the struct definition in [`src/OptionsStruct.jl`](https://github.com/astroautomata/SymbolicRegression.jl/blob/master/src/OptionsStruct.jl). This file specifies all the options used in the search: an instance of `Options` is typically available throughout every function in `SymbolicRegression.jl`. If you add new functionality to the backend, and wish to make it parameterizable (including from PySR), you should specify it in the options.
4444

4545
## 3. Let PySR use the modified backend
4646

docs/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ If all goes well, you should find that it predicts the correct input equation, w
175175

176176
## 7. Julia packages and types
177177

178-
PySR uses [SymbolicRegression.jl](https://github.com/MilesCranmer/SymbolicRegression.jl)
178+
PySR uses [SymbolicRegression.jl](https://github.com/astroautomata/SymbolicRegression.jl)
179179
as its search backend. This is a pure Julia package, and so can interface easily with any other
180180
Julia package.
181181
For some tasks, it may be necessary to load such a package.

0 commit comments

Comments
 (0)