Bug#991769: ITP: python-ml-collections -- collections designed for ML usecases
Package: wnpp
Severity: wishlist
Subject: ITP: python-ml-collections -- collections designed for ML usecases
Package: wnpp
Owner: Steffen Moeller <moeller@debian.org>
Severity: wishlist
* Package name : python-ml-collections
Version : 0.1.0
Upstream Author : xx-20yy ML Collections Authors <ml-collections@google.com>
* URL : https://github.com/google/ml_collections
* License : Apache-2.0
Programming Lang: Python
Description : collections designed for ML usecases
The package provices two classes called ConfigDict and FrozenConfigDict that
are "dict-like" data structures with dot access to nested elements. Together,
they are supposed to be used as a main way of expressing configurations of
experiments and models.
.
Features:
* Dot-based access to fields.
* Locking mechanism to prevent spelling mistakes.
* Lazy computation.
* FrozenConfigDict() class which is immutable and hashable.
* Type safety.
* "Did you mean" functionality.
* Human readable printing (with valid references and cycles), using valid YAML format.
* Fields can be passed as keyword arguments using the ** operator.
.
There are two exceptions to the strong type-safety of the ConfigDict. int
values can be passed in to fields of type float. In such a case, the
value is type-converted to a float before being stored. Similarly,
all string types (including Unicode strings) can be stored in fields
of type str or unicode.
Remark: This package is maintained by Debian Python Team at
https://salsa.debian.org/python-team/packages/python-ml-collections
Reply to: