Skip to main content

A package for visualizing data and machine learning model performance

Project description

da_vis

da_vis is a Python package for visualizing data and machine learning model performance. It provides tools for generating various types of plots and dashboards to analyze and present data insights.

Installation

You can install da_vis using pip:

pip install da-vis

Usage

import pandas as pd
from sklearn.datasets import load_iris
from sklearn.ensemble import RandomForestClassifier
from da_vis.visualizer import DataVisualizer

data = load_iris()
df = pd.DataFrame(data.data, columns=data.feature_names)

model = RandomForestClassifier()
model.fit(df, data.target)

visualizer = DataVisualizer(data=df, model=model)

visualizer.correlation_heatmap()
visualizer.feature_distribution('sepal length (cm)')
visualizer.confusion_matrix(data.target, model.predict(df))
visualizer.roc_curve(data.target, model.predict_proba(df))
visualizer.feature_importance()
visualizer.tsne_plot()

Features

  • Correlation Heatmap: Visualizes the correlation matrix of a dataset.
  • Feature Distribution: Plots the distribution of a specific feature.
  • Confusion Matrix: Displays the confusion matrix for model evaluation.
  • ROC Curve: Generates the ROC curve for binary classification models.
  • Feature Importance: Shows feature importance scores for the model.
  • t-SNE Plot: Creates a t-SNE plot for visualizing high-dimensional data.

Contributing

Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests through GitHub issues and pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

da_viz-0.1.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.

da_viz-0.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file da_viz-0.1.tar.gz.

File metadata

  • Download URL: da_viz-0.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for da_viz-0.1.tar.gz
Algorithm Hash digest
SHA256 1b93e640d71f74293333ea20231563d40e2fadebb22acca10160f31eb572b66e
MD5 a56e02acb4cc56b74fcd4a57a8fec165
BLAKE2b-256 54c518fd5fa96bc26c4c6c7a78fba11013fd0df39c79524469cf9293bbaf945f

See more details on using hashes here.

File details

Details for the file da_viz-0.1-py3-none-any.whl.

File metadata

  • Download URL: da_viz-0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for da_viz-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a51d2b0d848d97ec46e0fee42f7a7f902d9c7957ce358fee1be13e7eec534ab8
MD5 6312b249e1743542777f21221a726a51
BLAKE2b-256 418172a9dead6cd115cc1bbd8ed6f2b3024c8aee9867195ef910a1917d077d53

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