Skip to content
项目

关于

A Python package for advanced heatmap visualization and matrix analysis, featuring mosaic/proportional heatmaps, confusion matrix post-processing, and spectral reordering capabilities.

其他项目

这些数字如何统计

可以做什么

  • Mosaic HeatmapVisualize matrix values with proportionally-sized cells.
  • Automatic Model Calibration (AMC)Align, Mask, and Confusion—an algorithm for post-processing confusion matrices.
  • Spectral ReorderingReorder matrices based on spectral analysis.
  • RMS (Reverse Merge/Split) AnalysisPerform advanced permutation analysis to explore matrix structures.

实测星标增长

24小时
+6
7天
+37
15天
+87
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

mheatmap logo mheatmap

PyPI version License: MIT

A Python package for advanced heatmap visualization and matrix analysis, featuring mosaic/proportional heatmaps, confusion matrix post-processing, and spectral reordering capabilities.


📋 Table of Contents

  1. 🚀 Features
  2. 📦 Installation
  3. 📘 Documentation
  4. 📚 Examples
  5. 🛠 Contributing
  6. 📝 License

🚀 Features

  • Mosaic Heatmap
    Visualize matrix values with proportionally-sized cells.
    Comparison between normal and mosaic heatmap

  • Automatic Model Calibration (AMC)
    Align, Mask, and Confusion—an algorithm for post-processing confusion matrices.

  • Spectral Reordering
    Reorder matrices based on spectral analysis. Spectral reordering example

  • RMS (Reverse Merge/Split) Analysis
    Perform advanced permutation analysis to explore matrix structures.
    RMS permutation example


📦 Installation

Install from PyPI

pip install mheatmap

Install from source

git clone https://github.com/qqgjyx/mheatmap.git
cd mheatmap
pip install .

Development setup

uv sync --extra dev      # Install with dev tools (pytest, ruff, pre-commit)
uv run pytest            # Run tests
uv run ruff check src/   # Lint
uv run ruff format src/  # Format

📘 Documentation

Comprehensive documentation is available here.

📚 Examples

See Examples for more detailed examples.

🛠 Contributing

We welcome contributions to improve mheatmap! Please follow these steps:

  1. Fork the repository
  2. Create a new branch (feature-branch)
  3. Commit your changes
  4. Open a pull request

📝 License

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

探索相关项目

加载中…