Skip to content

Latest commit

 

History

History
105 lines (74 loc) · 4.06 KB

NEWS.md

File metadata and controls

105 lines (74 loc) · 4.06 KB

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(), and ps_replicate().

paradox 1.0.1

  • Performance improvements.

paradox 1.0.0

  • Removed Param objects. ParamSet now uses a data.table internally; individual parameters are more like Domain objects now. ParamSets should be constructed using the ps() shorthand and Domain objects. This entails the following major changes:
    • ParamSet now supports extra_trafo natively; it behaves like .extra_trafo of the ps() call.
    • ParamSet has $constraint
    • ParamSet objects are now less mutable. The only properties that can be changed are values, tags, deps, constraint and extra_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 with CondEqual() and CondAnyOf(), instead of CondXyz$new(). (It is recommended to use the Domain 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 InternalTuneTokens

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 to FALSE when trafo is set to NULL.
  • 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

  • Added default_values() function to extract default values from ParamSet objects.

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 accept ParamSets with one Param now (#335).
  • Fixed sampling zero rows in Sampler1DRfun (#338).
  • to_tune(), p_dbl(), and p_int() accept logscale argument for tuning on a logarithmic scale.
  • to_tune can be called with only lower or only upper 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() accepts data.frames.
  • Rename is_numeric and is_categorical to all_numeric and all_categorical.
  • Rename requires to depends.

paradox 0.6.0

  • ps() shortcuts for ParamSet construction, with new Domain construct and constructors p_dbl, p_int, p_lgl, p_fct, and p_uty.
  • ParamSet$search_space() method that constructs tunable ParamSet from TuneToken objects, which are constructed with to_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.

paradox 0.4.0

  • New public methods is_numeric() and is_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

  • New function transpose() converts data.table of parameter values to a list of lists.
  • New methods ParamSet$check_dt(), $assert_dt() and test_dt() can check a data.table for valid parameter values.
  • Documentation updated.
  • Unified style for object printers.

paradox 0.2.0

  • Fixed warnings about partial argument matching.
  • Enforce integer bounds in ParamInt (#258).
  • Reexport data.table::as.data.table().
  • Deep cloning of ParamSet$values (#273).

paradox 0.1.0

  • Initial release.