Skip to content

Releases: rsundqvist/rics

Release v5.0.1

01 Feb 15:41
Compare
Choose a tag to compare

Fixed

  • Fix RTD build. Docs for 5.0.0 are not available, but 5.0.1 docs are identical.

Release v5.0.0

01 Feb 15:28
Compare
Choose a tag to compare

Added

  • Argument include_module=False for function misc.tname().
  • New function plotting.percentage_ticks()

Fixed

  • Handling of gh-101860 (new @property.__name__) under 3.13 in misc.tname() and misc.get_public_module().

Removed

  • Module rics.ml.time_split. use the time-split PyPI - Version package instead.

Release v4.1.1

29 Jun 08:54
Compare
Choose a tag to compare

Fixed

  • Fix handling of paths.parse_any_path() bool-type postprocessors (raise on False).

Release v4.1.0

25 May 18:19
Compare
Choose a tag to compare

Added

  • New module rics.paths; paths.parse_any_path(), derived functions any_path_to_str() and any_path_to_path().
  • New module rics.strings. Moved format_perf_counter() and format_seconds().
  • New function strings.format_bytes().
  • New function rics.collections.dicts.format_changed_keys().

Deprecated

  • Module rics.ml.time_split use time-split PyPI - Version package instead.
  • Functions rics.performance.format_perf_counter() and format_seconds(). Use rics.strings-functions instead.

Release v4.0.1

21 Mar 22:56
Compare
Choose a tag to compare

Fixed

  • Fix RTD build. Docs for 4.0.0 are not available, but 4.0.1 docs are identical.

Release v3.3.0

11 Feb 18:56
Compare
Choose a tag to compare

Added

  • The get_by_full_name() function has two new optional arguments instance_of and subclass_of, which may be
    used to ensure correct return types.
  • The unflatten_dict() function now supports tuple keys.
  • The logs.disable_temporarily() function now support passing loggers by name.

Fixed

  • Print parent of inner class in misc.tname() when prefix_classname=True.
  • Prefer later folds when using frequency-based schedule and after arguments (ml.time_split, #313).

Release v3.2.0

17 Oct 21:40
Compare
Choose a tag to compare

Added

  • Add new step argument to ml.time_split splitting functions.
  • Add new plot.REMOVED_FOLD_STYLE attribute to time_split.settings.

Fixed

  • Update, fix and clarify some documentation issues.
  • The misc.tname()-function now handles functools.partial properly (new argument attrs='func').

Release v3.1.0

12 Oct 22:45
Compare
Choose a tag to compare

Added

  • New module rics.ml.time_split; successor to pandas.TimeFold.
  • Function collections.dicts.unflatten_dict(); inverse of flatten_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 a string_fn-argument (default=str).
  • Update format used for durations in rics.performance.

Deprecated

  • The rics.pandas.TimeFold class. Replaced by rics.ml.time_split.

Fixed

  • Handle LoggerAdapter in logs.disable_temporarily().
  • Handle improve handling of '{}' (e.g. Python fstrings) in envinterp.
  • Handle properties in misc.tname.

Release v3.0.1

25 Mar 19:53
Compare
Choose a tag to compare

Changed

  • Deprecated rics.mapping.

Fixed

  • Fixed some minor TimeFold issues.
  • TimeFold.make_sklearn_splitter.split and TimeFold.plot now handle datetime-like iterables correctly.

Release v3.0.0

09 Mar 21:59
Compare
Choose a tag to compare

Added

  • The score_functions.disabled() function, used to force a Mapper to work in override-only mode.
  • An optional argument for_value to the heuristic_functions.value_fstring_alias() function.
  • The Mapper.copy()-method now accepts keyword override arguments.
  • The envinterp module and misc.interpolate_environment_variables() function (replaces read_env_or_literal())

Changed

  • Add n_splits argument to TimeFold (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 called verbose_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 invalid fstring arguments.
  • Added missing checks in Mapper.__eq__().

Removed

  • The misc.read_env_or_literal() function has been replaced by rics.misc.interpolate_environment_variables().