diff --git a/src/tuned_models.jl b/src/tuned_models.jl index 29713c2..514a279 100644 --- a/src/tuned_models.jl +++ b/src/tuned_models.jl @@ -3,7 +3,7 @@ const ERR_SPECIFY_MODEL = ArgumentError( "You need to specify `model=...`, unless `tuning=Explicit()`. ") const ERR_SPECIFY_RANGE = ArgumentError( - "You need to specify `range=...`, unless `tuning=Explicit` and "* + "You need to specify `range=...`, unless `tuning=Explicit()` and "* "and `models=...` is specified instead. ") const ERR_SPECIFY_RANGE_OR_MODELS = ArgumentError( "No `model` specified. Either specify an explicit iterator "* @@ -12,7 +12,7 @@ const ERR_SPECIFY_RANGE_OR_MODELS = ArgumentError( const ERR_NEED_EXPLICIT = ArgumentError( "You have specified an explicit "* "iterator `models` of MLJModels and so cannot "* - "specify any `tuning` strategy except `Explicit`. Either omit the "* + "specify any `tuning` strategy except `Explicit()`. Either omit the "* "`tuning=...` specification, or specify a *single* model using "* "`model=...` instead. ") const ERR_BOTH_DISALLOWED = ArgumentError(