{ "info": { "author": "Ali Sina", "author_email": "alisina47@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Framework :: IPython", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering :: Visualization" ], "description": "# enhancesa\n\n[![Build Status](https://travis-ci.org/alisiina/enhancesa.svg?branch=master)](https://travis-ci.org/alisiina/enhancesa)\n[![codecov](https://codecov.io/gh/alisiina/enhancesa/branch/master/graph/badge.svg)](https://codecov.io/gh/alisiina/enhancesa)\n[![Total alerts](https://img.shields.io/lgtm/alerts/g/alisiina/enhancesa.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/alisiina/enhancesa/alerts/)\n[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/alisiina/enhancesa.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/alisiina/enhancesa/context:python)\n[![Documentation Status](https://readthedocs.org/projects/enhancesa/badge/?version=latest)](https://enhancesa.readthedocs.io/en/latest/?badge=latest)\n![repo size](https://img.shields.io/github/repo-size/alisiina/enhancesa.svg?color=9cf)\n[![license](https://img.shields.io/github/license/alisiina/enhancesa.svg?color=blueviolet)](https://opensource.org/licenses/MIT)\n\n\nEnhancesa is a collection of tools for a better and more simplified statistical analysis in Python. It primarily aids in manual analysis and prediction tasks that use packages like [Statsmodels](https://www.statsmodels.org/stable/index.html) and [Scikit-learn](https://scikit-learn.org/stable/index.html) in their workflow. \n\nFor example, Enhancesa provides answers to questions like: Which subset of features gives me the lowest error rate in an ordinary least squares model? What are estimates of population mean and standard deviation using bootstrap resampling? And etc.\n\n\n#### Upcoming features\n\n* Partial least squares (PLS) regression\n* Principal components regression (PCR)\n* Subset selection plots\n* Additional test statistics in bootstrap resampling\n\n\n### Motivation\n\nEnhancesa is a result of solutions to exercises in the book [Introduction to Statistical Learning](https://www-bcf.usc.edu/~gareth/ISL/) by the Tibshirani et al. When going through the exercises, I found Python, unlike R, lacking in providing convenient functionalities. *At this stage*, this package is simply a collection of functions I used in my solutions to exercises in the book.\n\n\n### Installation\n\nEnhancesa can be installed from the [PyPI](https://pypi.org/project/enhancesa/) package repository.\n\n```\n$ pip install enhancesa\n```\n\n\n### Quick glimpse\n\n```python\n>>> import numpy as np\n>>> import enhancesa as esa\n>>> # Create some dummy data\n>>> x = np.random.normal(size=100)\n>>> # Compute test statistics with bootstrap resampling\n>>> esa.bootstrap(x, iters=1000)\nEstimated mean: -0.025309\nEstimated SE: 0.095531\ndtype: float64\n```\nFind out more about the full set of features in the [documentation](https://enhancesa.readthedocs.io/en/latest/?badge=latest).\n\n\n### Issues & improvements\n\n* Possible to further reduce dependencies.\n* `boostrap` method can be improved by adding estimates of more test statistics of interest.\n* Use [Poetry](https://poetry.eustace.io/) for package and dependency management, which uses\n`pyproject.toml` recommended by [PEP 518](https://www.python.org/dev/peps/pep-0518/).\n* `enhancesa.SubsetSelect` will give `NotImplemented` error if `X` input is a Numpy array.\n\n\n### License\n\nThis package is licensed under an [MIT](https://github.com/alisiina/enhancesa/blob/master/LICENSE.txt) license.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alisiina/enhancesa", "keywords": "statistics mathematics plotting diagnostics analysis", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "enhancesa", "package_url": "https://pypi.org/project/enhancesa/", "platform": "", "project_url": "https://pypi.org/project/enhancesa/", "project_urls": { "Documentation": "https://enhancesa.readthedocs.io/en/latest/?badge=latest", "Homepage": "https://github.com/alisiina/enhancesa", "Say Thanks!": "https://saythanks.io/to/alisiina", "Source": "https://github.com/alisiina/enhancesa/", "Tracker": "https://github.com/alisiina/enhancesa/issues" }, "release_url": "https://pypi.org/project/enhancesa/0.1a0/", "requires_dist": [ "matplotlib (>=3.0.2)", "statsmodels (>=0.9.0)", "seaborn (>=0.9.0)", "numpy (>=1.15.4)", "pandas (>=0.24.0)", "tqdm (>=4.28.1)" ], "requires_python": ">=3.6", "summary": "Python micro-package for enhanced statistical analysis", "version": "0.1a0" }, "last_serial": 4946884, "releases": { "0.1a0": [ { "comment_text": "", "digests": { "md5": "e32b007e760dea450c418e95d4869c30", "sha256": "9dd7fd205b6b56a2d710dba2477be02355ae32d184c6d79361aaeeae49b70175" }, "downloads": -1, "filename": "enhancesa-0.1a0-py3-none-any.whl", "has_sig": false, "md5_digest": "e32b007e760dea450c418e95d4869c30", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 14167, "upload_time": "2019-03-16T05:38:00", "url": "https://files.pythonhosted.org/packages/a0/74/d0a4a45b4fb6c7e2316caf3bd90bbbf7e17a26b7981c7fce052a1656bc6e/enhancesa-0.1a0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "114afc66ca7a26295c2b1052d5033b8d", "sha256": "53343414a59ad8372479019e8c7ac7bdd5b9133b7a4da509b92be0ecb2f83285" }, "downloads": -1, "filename": "enhancesa-0.1a0.tar.gz", "has_sig": false, "md5_digest": "114afc66ca7a26295c2b1052d5033b8d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 29869, "upload_time": "2019-03-16T05:38:03", "url": "https://files.pythonhosted.org/packages/97/02/b7d01220021a5363ff3c661814d3477994aa89402f293920a383622d7e96/enhancesa-0.1a0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e32b007e760dea450c418e95d4869c30", "sha256": "9dd7fd205b6b56a2d710dba2477be02355ae32d184c6d79361aaeeae49b70175" }, "downloads": -1, "filename": "enhancesa-0.1a0-py3-none-any.whl", "has_sig": false, "md5_digest": "e32b007e760dea450c418e95d4869c30", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 14167, "upload_time": "2019-03-16T05:38:00", "url": "https://files.pythonhosted.org/packages/a0/74/d0a4a45b4fb6c7e2316caf3bd90bbbf7e17a26b7981c7fce052a1656bc6e/enhancesa-0.1a0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "114afc66ca7a26295c2b1052d5033b8d", "sha256": "53343414a59ad8372479019e8c7ac7bdd5b9133b7a4da509b92be0ecb2f83285" }, "downloads": -1, "filename": "enhancesa-0.1a0.tar.gz", "has_sig": false, "md5_digest": "114afc66ca7a26295c2b1052d5033b8d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 29869, "upload_time": "2019-03-16T05:38:03", "url": "https://files.pythonhosted.org/packages/97/02/b7d01220021a5363ff3c661814d3477994aa89402f293920a383622d7e96/enhancesa-0.1a0.tar.gz" } ] }