You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Tuning strategy components
I think it what a tuning strategy entails could be stated explicitly
* Update A-model-tuning.jl
Incorporating @abloam's suggestion for the description of the tuning strategy.
* Update A-model-tuning.jl
* Update A-model-tuning.jl
Co-authored-by: gd1989 <[email protected]>
Co-authored-by: Thibaut Lienart <[email protected]>
# Note that "wrapping a model in a tuning strategy" as above means creating a new "self-tuning" version of the model, `tuned_model = TunedModel(model=...)`, in which further key-word arguments specify:
35
+
# 1. the algorithm (a.k.a., tuning strategy) for searching the hyper-parameter space of the model (e.g., `tuning = Random(rng=123)` or `tuning = Grid(goal=100)`).
36
+
# 2. the resampling strategy, used to evaluate performance for each value of the hyper-parameters (e.g., `resampling=CV(nfolds=9, rng=123)` or `resampling=Holdout(fraction_train=0.7)`).
37
+
# 3. the measure (or measures) on which to base performance evaluations (and for reporting purposes) (e.g., `measure = rms` or `measures = [rms, mae]`).
38
+
# 4. the range, usually describing the "space" of hyperparameters to be searched (but more generally whatever extra information is required to complete the search specification, e.g., initial values in gradient-descent optimization).
39
+
40
+
# For more options do `?TunedModel`.
41
+
34
42
# ### Fitting and inspecting a tuned model
35
43
#
36
44
# To fit a tuned model, you can use the usual syntax:
0 commit comments