Skip to main content

Generate viz for your variables with your target for ML

Project description

target_description

La libreria target_describe es un complemento para la visualizacion de la relacion entre la variable objetivo y las variables para los problemas de machine learning, más allá de una matriz de correlación.

Instalacion

pip install target-describe

Modos disponibles

Por el momento solo soporta problemas de clasificación binaria, poco a poco soportará problemas de regresión y clasificación multiple

Ejemplo de uso

La libreria hace uso de Plotly, por lo que se recomienda su uso en Jupyter Notebook

import pandas as pd
from target_describe import targetDescribe
df = pd.read_csv(
    "https://raw.githubusercontent.com/datasciencedojo/datasets/master/titanic.csv"
)

td = targetDescribe(df,"Survived", problem="binary_classification")
td.all_associations()
hola hola2

Sin embargo tambien puedes hacer uso de la libreria mediante un script de python exportando directamente los gráficos en html.

import pandas as pd
from target_describe import targetDescribe
df = pd.read_csv(
    "https://raw.githubusercontent.com/datasciencedojo/datasets/master/titanic.csv"
)

td = targetDescribe(df,"Survived", problem="binary_classification")
td.all_associations(export=True)

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

target_describe-0.0.3.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

target_describe-0.0.3-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file target_describe-0.0.3.tar.gz.

File metadata

  • Download URL: target_describe-0.0.3.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for target_describe-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0fc761d2972ed1191358d5c0622a62128562d163788570f4ff361aa76a49f95b
MD5 20b14455611371b0c32bcdf8862f2e30
BLAKE2b-256 0b974094dd4045dce2390135b83040099ff215b66b886cc33d715f0759b6f063

See more details on using hashes here.

File details

Details for the file target_describe-0.0.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for target_describe-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 13628031bf0631f381c859a73b2904e11b52a5cb34e751aeecaa49ee1703c8fe
MD5 9354afd20264cf909abf3ce2cabaa8bf
BLAKE2b-256 b8d8186aba59ecd5e785cdf2e1300afb7ab1f03028ef17cc85bcd0170c36a4d8

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