Changelog
Source:NEWS.md
paradox 1.0.1-9000
-
ParamSetCollection$flatten()
now detaches$extra_trafo
completely from original ParamSetCollection. - Option to postfix, instead of prefix, in
ParamSetCollection
,c()
/ps_union()
, andps_replicate()
.
paradox 1.0.0
CRAN release: 2024-06-11
- 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
- feat: added support for
InternalTuneToken
s
paradox 0.11.0
CRAN release: 2022-11-21
- 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
CRAN release: 2022-08-05
- 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.9.0
CRAN release: 2022-04-18
- Added
default_values()
function to extract default values fromParamSet
objects.
paradox 0.8.0
CRAN release: 2022-01-31
- 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
CRAN release: 2021-03-07
-
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
CRAN release: 2021-01-23
-
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
andall_categorical
. - Rename
requires
todepends
.
paradox 0.5.0
CRAN release: 2020-10-21
- Compact in-memory representation of R6 objects to save space when saving objects via saveRDS(), serialize() etc.
- Improved performance for
ParamSetCollection
.
paradox 0.4.0
CRAN release: 2020-07-21
- New public methods
is_numeric()
andis_categorical()
for parameter sets. - Fixed a test for upcoming release of
data.table()
. - Added a helper function to format parameter sets in Rd files.
paradox 0.3.0
CRAN release: 2020-07-07
- New function
transpose()
convertsdata.table
of parameter values to a list of lists. - New methods
ParamSet$check_dt()
,$assert_dt()
andtest_dt()
can check adata.table
for valid parameter values. - Documentation updated.
- Unified style for object printers.
paradox 0.2.0
CRAN release: 2020-04-15
- Fixed warnings about partial argument matching.
- Enforce integer bounds in ParamInt (#258).
- Reexport
data.table::as.data.table()
. - Deep cloning of
ParamSet$values
(#273).