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.2.tar.gz (7.0 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.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: target_describe-0.0.2.tar.gz
  • Upload date:
  • Size: 7.0 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.2.tar.gz
Algorithm Hash digest
SHA256 a75e4457342a815af948398bd0aaa535140465468abf3f07f4bae89662929dac
MD5 6557981a2d10db97f1377a5e4d26940d
BLAKE2b-256 32677924f137b34f4ccf10a207c7edc44168b2dc4b0714cc884eee3d1c3d542b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: target_describe-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bda0e738dc8bc5f829a207689b0fa165e813131d2395edca18a0d38e81ccbad1
MD5 567f87ec848ba9a2a02457dec1bd4ce6
BLAKE2b-256 5298032812aae90ce5eb5b65f4ea74fa26181e3c17e0460fd39bd597dcbbb9c9

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