-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94c38ba
commit b78c8bd
Showing
11 changed files
with
3,051 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,56 @@ | ||
Henchman | ||
Overview | ||
============= | ||
A collection of utility functions for making demo notebooks. | ||
|
||
* Free software: GNU General Public License v3 | ||
* Documentation: https://notebook-utilities.readthedocs.io. | ||
* Free software: BSD-3 | ||
|
||
To install the development version with pip: | ||
The Henchman package is a collection of frequently used utility functions for Featuretools demos. There are a number of functions which appear in multiple `utils.py` files in multiple demos. This project consolidates those into 4 categories of reusable functions: `dataframe diagnostics <documentation.html#diagnostics>`_, `feature selection | ||
<documentation.html#selection>`_, `machine learning <documentation.html#learning>`_ and `bokeh plotting <documentation.html#plotting>`_. | ||
|
||
1. download the repository | ||
2. open a terminal and navigate to the downloaded folder | ||
3. run ``pip install -e .`` | ||
Install | ||
~~~~~~~~~ | ||
To install Henchman, run this command in your terminal: | ||
|
||
.. code-block:: console | ||
$ pip install henchman | ||
This is the preferred method to install Henchman, as it will always install the most recent stable release. | ||
|
||
If you don't have `pip`_ installed, this `Python installation guide`_ can guide | ||
you through the process. | ||
|
||
.. _pip: https://pip.pypa.io | ||
.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/ | ||
|
||
The sources for Henchman can be downloaded from the `Github repo`_. | ||
|
||
You can either clone the public repository: | ||
|
||
.. code-block:: console | ||
$ git clone git://github.com/featurelabs/henchman | ||
Or download the `tarball`_: | ||
|
||
.. code-block:: console | ||
$ curl -OL https://github.com/featurelabs/henchman/tarball/master | ||
Once you have a copy of the source, you can install it with: | ||
|
||
.. code-block:: console | ||
$ python setup.py install | ||
.. _Github repo: https://github.com/featurelabs/henchman | ||
.. _tarball: https://github.com/featurelabs/henchman/tarball/master | ||
|
||
Functionality | ||
~~~~~~~~~~~~~ | ||
|
||
The Henchman package is a collection of frequently used utility functions for Featuretools demos. There are a number of functions which appear in multiple `utils.py` files in multiple demos. This project consolidates those into 4 categories of reusable functions. | ||
|
||
Diagnostics | ||
----------- | ||
It's often useful to have an all-at-once overview of what is going on in a particular dataframe or feature matrix. The diagnostics module gives basic print functionality for many commonly asked questions. You can import the ``profile`` function with ``from henchman.diagnostics import profile``. | ||
|
||
Selection | ||
--------- | ||
Given the number of features that Featuretools is capable of creating, it's worthwhile having some easily usable feature selection techniques. This module provides a wrapper around some scikit-learn methods. | ||
|
||
Learning | ||
-------- | ||
We reuse the same workflow in multiple demos once we have transformed our feature matrix into an ``X`` and ``y``. The ``create_model`` function gives a basic validation split and scores according to a provided model and metric. To use, import with ``from henchman.learning import create_model``. | ||
|
||
Plotting | ||
-------- | ||
It's usually preferable to look at a plot than a dataframe, but it can take a lot of time to make a perfect looking plot. This module gives a simple interface for certain plots that we know we'll need often. | ||
|
||
Credits | ||
~~~~~~~ | ||
|
||
This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage) project template. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ Welcome to the Henchman documentation! | |
|
||
readme | ||
documentation | ||
plotting_examples | ||
contributing | ||
authors | ||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.