Giter VIP home page Giter VIP logo

nylon's Introduction



drawing


An english representation of machine learning. Modify what you want, let us handle the rest.

Build Status Downloads

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

alt text alt text

Asking for help

Welcome to the Nylon community!

If you have any questions, feel free to:

  1. Read the Docs
  2. Search through the issues
  3. Join our Discord

Contact

Shoot me an email at [email protected] if you'd like to get in touch!

Follow me on twitter for updates and my insights about modern AI!

nylon's People

Contributors

akshayakula avatar palashio avatar sarda-devesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nylon's Issues

overhaul documentation

check comment on reddit where lots of people agreed:

"It seems to be something useful. I wish the documentation was better. Before going into "how" it should first explain the "what". I've spent full 5 minutes skimming the github and the docs and I still don't know what this is.

"Nylon offers an easy to-use Python library to help users build complex machine learning models with the english language"

Is it a natural language processing framework? Or is it a framework with which I can build "complex machine learning models" just by describing them in plain English?

What is this?"

create design for correlations

things that users choose should affect the automatic choices in different parts of the pipeline. for example, if you add a trimming statement, more models should be tried out or a certain preprocessing mechanic should trigger certain models etc.

Unable to import Polymer from nylon

I've installed nylon in a conda env with, I believe, all necessary dependencies for the library. However, when I code from nylon import Polymer, I get an error saying Polymer is not a module.

sentiment analysis

include a pre-trained sentiment classifier workflow of some sort? not sure what this would look like but open to discussion.

docker image for nylon

store this under a docker folder, check out github.com/palashio/libra for an example docker setup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.