Skip to main content

Series of Data Science Graphs written by Philip Geurin and Matt Drury

Project description


# predpy

Here are the tools to automatically assess and test multiple working
machine learning techniques.


## Installation

A `setup.py` file is included. To install into a python environment run

```bash
pip install git+https://github.com/pgeurin/predpy.git
```

Included are two extra modules:


##Galgraphs
Here you will find graphing functions for numpy arrays and pandas dataframes.

Graphs with ax take a axis from matplotlib.
Use pattern matplotlib 'fig, ax = subplots(1,1)' for best effect.

Graphs without an 'ax' input plot themselves.

The code used here HEAVILY relies upon the foundational work of Matt Drury.
This project just wouldn't be the same without it.
Pandas and matplotlib. are also foundational tools to the work.

How to use the documentation
----------------------------
Documentation in docstrings provided with the code.

We recommend exploring the docstrings using
`IPython <http://ipython.org/>`_, an advanced Python shell with
TAB-completion and introspection capabilities.

Use the built-in ``help`` function to view a function's docstring::

Available graphs:
---------------------
'emperical_distribution',
'one_dim_scatterplot',
'plot_emperical_distribution',
'plot_many_predicteds_vs_actuals',
'plot_many_residuals',
'plot_one_univariate',
'plot_solution_paths',
'plot_univariate_smooth',
'predicteds_vs_actuals',
'residual_plot',
'simple_indicator_specification',
'simple_spline_specification',
'standardize_y',
'train_test_split'

##Cleandata
Cleans pandas dataframes using modern machine learning practices.

Turn first to clean_df(). It's your friend in a world of darkness.
It detects all manner of unmentionable values and replaces them with the mean or
distinguishing feature.


## Versioning

0.0.1 - Working graphs.
0.0.2 - Documentation.
0.0.3 - More graphs.
0.0.4 - Cleaning. predpy.


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

predpy-0.0.6.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

predpy-0.0.6-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file predpy-0.0.6.tar.gz.

File metadata

  • Download URL: predpy-0.0.6.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/3.6.4

File hashes

Hashes for predpy-0.0.6.tar.gz
Algorithm Hash digest
SHA256 057fbeffbc4f1367c431d2ae3a5106e8f11bbdaed27ce674531cf6343c5828e9
MD5 4ea01971b5c28246069cfff1a8dc2a1e
BLAKE2b-256 7618151ad16c895502e3d74d99892f3c1b87ff80a2bd6afeda19a542bc723af7

See more details on using hashes here.

File details

Details for the file predpy-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: predpy-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/3.6.4

File hashes

Hashes for predpy-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c96b1ab573df1f6e4b9702b3f5eebbb6393911efba804050fe687bfe78630cd8
MD5 0b66a0439b25d0f178e1c0d8313aaf93
BLAKE2b-256 141c5c84e119a224278abb23a8b672727beee193bf4b7a20de8ddab1b87d0f35

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page