Skip to content

Commit

Permalink
Merge pull request #153 from TeAmP0is0N/fixing-docstrings
Browse files Browse the repository at this point in the history
Fixing docstrings
  • Loading branch information
ludoro committed Jun 14, 2020
2 parents 630daa6 + 9893d7b commit 07addeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/surrogate.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LinearSurrogate(x,y,lb,ub)

* Radial basis function surrogate
```@docs
RadialBasis(x,y,bounds,phi::Function,q::Int)
RadialBasis(x, y, lb, ub; rad::RadialFunction = linearRadial, scale_factor::Real=1.0, sparse = false)
```

* Kriging surrogate
Expand All @@ -24,13 +24,13 @@ Kriging(x,y,p,theta)

* Lobachesky surrogate
```@docs
LobacheskySurrogate(x,y,alpha,n::Int,lb,ub)
LobacheskySurrogate(x,y,lb,ub; alpha = collect(one.(x[1])),n::Int = 4, sparse = false)
lobachesky_integral(loba::LobacheskySurrogate,lb,ub)
```

* Support vector machine surrogate, requires `using LIBSVM`
```@docs
SVMSurrogate(x,y,lb,ub)
SVMSurrogate(x,y,lb::Number,ub::Number)
```

* Random forest surrogate, requires `using XGBoost`
Expand Down

0 comments on commit 07addeb

Please sign in to comment.