Changelog
Source:NEWS.md
paradox 1.0.0
CRAN release: 2024-06-11
- Removed
Paramobjects.ParamSetnow uses adata.tableinternally; individual parameters are more likeDomainobjects now.ParamSetsshould be constructed using theps()shorthand andDomainobjects. This entails the following major changes:-
ParamSetnow supportsextra_trafonatively; it behaves like.extra_trafoof theps()call. -
ParamSethas$constraint -
ParamSetobjects are now less mutable. The only properties that can be changed arevalues,tags,deps,constraintandextra_trafo. -
ParamSet$is_boundedis a vector with an entry for each parameter. Use$all_boundedfor the previous behavior. -
Conditionobjects are now S3 objects and can be constructed withCondEqual()andCondAnyOf(), instead ofCondXyz$new(). (It is recommended to use theDomaininterface for conditions, which has not changed) -
ParamSethas 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
InternalTuneTokens
paradox 0.11.0
CRAN release: 2022-11-21
- feat: The function
generate_design_sobol()generates a space-filling Sobol sequence design. - refactor:
$set_valuesreturns the parameter set invisible.
paradox 0.10.0
CRAN release: 2022-08-05
- Reset
.has_extra_trafotoFALSEwhen trafo is set toNULL. -
rd_info.ParamSetcollapses 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 fromParamSetobjects.
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
ParamHelpersis also loaded. - Fixed some links.
paradox 0.7.1
CRAN release: 2021-03-07
-
Sampler1Dalso acceptParamSets with oneParamnow (#335). - Fixed sampling zero rows in
Sampler1DRfun(#338). -
to_tune(),p_dbl(), andp_int()acceptlogscaleargument for tuning on a logarithmic scale. -
to_tunecan be called with onlyloweror onlyuppernow 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.frames. - Rename
is_numericandis_categoricaltoall_numericandall_categorical. - Rename
requirestodepends.
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.tableof parameter values to a list of lists. - New methods
ParamSet$check_dt(),$assert_dt()andtest_dt()can check adata.tablefor 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).