A protocol for machine learning variables
Project description
Variable Protocols
A way to specify common variables of data inputs in the field of data science and machine learning.
Installation
pip install variale_protocols
Specifications:
Principles
- Only one representation for each variable type
- See
variable_protocols/variable_protocols.py
Guideline
- Use functions in
variables.pyto create variables - 'VariableGroup' groups different type of Variables
- 'VariableTensor' groups same type of Variables
Examples
see test/examples.py
Goals
- specify common variables of data inputs in the field of data science and machine learning.
- structural typing, only sum types and product types (In the general sense, not ML family ADT)
- there should be one way to type one variable group
- good error messages
- error (messages) oriented programming
- serialization in the future (probably in Dhall)
NonGoals
- compatability with any current stuff
- easy to optimize with current computer architectures
- easy to comprehend (simple is not easy)
- support nominal typing(only labels)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
variable_protocols-1.3.1.tar.gz
(19.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file variable_protocols-1.3.1.tar.gz.
File metadata
- Download URL: variable_protocols-1.3.1.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
531cd46e4762617a6299be0ba2a5b085d1215f380c50c4e32cacecd466f2a2ca
|
|
| MD5 |
e98fd46015dbbc85bfe3888b838853fa
|
|
| BLAKE2b-256 |
8df2292b47af593d5a35209326e7dfbe551905e02bbfa5cb61345be15da1825f
|
File details
Details for the file variable_protocols-1.3.1-py3-none-any.whl.
File metadata
- Download URL: variable_protocols-1.3.1-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
699bce286aebb69888618b91d31f6b918089da80716cade4416921dd2357eb95
|
|
| MD5 |
da752b134deaa23ad3ec35410e967620
|
|
| BLAKE2b-256 |
08878fd30e2ca70251077495454929100d3c8f21386e38d8f50cbecf06a16b4f
|