Releases: mlr-org/paradox
Releases · mlr-org/paradox
paradox 1.0.1
paradox 1.0.0
- Removed
Param
objects.ParamSet
now uses adata.table
internally; individual parameters are more likeDomain
objects now.ParamSets
should be constructed using theps()
shorthand andDomain
objects. This entails the following major changes:ParamSet
now supportsextra_trafo
natively; it behaves like.extra_trafo
of theps()
call.ParamSet
has$constraint
ParamSet
objects are now less mutable. The only properties that can be changed arevalues
,tags
,deps
,constraint
andextra_trafo
.ParamSet$is_bounded
is a vector with an entry for each parameter. Use$all_bounded
for the previous behavior.Condition
objects are now S3 objects and can be constructed withCondEqual()
andCondAnyOf()
, instead ofCondXyz$new()
. (It is recommended to use theDomain
interface for conditions, which has not changed)ParamSet
has new fields$is_logscale
,$has_trafo_param
(per-param), and$has_trafo_param
(scalar for the whole set).
- Added a vignette which was previously a chapter in the
mlr3book
paradox 0.11.1
- Minor bug fixes.
paradox 0.11.0
- feat: The function
generate_design_sobol()
generates a space-filling Sobol sequence design. - refactor:
$set_values
returns the parameter set invisible.
paradox 0.10.0
- Reset
.has_extra_trafo
toFALSE
when trafo is set toNULL
. rd_info.ParamSet
collapses vector with"\n"
due changes in roxygen 7.2.0- Add method
set_values()
to conveniently add parameter values.
paradox 0.8.0
- Parameters now have a new (optional) field
description
. - Improved printing of parameters in documentation (#355).
- A warning is now signaled if the package
ParamHelpers
is also loaded. - Fixed some links.
paradox 0.7.1
Sampler1D
also acceptParamSet
s with oneParam
now (#335).- Fixed sampling zero rows in
Sampler1DRfun
(#338). to_tune()
,p_dbl()
, andp_int()
acceptlogscale
argument for tuning on
a logarithmic scale.to_tune
can be called with onlylower
or onlyupper
now and will infer
the other bound if possible.
paradox 0.7.0
ParamSet$get_values()
checks whether all required parameter values are set.
Required parameter are not checked anymore when new values are added to the
parameter set.ParamSet$check_dt()
acceptsdata.frame
s.- Rename
is_numeric
andis_categorical
toall_numeric
and
all_categorical
. - Rename
requires
todepends
.
paradox 0.6.0
ps()
shortcuts forParamSet
construction, with newDomain
construct and
constructorsp_dbl
,p_int
,p_lgl
,p_fct
, andp_uty
.ParamSet$search_space()
method that constructs tunableParamSet
from
TuneToken
objects, which are constructed withto_tune()
.
paradox 0.5.0
- Compact in-memory representation of R6 objects to save space when
saving objects via saveRDS(), serialize() etc. - Improved performance for
ParamSetCollection
.