File: NEWS.md

package info (click to toggle)
r-cran-paramhelpers 1.14-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 992 kB
  • sloc: ansic: 102; sh: 13; makefile: 2
file content (160 lines) | stat: -rw-r--r-- 5,675 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# ParamHelpers 1.14

- Fixes to work with R-4.0.0

# ParamHelpers 1.13

- `trafo` allowed in DiscreteVectorParam.
- Removed non-descriptive warning when a param has `NA` set as default.
- `generateDesign` rewritten in `R` to avoid random error in C `REAL() can only be applied to a 'numeric', not a 'NULL'`. Function should only be slower if requirements are given in a non vectorized manner.

# ParamHelpers 1.12

- improved documentation
- speedups

# ParamHelpers 1.10

- adapt to irace 2.1 API changes

## new functions

- getRequirements
- isSpecialValue
- getTypeStringsLogical, getTypeStringsCharacter, getTypeStringsAll
- isNumericTypeString, isIntegerTypeString, isDiscreteTypeString, isLogicalTypeString, isCharacterTypeString, isVectorTypeString
- generateDesignOfDefaults

# ParamHelpers 1.9

- Many parameters can now be expressions which can be evaluated later while providing a lookup dictionary.
- make*Param now accepts special.vals which are always feasible
- getParamLengths, getLower, getUpper, getValues were made S3 to also work on normal Parameter objects

## new functions

- evaluateParamExpressions
- hasExpression

# ParamHelpers 1.8

- plots produced by renderOptPathPlot, plotOptPath are now always nicely aligned
- removed soobench from SUGGESTS and removed function extractParamSetFromSooFunction
- hasDiscrete: added arg "include.logical"
- getParamSet has become a generic
- OptPath: it is possible to log non-scalar values under "extras" now by starting the extra-name with a dot.
  These elements wll not be contained is as.data.frame(opt.path) when converted.
- make*Param argument 'requires' now accepts expressions and quote'd expressions.
- getParamIds is now S3 and also callable on type "Param"
- filterParams: has new arg "check.requires"
- isFeasible: new args "use.defaults" and "filter"
- trafoValue: slightly robustify arg handling

## new functions

- isNumericStrict
- getTypeStringsNumeric, getTypeStringsNumericStrict, getTypeStringsInteger, getTypeStringsDiscrete
- filterParamsNumeric, filterParamsDiscrete
- updateParVals

# ParamHelpers 1.7

- dfRowsToList, dfRowToList: added arg enforce.col.types
- UntypedParam also got the "tunable" flag

# ParamHelpers 1.6

- added new character parameter types, see new functions below
- added property 'tunable' to make*Param
- isFeasible supports named lists for unordered checks
- numeric and numericvector Params and LearnerParams have a new arg 'allow.inf'
- filterParams can now filter based on 'ids' and 'tunable'
- convertParamSetToIrace: removed argument 'digits' to keep maximum precision of boundaries
- added renderOptPathPlot and plotOptPath for plotting of optimization paths.
- added plotEAF and plotYTraces to compare singlecrit and bicrit optimization paths.

## new functions

- isRequiresOk
- plotEAF
- plotYTraces
- renderOptPathPlot, plotOptPath
- makeCharacterParam, makeCharacterVectorParam
- isCharacter, hasCharacter

# ParamHelpers 1.5

- added constr.clip to print.ParamSet and related internal functions to make prints more readable
- getDefaults: new option include.null

# ParamHelpers 1.4

- sampleValue(s): 'discrete.names' now only affects discrtete params and not logicals anymore.
  logical params always result in R data type 'logical'
- Vector params (num, int and log) can now have component names
- many more OptPath getter methods allow the selection option 'dob' and 'eol' to subset the result
## new functions
- getOptPathX
- generateRandomDesign

# ParamHelpers 1.3

- sampleValue(s): 'discrete.names' now only affects discrtete params and not logicals anymore.
  logical params always result in R data type 'logical'
- Vector params (num, int and log) can now have component names Functions that produce such vector values (e.g. sampleValue or dfRowsToList)
  will name the components of this vector automatically.
  The user can also call setValueCNames in his own code.

## new functions
- getOptPathCols
- setValueCNames
- repairPoint

# ParamHelpers 1.2

- normal parameters can now have a default value
- parameter spaces can now define a forbidden region of infeasibility.
  all operations on the set respect this, although a few are disallowed and produce an exception.
- rewrote generateDesign and dfRowsToList in C to greatly increase speed in the case of dependent parameters
- generateDesign and generateGridDesign do not support type conversion anymore. See help page.
- generateDesign now ensures that no duplicted settings are produced in rarer cases
- Added option to log error messages, execution time and extra info in the optimization path.
- slightly change interface of getOptPathY, so one can now return a matrix of multiple measures.
- paramValueToString produces better readable output
- sampleValue(s) have new option "trafo"
- getLower and getUpper have with.nr argument now
- getTypes renamed to getParamTypes

## new functions
- isNumeric, isDiscrete, isInteger, isLogical
- hasNumeric, hasInteger, hasDiscrete, hasLogical
- getParamNr
- getDefaults
- hasTrafo, hasRequires
- isForbidden, hasForbidden
- generateGridDesign
- getOptPathExecTimes, getOptPathErrorMessages
- getOptPathParetoFront
- getOptPathCol

# ParamHelpers 1.1-35

- concept of dependent parameters was introduced (argument "requires")
- as.data.frame.OptPath: discretes.as.factor option
- all arguments "length" renamed to len

## new functions
- convertParamSetToIrace
- dfRowToList, dfRowsToList
- getOptPathDOB, getOptPathEOL
- hasRequires
- removeMissingValues

# ParamHelpers 1.0-55

- disabled one unreasonable unit test for CRAN
- some dependencies are now imports like they should be

# ParamHelpers 1.0-54

- First submit to CRAN.