Skip to content

Commit

Permalink
Update Salustowicz.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ludoro committed Aug 30, 2020
1 parent b5c56e4 commit 09d9f3e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/src/Salustowicz.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ Now, let's fit Salustowicz Function with different Surrogates:

```@example salustowicz1D
InverseDistance = InverseDistanceSurrogate(x, y, lower_bound, upper_bound)
randomforest_surrogate = RandomForestSurrogate(x ,y ,lower_bound, upper_bound, num_round = 2)
lobachevsky_surrogate = LobacheskySurrogate(x, y, lower_bound, upper_bound, alpha = 2.0, n = 6)
scatter(x, y, label="Sampled points", xlims=(lower_bound, upper_bound), legend=:topright)
plot!(xs, salustowicz.(xs), label="True function", legend=:topright)
plot!(xs, InverseDistance.(xs), label="InverseDistanceSurrogate", legend=:topright)
plot!(xs, randomforest_surrogate.(xs), label="RandomForest", legend=:topright)
plot!(xs, lobachevsky_surrogate.(xs), label="Lobachesky", legend=:topright)
```

Expand Down

0 comments on commit 09d9f3e

Please sign in to comment.