Skip to main content

# 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.


Metadata

Release files for predpy 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for predpy 0.0.6
File Size Uploaded Provenance Actions
predpy-0.0.6.tar.gz 21.6 kB Without provenance Details for predpy-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for predpy 0.0.6
File Interpreter ABI Platform Actions
predpy-0.0.6-py3-none-any.whl Python 3 none any Details for predpy-0.0.6-py3-none-any.whl

Total release size: 49.2 kB

Release files / predpy-0.0.6.tar.gz

Download URL predpy-0.0.6.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
057fbeffbc4f1367c431d2ae3a5106e8f11bbdaed27ce674531cf6343c5828e9
BLAKE2b-256 checksum
How to use checksums
7618151ad16c895502e3d74d99892f3c1b87ff80a2bd6afeda19a542bc723af7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / predpy-0.0.6-py3-none-any.whl

Download URL predpy-0.0.6-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c96b1ab573df1f6e4b9702b3f5eebbb6393911efba804050fe687bfe78630cd8
BLAKE2b-256 checksum
How to use checksums
141c5c84e119a224278abb23a8b672727beee193bf4b7a20de8ddab1b87d0f35
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for predpy 0.0.6

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.

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page