Skip to content

cwhy/variable_protocols

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published