Skip to main content

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

# ayx-learn

A foundation of [scikit-learn](https://scikit-learn.org/stable/) compatible data science tools, such as Transformers, that both Alteryx Assisted Modeling and Code Fee Tools are built on.

## Source code organization

` . ├── README.md ├── ayx_learn: Source code for the ayx_learn package. │   ├── cmd: CLI commands that enable transformers and other functions to be used directly from the command-line. │   ├── transformers: Transformer source code. │   └── utils: Utility functions, such as validation. ├── docs: Sphinx documentation. ├── examples: CLI examples that use ayx_learn/cmd and DVC. ├── notebooks: Jupyter notebooks. ├── requirements-dev.txt: Requirements for development env. ├── requirements.txt: Requirements for building and running in a production env. ├── setup.py ├── tests │   └── unit: pytest unit tests. └── tox.ini: Ini file for tox. `

## Code standards

ayx-learn follows the [Alteryx Python Code Standards](https://alteryx.quip.com/qR3kAG4OA32X/Python-Code-Standards)

## Error handling and Logging

Errors/exceptions in ayx-learn follow the Message and Raise and Transformer patterns described in the blog at [Exceptional logging of exceptions in Python](https://www.loggly.com/blog/exceptional-logging-of-exceptions-in-python/).

Following the recommendations at, [Configuring Logging for a Library](https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library), a NullHandler has been initialized at ayx_learn module scope. Clients of ayx-learn can easily provide a logging handler that will override the NullHandler by initializing a handler in the client. E.g.

` import logging logging.basicConfig(filename='example.log',level=logging.DEBUG) `

## Testing

Unit tests are written using [pytest](https://docs.pytest.org/) and are located in ./tests/unit.

[tox](https://tox.readthedocs.io/) can be used for creating a virtualenv and automatically running the pytest unit tests.

## Examples

A set of CLI examples based on ayx_learn/cmd that use [DVC](https://dvc.org/) for managing data, creating, and running pipelines.

Usage

` cd examples/titanic dvc pull dvc repro step_2.csv.dvc `

To clean-up data files

` dvc remove -o *.dvc `

## Documentation

ayx-learn follows the [Alteryx Python Documentation Standards](https://alteryx.quip.com/bFgiAZThHaJv/Python-Documentation-Standards).

See [README](docs/README.md).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ayx_learn-0.0.1.111369.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

ayx_learn-0.0.1.111369-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

Details for the file ayx_learn-0.0.1.111369.tar.gz.

File metadata

  • Download URL: ayx_learn-0.0.1.111369.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/35.0.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for ayx_learn-0.0.1.111369.tar.gz
Algorithm Hash digest
SHA256 9bcc9b3f1ea19b552b671ecf1f04897f33af80557c58f13aca9c4da85cc2efae
MD5 6ae1ef0f7a9b29d4837f1ace9d7f6b3b
BLAKE2b-256 deb11d3e99e5e5fc26409a2a21bbcdbfb3f65390e7643ac2c623ea053cc82488

See more details on using hashes here.

File details

Details for the file ayx_learn-0.0.1.111369-py3-none-any.whl.

File metadata

  • Download URL: ayx_learn-0.0.1.111369-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/35.0.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for ayx_learn-0.0.1.111369-py3-none-any.whl
Algorithm Hash digest
SHA256 bee0abf3876beb5ff30f6c5223d864620b137160519032d1a927ef53e5d1ea11
MD5 9d7859feb02c23ca9c6077934a1e9057
BLAKE2b-256 d735e6dbbc600cb1fb66b0ae13f0b766bd8b1210e48707b3ac6d60c1cfa17c60

See more details on using hashes here.

Release history Release notifications | RSS feed

2020.2.0

1 file

0.0.1.172168

2 files

0.0.1.171620

2 files

0.0.1.167476

2 files

0.0.1.166059

2 files

0.0.1.161430

2 files

0.0.1.152517

2 files

0.0.1.144921

2 files

0.0.1.140378

2 files

0.0.1.140370

2 files

0.0.1.140236

2 files

0.0.1.140039

2 files

0.0.1.136658

2 files

0.0.1.134996

2 files

0.0.1.134977

2 files

0.0.1.131585

2 files

0.0.1.126722

2 files

0.0.1.126714

2 files

0.0.1.126451

2 files

0.0.1.126311

2 files

0.0.1.121789

2 files

0.0.1.116811

2 files

0.0.1.112553

2 files

This release

0.0.1.111369 This release

2 files

0.0.1.111270

2 files

0.0.1.111256

2 files

0.0.1.110887

2 files

0.0.1.110254

2 files

0.0.1.110250

2 files

Supported by

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