Skip to content

Commit

Permalink
Merge pull request #432 from mortenpi/patch-1
Browse files Browse the repository at this point in the history
Fix equation formatting in the manual
  • Loading branch information
ChrisRackauckas authored Sep 22, 2023
2 parents 8b8c54b + 1e77ff2 commit 55def82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/LinearSurrogate.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Linear Surrogate
Linear Surrogate is a linear approach to modeling the relationship between a scalar response or dependent variable and one or more explanatory variables. We will use Linear Surrogate to optimize following function:

$f(x) = sin(x) + log(x)$.
$f(x) = \sin(x) + \log(x)$

First of all we have to import these two packages: `Surrogates` and `Plots`.

Expand Down
4 changes: 3 additions & 1 deletion docs/src/radials.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## Radial Surrogates
The Radial Basis Surrogate model represents the interpolating function as a linear combination of basis functions, one for each training point. Let's start with something easy to get our hands dirty. I want to build a surrogate for:

`f(x) = log(x)*x^2+x^3``
```math
f(x) = \log(x) \cdot x^2+x^3
```

Let's choose the Radial Basis Surrogate for 1D. First of all we have to import these two packages: `Surrogates` and `Plots`,

Expand Down

0 comments on commit 55def82

Please sign in to comment.