Skip to content

Commit

Permalink
more doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Apr 3, 2020
1 parent da4692a commit b7c6d24
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ In setting up a tuning task, the user constructs an instance of the

### Implementation requirements for new tuning strategies

As sample implemenations, see [/src/strategies/](/src/strategies)
As sample implementations, see [/src/strategies/](/src/strategies)

#### Summary of functions

Expand Down
20 changes: 12 additions & 8 deletions src/strategies/random_search.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@ field of a `TunedModel` instance can be:
- a single one-dimensional range (`ParamRange` object) `r`
- a pair of the form `(r, d)`, with `r` as above and where `d` is a
probability vector of the same length as `r.values`, if `r` is a
`NominalRange`, and is otherwise: (i) any
`Distributions.UnivariateDistribution` *instance*; or (ii) one of
the *subtypes* of `Distributions.UnivariateDistribution` listed in
the table below, for automatic fitting using `Distributions.fit(d,
r)` (a distribution whose support always lies between `r.lower` and
`r.upper`.)
- a pair of the form `(r, d)`, with `r` as above and where `d` is:
- a probability vector of the same length as `r.values` (`r` a
`NominalRange`)
- any `Distributions.UnivariateDistribution` *instance* (`r` a
`NumericRange`)
- one of the *subtypes* of `Distributions.UnivariateDistribution`
listed in the table below, for automatic fitting using
`Distributions.fit(d, r)`, a distribution whose support always
lies between `r.lower` and `r.upper` (`r` a `NumericRange`)
- any pair of the form `(field, s)`, where `field` is the (possibly
nested) name of a field of the model to be tuned, and `s` an
Expand Down

0 comments on commit b7c6d24

Please sign in to comment.