Skip to main content

High level visualisation for pandas and keras, based on matplotlib

Project description

Readme of yasiu-vis

High level functions to visualise data.

Installation

pip install yasiu-vis

Modules list

  • ykeras: Visualisation made for keras.Model
  • ypandas: Visualisation made for pandas.DataFrame

Examples

Pandas - Drawing data frame

from yasiu_vis.ypandas import summary_plot


# df is DataFrame
df: pandas.DataFrame

# Histogram of each fature
summary_plot(df)

# Plotted grouped by 1 column
summary_plot(df, split_windows='group')

# More params
summary_plot(
    df, group_key='petal width (cm)', max_groups=4,
    logy=False, desired_rows=2,
    figure_params=dict(figsize=(12,7)),
    plot_params=dict(alpha=0.7),
    split_windows="None",
)

Dataset Summary Plot

Dataset Summary Plot

Keras - Ploting Neural Network layers

from yasiu_vis.ykeras import plotLayersWeights
from matpotlib import pyplot as plt
import keras

model : keras.models.Sequential # Keras compiled model

plotLayersWeights(model.layers, innerCanvas=1, figsize=(20, 15), dpi=70, scaleWeights=1000)
plt.suptitle("Sequnetial model with dense layers. Weights are scaled for readability", size=20)
plt.show()

Keras Weights

All packages

1. Native Package

2. Math Package

3. Image Package

4. Visualisation Package

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

yasiu_vis-0.6.3.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

yasiu_vis-0.6.3-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file yasiu_vis-0.6.3.tar.gz.

File metadata

  • Download URL: yasiu_vis-0.6.3.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yasiu_vis-0.6.3.tar.gz
Algorithm Hash digest
SHA256 83dc198f78bfafc346485b63e439cd282c4f0c69984f979e52a41d73773eea87
MD5 51ff1ad1a386efccaf5d1ed2f8d591a1
BLAKE2b-256 dd15383224aa0fbf40efda6f05baaf3351f18b2217cf95a206d88bc73a95a2b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for yasiu_vis-0.6.3.tar.gz:

Publisher: python-publish.yml on GrzegorzKrug/yasiu-vis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yasiu_vis-0.6.3-py3-none-any.whl.

File metadata

  • Download URL: yasiu_vis-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yasiu_vis-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4e4e54350bdb86cf332f8001218f57e008d9c000a22658eed077eac2754df860
MD5 cd71b08904cbfcbebc0ba44f63607f40
BLAKE2b-256 4328188b01abd5f2f28266853b170e61f265515cd62145f259721c8a1f649046

See more details on using hashes here.

Provenance

The following attestation bundles were made for yasiu_vis-0.6.3-py3-none-any.whl:

Publisher: python-publish.yml on GrzegorzKrug/yasiu-vis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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