Skip to main content

orthogonal-cli - CLI for the DataCrunch Tournament by CrunchDAO

Project description

Orthogonal CLI

Here is the Orthogonal CLI for the DataCrunch competition by CrunchDAO.

Installation

Use pip to install the orthogonal-cli.

pip install orthogonal-cli --upgrade

Usage

This library require a CrunchDAO's API Key.

import orthogonal

client = orthogonal.Client(
    api_key="..." # can also be read from CRUNCHDAO_API_KEY environment variable.
)

y = pandas.read_csv("y.csv", index_col=0)
print(y.head())
#          Moons       id      abcd
# 1030371      1  AAAAAAA -2.122527
# 1030372      1  BBBBBBB -0.386952
# 1030373      1  CCCCCCC  0.028175
# 1030374      1  DDDDDDD -1.276682
# 1030375      1  EEEEEEE  0.939289

dataframe, jacobians = client.orthogonalize(y)
print(dataframe.head())
#    Moons       id      abcd
# 0      1  AAAAAAA -2.149988
# 1      1  BBBBBBB -0.395232
# 2      1  CCCCCCC  0.030502
# 3      1  DDDDDDD -1.311531
# 4      1  EEEEEEE  0.917134

Please see here for the backend implementation.

Contributing

Pull requests are always welcome! If you find any issues or have suggestions for improvements, please feel free to submit a pull request or open an issue in the GitHub repository.

License

MIT

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

orthogonal-cli-0.4.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

orthogonal_cli-0.4.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file orthogonal-cli-0.4.0.tar.gz.

File metadata

  • Download URL: orthogonal-cli-0.4.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for orthogonal-cli-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a5674e1140fcff696154370f8918c2abf341ddac79a121be8a300e47fd755ce9
MD5 9e1b7ada162910c00acd5b044f89d634
BLAKE2b-256 a02dac334f4e963bba480708d15b41d61a43facd12eb71a0e4089f4afa1a481b

See more details on using hashes here.

File details

Details for the file orthogonal_cli-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: orthogonal_cli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for orthogonal_cli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e65b21e291cdbfbb6d09bc17ea353664b4d23e89cff9b620fa2664300f3a3163
MD5 765fd8ee0fd9af3c664efeb1f7832f11
BLAKE2b-256 b5b7f94e26d712b1f072ed4a6b98aabac1590ef7bb2c745180fe37ede679513d

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