Releases: rsundqvist/rics
Releases · rsundqvist/rics
Release v5.0.1
Fixed
- Fix RTD build. Docs for
5.0.0
are not available, but5.0.1
docs are identical.
Release v5.0.0
Release v4.1.1
Fixed
- Fix handling of
paths.parse_any_path()
bool-type postprocessors (raise onFalse
).
Release v4.1.0
Added
- New module
rics.paths
;paths.parse_any_path()
, derived functionsany_path_to_str()
andany_path_to_path()
. - New module
rics.strings
. Movedformat_perf_counter()
andformat_seconds()
. - New function
strings.format_bytes()
. - New function
rics.collections.dicts.format_changed_keys()
.
Deprecated
Release v4.0.1
Fixed
- Fix RTD build. Docs for
4.0.0
are not available, but4.0.1
docs are identical.
Release v3.3.0
Added
- The
get_by_full_name()
function has two new optional argumentsinstance_of
andsubclass_of
, which may be
used to ensure correct return types. - The
unflatten_dict()
function now supportstuple
keys. - The
logs.disable_temporarily()
function now support passing loggers by name.
Fixed
- Print parent of inner class in
misc.tname()
whenprefix_classname=True
. - Prefer later folds when using frequency-based schedule and after arguments (
ml.time_split
, #313).
Release v3.2.0
Added
- Add new
step
argument toml.time_split
splitting functions. - Add new
plot.REMOVED_FOLD_STYLE
attribute totime_split.settings
.
Fixed
- Update, fix and clarify some documentation issues.
- The
misc.tname()
-function now handlesfunctools.partial
properly (new argumentattrs='func'
).
Release v3.1.0
Added
- New module
rics.ml.time_split
; successor topandas.TimeFold
. - Function
collections.dicts.unflatten_dict()
; inverse offlatten_dict()
. - Function
misc.get_public_module()
; resolve public module name of an object, optionally looking for reexports. - Function
misc.format_kwargs()
; pretty-print keyword arguments.
Changed
- The
flatten_dict()
-function now takes astring_fn
-argument (default=str
). - Update format used for durations in
rics.performance
.
Deprecated
- The
rics.pandas.TimeFold
class. Replaced byrics.ml.time_split
.
Fixed
- Handle
LoggerAdapter
inlogs.disable_temporarily()
. - Handle improve handling of '{}' (e.g. Python fstrings) in
envinterp
. - Handle properties in
misc.tname
.
Release v3.0.1
Changed
- Deprecated
rics.mapping
.
Fixed
- Fixed some minor
TimeFold
issues. TimeFold.make_sklearn_splitter.split
andTimeFold.plot
now handle datetime-like iterables correctly.
Release v3.0.0
Added
- The
score_functions.disabled()
function, used to force aMapper
to work in override-only mode. - An optional argument
for_value
to theheuristic_functions.value_fstring_alias()
function. - The
Mapper.copy()
-method now accepts keyword override arguments. - The
envinterp
module andmisc.interpolate_environment_variables()
function (replacesread_env_or_literal()
)
Changed
- Add
n_splits
argument toTimeFold
(scikit-learn compatibility). - Raise
AmbiguousScoreError
if match scores do not allow deterministic mapping. - Add a small positional penalty in
HeuristicScore
, to favor alias functions that are defined early. - Add a small positional penalty in
modified_hamming
, to favor candidates that are defined early. - Reduce default value of
Mapper.min_score
(from 1.0 to 0.9). - Updated
Mapper
verbosity flag to be consistent. Now calledverbose_logging
everywhere.
Fixed
- The
heuristic_functions.candidate_fstring_alias()
function may now properly use value and context placeholders. - Properly raise exceptions in
[value/candidate]_fstring_alias
for invalidfstring
arguments. - Added missing checks in
Mapper.__eq__()
.
Removed
- The
misc.read_env_or_literal()
function has been replaced byrics.misc.interpolate_environment_variables()
.