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.0.tar.gz
(20.4 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.0.tar.gz.
File metadata
- Download URL: variable_protocols-1.3.0.tar.gz
- Upload date:
- Size: 20.4 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 |
5e6e6e2c047083b9fb8e02b160c5019480183d557425ba98381f7e6085025428
|
|
| MD5 |
f88410104126a7f5e0009d6148d27330
|
|
| BLAKE2b-256 |
4d0c2ec35b9ce0f8b1d055971478b6c06e59f342f76917ae4f59e4aae8e1c72c
|
File details
Details for the file variable_protocols-1.3.0-py3-none-any.whl.
File metadata
- Download URL: variable_protocols-1.3.0-py3-none-any.whl
- Upload date:
- Size: 22.1 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 |
20ef5f893e9d08ab98fea2b0822244ccc8d2ecb339dd5de7ae18005001008a4f
|
|
| MD5 |
c6485e7f90c4eaeda82159ecc84b1af5
|
|
| BLAKE2b-256 |
1edaf7974ef81853f9dc2616296595a28a3e6854dc75d90c9bd1abdd34891f50
|