Overview
Nylon is a python library that lets you customize automated machine learning workflows through a concise, JSON syntax. It provides a built in grammar, in which you can access different operations in ML with the english language.
Installation
Install latest release version:
pip install -U nylon-ai
Install directory from github:
git clone https://github.com/Palashio/nylon.git
cd nylon-ai
pip install .
Usage: the basics
A new Polymer object should be created everytime you're working with a new dataset. When initializing an object, a dataset in the form of a .csv or .xs file should be passed to it by path:
nylon_object = Polymer('housing.csv')
Now, it's time to create a specifications file using the nylon grammar. Here's a basic one, that lets Nylon handle most of the work. Nylon currently has four major parts in it's grammar: the data reader, preprocessor, modeler, and analysis modules. In the example below, you can see that we're specifying the target column under data (which is always required), and manually specifying the type of preprocessing we'd like. Everything we haven't specified will be handled for us.
{
"data": {
"target": "ocean_proximity"
},
"preprocessor": {
"fill": "ALL",
"label-encode": "ocean_proximity"
}
}
Now, we can override more components to take advantage of the built in ensembling of SVM's, and nearest neighbors modeling in nylon.
json_file = {
"data": {
"target": "ocean_proximity"
},
"preprocessor": {
"fill": "ALL",
"label-encode": "ocean_proximity"
},
"modeling": {
"type": ["svms", "neighbors"]
}
}
Now we can call,
nylon_object.run(json_file)
This will return a fully trained nylon object. You can access all information about this particular iteration in the .results field of the object.
Demos
Asking for help
Welcome to the Nylon community!
If you have any questions, feel free to:
Contact
Shoot me an email at hello@paraglide.ai if you'd like to get in touch!
Follow me on twitter for updates and my insights about modern AI!
Metadata
Release files for nylon-ai 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nylon-ai-0.0.7.tar.gz | 18.7 kB | Without provenance | Details for nylon-ai-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nylon_ai-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for nylon_ai-0.0.7-py3-none-any.whl |
Total release size: 41.0 kB
Release files / nylon-ai-0.0.7.tar.gz
| Download URL | nylon-ai-0.0.7.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26fcba18b356c5f50813ad005c8e468a342570ae00726ebf9725d3ea6648a2bb
|
|
BLAKE2b-256 checksum How to use checksums |
e97648ca9860f6948c61b241fb1eeac07238e2aff8cc9a94ab0768ba8455f054
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Release files / nylon_ai-0.0.7-py3-none-any.whl
| Download URL | nylon_ai-0.0.7-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1445b504cd622a68e11de04c35e9d15dd2eb172e9edad6044acab48b9f18b41a
|
|
BLAKE2b-256 checksum How to use checksums |
736c43d018f59b16e444838e3c64c5997870d6059aa7e3646bb9b5fd7681c1fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Security for nylon-ai 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.