Skip to main content

Regression model with logical interactions

Project description

lestpy

Overview

Why

Lestpy is aimed to model regression problems with a bunch of logical interactions. This approach is an alternative way to describe the relationship between the features and the targets.

Getting Started

Installation

You can install LestPy from PyPI:

    python -m pip install lestpy

Last release

Lespy 0.0.11

    python -m pip install lestpy --upgrade

Main classes, methods and attributes

  • Interaction Methods:
    1. compute
    2. get_interaction_list
    3. get_interaction_dict
    4. add_interaction_dict
    5. remove_interactions
  • InteractionBuilder
  • Transformer Methods:
    1. fit
    2. transform
    3. fit_transform
    4. inverse_transform
  • LBM_Regression Methods:
    1. transform
    2. fit
    3. fit_transform
    4. predict
    5. optimize
    6. features_analysis
    7. print_model
    8. fitting_score
    9. extract_features
  • Display Methods:
    1. ternary_diagram
    2. response_surface
    3. pareto_frontier
    4. sensibility_analysis
    5. display_interaction
    6. residues
    7. fit
    8. metrics_curve
    9. describe
    10. corr_graph (in development)
  • Outliers_Inspection Methods:
    1. cooks_distance
    2. mahalanobis_distance
    3. z_score

How to

Use

Lestpy is designed to be used similarly to sklearn modelization classes and their methods (fit(), transform(), predict(), ...)

Contributing

There are many ways to support the development of lestpy:

  • File an issue on Github, if you encounter problems, have a proposal, etc.
  • Send an email with ideas to the author.
  • Submit a pull request on Github if you improved the code and know how to use git.

Links

The source code and issue tracker of this package is to be found on Github: pyonysos/lestpy.

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

lestpy-0.0.11.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lestpy-0.0.11-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file lestpy-0.0.11.tar.gz.

File metadata

  • Download URL: lestpy-0.0.11.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0

File hashes

Hashes for lestpy-0.0.11.tar.gz
Algorithm Hash digest
SHA256 7d35bbf199106c7eb7e92b08c274f257f37663744ae2753cb014e5fbb0d6c23f
MD5 1ad1bbcf175e024eb92728e8a6c72433
BLAKE2b-256 e9550b8d6ea2bab212b0f2689edfe7f429f97fe01c270a5a77fe4c9f5290781b

See more details on using hashes here.

File details

Details for the file lestpy-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: lestpy-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0

File hashes

Hashes for lestpy-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 9a65146e06af6428861ba09be2af1b9b98e9be1f32239684814b25284b3e5bc9
MD5 db1dc464bb82a00974c32ee3b46fe0c3
BLAKE2b-256 89c80730511a62b746318c3ac302b1fc01843323cd29c80e83a4c8091c7a3dbf

See more details on using hashes here.

Supported by

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