Skip to main content

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.py to 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.2.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

variable_protocols-1.3.2-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file variable_protocols-1.3.2.tar.gz.

File metadata

  • Download URL: variable_protocols-1.3.2.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

Hashes for variable_protocols-1.3.2.tar.gz
Algorithm Hash digest
SHA256 2f4551b43bc0c3f42edbcbfda9d089f424d96469b963ab66a6f2ccecad229c8a
MD5 266db04933ef93d401a68b4f20242875
BLAKE2b-256 96c519872f5a4b7dd0eae5d58bc52ccf7ca4989f776f2052344bdb7aa34e34c7

See more details on using hashes here.

File details

Details for the file variable_protocols-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: variable_protocols-1.3.2-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

Hashes for variable_protocols-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 90ad73e41e33c99af65346139d7c2660e6530670cf670af3e6febfe0967a1b41
MD5 f2d85d0eb8ed9ec5c71a42109d64c062
BLAKE2b-256 e4df56b8671761a295b784a8c4ddab7d5dfc5e141eb0a26f65a40adebd87e9d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page