yasiu-vis


Nameyasiu-vis JSON
Version 0.6.1 PyPI version JSON
download
home_pageNone
SummaryHigh level visualisation for pandas and keras, based on matplotlib
upload_time2025-01-03 00:03:45
maintainerGrzegorz Krug
docs_urlNone
authorGrzegorz Krug
requires_python>=3.7
licenseMIT
keywords numpy matplotlib pandas visualisation dataframe pyplot keras tensorflow
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Readme of `yasiu-vis`

High level functions, to quickly visualise data frames.

# Installation

```shell
pip install yasiu-vis
```
# Modules list
- **ykeras**: Visualisation made for keras.Model
- **ypandas**: Visualisation made for pandas.DataFrame

# Examples

## Pandas - Drawing data frame

```py
from yasiu_vis.ypandas import summary_plot


# df: pandas.DataFrame
summary_plot(df, split_windows='group')
summary_plot(
    df, group_key='petal width (cm)', max_groups=4,
    plot_params=dict(alpha=0.7),
)

```
<!-- ![Summary Plot](./pics/summaryPlot.png) -->
![Dataset Summary Plot](https://raw.githubusercontent.com/GrzegorzKrug/yasiu-vis/refs/heads/main/pics/summaryPlot.png)

## Keras - Ploting Neural Network layers
```py
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](./pics/kerasLayers.png) -->
![Keras Weights](https://github.com/GrzegorzKrug/yasiu-vis/blob/main/pics/kerasLayers.png?raw=true)

# All packages

[1. Native Package](https://pypi.org/project/yasiu-native/)

[2. Math Package](https://pypi.org/project/yasiu-math/)

[3. Image Package](https://pypi.org/project/yasiu-image/)

[4. Visualisation Package](https://pypi.org/project/yasiu-vis/)


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "yasiu-vis",
    "maintainer": "Grzegorz Krug",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "kruggrzegorz@gmail.com",
    "keywords": "numpy, matplotlib, pandas, visualisation, dataframe, pyplot, keras, tensorflow",
    "author": "Grzegorz Krug",
    "author_email": "kruggrzegorz@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/10/a8/e99911f5349c16efe2caf7d7793eaecceeb4b6c18492610e9cc5f226db3f/yasiu_vis-0.6.1.tar.gz",
    "platform": null,
    "description": "# Readme of `yasiu-vis`\n\nHigh level functions, to quickly visualise data frames.\n\n# Installation\n\n```shell\npip install yasiu-vis\n```\n# Modules list\n- **ykeras**: Visualisation made for keras.Model\n- **ypandas**: Visualisation made for pandas.DataFrame\n\n# Examples\n\n## Pandas - Drawing data frame\n\n```py\nfrom yasiu_vis.ypandas import summary_plot\n\n\n# df: pandas.DataFrame\nsummary_plot(df, split_windows='group')\nsummary_plot(\n    df, group_key='petal width (cm)', max_groups=4,\n    plot_params=dict(alpha=0.7),\n)\n\n```\n<!-- ![Summary Plot](./pics/summaryPlot.png) -->\n![Dataset Summary Plot](https://raw.githubusercontent.com/GrzegorzKrug/yasiu-vis/refs/heads/main/pics/summaryPlot.png)\n\n## Keras - Ploting Neural Network layers\n```py\nfrom yasiu_vis.ykeras import plotLayersWeights\nfrom matpotlib import pyplot as plt\nimport keras\n\nmodel : keras.models.Sequential # Keras compiled model\n\nplotLayersWeights(model.layers, innerCanvas=1, figsize=(20, 15), dpi=70, scaleWeights=1000)\nplt.suptitle(\"Sequnetial model with dense layers. Weights are scaled for readability\", size=20)\nplt.show()\n```\n\n<!-- ![Keras Weights](./pics/kerasLayers.png) -->\n![Keras Weights](https://github.com/GrzegorzKrug/yasiu-vis/blob/main/pics/kerasLayers.png?raw=true)\n\n# All packages\n\n[1. Native Package](https://pypi.org/project/yasiu-native/)\n\n[2. Math Package](https://pypi.org/project/yasiu-math/)\n\n[3. Image Package](https://pypi.org/project/yasiu-image/)\n\n[4. Visualisation Package](https://pypi.org/project/yasiu-vis/)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "High level visualisation for pandas and keras, based on matplotlib",
    "version": "0.6.1",
    "project_urls": {
        "1. Native Package": "https://pypi.org/project/yasiu-native/",
        "2. Math Package": "https://pypi.org/project/yasiu-math/",
        "3. Image Package": "https://pypi.org/project/yasiu-image/",
        "4. Visualisation Package": "https://pypi.org/project/yasiu-vis/",
        "5. Source Code": "https://github.com/GrzegorzKrug/yasiu-vis"
    },
    "split_keywords": [
        "numpy",
        " matplotlib",
        " pandas",
        " visualisation",
        " dataframe",
        " pyplot",
        " keras",
        " tensorflow"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "935be6b08326693847a0dd16784d71089330aefdff111de1c5d53b74219d30bf",
                "md5": "6e798465ca7b64fdf9899ab9d9d3922a",
                "sha256": "fc4e156096c740ded2d676fa28d272eeefa5c21aeffb2b3255980a0ad33ba701"
            },
            "downloads": -1,
            "filename": "yasiu_vis-0.6.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6e798465ca7b64fdf9899ab9d9d3922a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 10628,
            "upload_time": "2025-01-03T00:03:43",
            "upload_time_iso_8601": "2025-01-03T00:03:43.250356Z",
            "url": "https://files.pythonhosted.org/packages/93/5b/e6b08326693847a0dd16784d71089330aefdff111de1c5d53b74219d30bf/yasiu_vis-0.6.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "10a8e99911f5349c16efe2caf7d7793eaecceeb4b6c18492610e9cc5f226db3f",
                "md5": "3c0e42e19cb932c33f3cb09f04d6e32e",
                "sha256": "f5346024ed1cd5771db7c39b59326e36dd339efdc2a2495411317e9cfdad2839"
            },
            "downloads": -1,
            "filename": "yasiu_vis-0.6.1.tar.gz",
            "has_sig": false,
            "md5_digest": "3c0e42e19cb932c33f3cb09f04d6e32e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 13816,
            "upload_time": "2025-01-03T00:03:45",
            "upload_time_iso_8601": "2025-01-03T00:03:45.683307Z",
            "url": "https://files.pythonhosted.org/packages/10/a8/e99911f5349c16efe2caf7d7793eaecceeb4b6c18492610e9cc5f226db3f/yasiu_vis-0.6.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-03 00:03:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GrzegorzKrug",
    "github_project": "yasiu-vis",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "yasiu-vis"
}
        
Elapsed time: 0.43314s