Skip to content

Commit a8bd75b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9af585f commit a8bd75b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ spec = TemplateExpressionSpec(
157157
)
158158
```
159159

160-
This will learn an equation of the form:
160+
This will learn an equation of the form:
161161
$$y = \alpha_c\,f(x_1,x_2) + \beta g(x_1 ^2)$$
162162
where $c$ is the category, $\alpha_c$ is a learned parameter specific to each category, and $\beta$ is a normal scalar category. Note that **unlike ParametricExpressionSpec**, this feature of TemplateExpressionSpec would have you pass the `category` variable _in_ `X` rather than as a category keyword (floating point versions of the categories). This difference means that in a TemplateExpressionSpec, you can actually have _multiple_ categories!
163163

@@ -175,12 +175,12 @@ where $c$ is the category, $\alpha_c$ is a learned parameter specific to each ca
175175
### New:
176176
spec = TemplateExpressionSpec(
177177
"sin(f(x1, x2)) + g(x3)"
178-
expressions=["f", "g"],
178+
expressions=["f", "g"],
179179
variable_names=["x1", "x2", "x3"],
180180
)
181181
```
182182

183-
183+
184184
**Full Changelog:** [v1.3.1...v1.4.0](https://github.com/MilesCranmer/PySR/compare/v1.3.1...v1.4.0)
185185

186186
## [1.3.1] (2024-12-27)
@@ -332,7 +332,7 @@ The default hyperparameters have been significantly revised based on testing:
332332

333333
- New output organization: Results are now stored in `outputs/<run_id>/` rather than in the directory of execution.
334334
- Improved performance with better parallelism handling
335-
- Support for Python 3.10+
335+
- Support for Python 3.10+
336336
- Updated Julia backend to version 1.10+
337337
- Fix for aliasing issues in crossover operations
338338

0 commit comments

Comments
 (0)