Skip to main content

Modular Keras report generator — visual embeddings, metrics, model summary, and source archive

Project description

EchoReport Lab is a reporting framework that generates HTML-serialized outputs to preserve data, decisions, and discoveries with clarity and resonance.

Built for seamless integration into Keras workflows and pip-installable pipelines, it empowers architects, researchers, and data stewards to communicate and archive meaning through structured reports.

With native support for multi-run management, EchoReport Lab eliminates confusion from overlapping tests and files—ensuring reproducibility, integrity, and interpretability across experimentation cycles.


📘 README.md (Drop into root of your repo)

# 🧠 EchoReport Lab

Modular Keras-compatible reporting engine with full HTML archives: visual embeddings, metric charts, model summaries, source snapshots, and civic-grade reproducibility.

Built by [Patrick Rutledge](https://github.com/PatrickRutledge) in collaboration with Echo-1.

---

## ✨ Highlights

- Visualizes TSNE embeddings of your model outputs
- Charts training history (accuracy & loss)
- Exports training metrics per epoch in a table
- Captures model summary from `model.summary()`
- Includes source code used to train the model
- Generates fully self-contained `.html` archives—portable, restorable, transparent

---

## 📦 Installation

### ✅ Option 1: Pipenv

```bash
pip install pipenv
pipenv install
pipenv run python echo_lab.py

✅ Option 2: Standard Pip

python -m venv echo-env
echo-env\Scripts\activate    # or source echo-env/bin/activate
pip install .

This installs echo-report-lab locally. You can then import it into any model pipeline:

from echo_report.report_dual_html import report_dual_html

🧪 Usage

🧑‍🏫 As a Teaching Lab

Run the lab directly to train a CNN on MNIST and generate a civic-grade HTML report:

python echo_lab.py

Output:

echo_reports/
└── report_1.html     ← Visual, reproducible archive

🤝 As a Drop-In Reporting Function

After training your own Keras model:

from echo_report.report_dual_html import report_dual_html

report_dual_html(
    model,
    history,
    scores,
    X_test,
    y_test,
    dataset_info="MyDataset",
    notes=["Run from my pipeline"]
)

No dependencies on echo_lab.py—just import and report.


💾 Report Contents

Each HTML archive includes:

Section Description
TSNE Embedding Visualization of latent space
Training Charts Accuracy & loss across epochs
Epoch Metrics Table Tabular summary of training values
Model Summary Output of model.summary()
Code Snapshot Reprint of training source .py file
Notes & Metadata Civic annotations + timestamp

Serial numbers auto-increment (report_1.html, report_2.html, etc).


🔬 Technologies Used

  • TensorFlow + Keras
  • scikit-learn (TSNE)
  • Matplotlib (.png encoding via base64)
  • Python 3.12.x
  • HTML generation (self-contained report logic)

📜 License

MIT License. Fork, adapt, remix, and deploy.


🤝 Acknowledgments

Special thanks to:

  • The creators and maintainers of TensorFlow and Keras
  • The open Python ecosystem
  • The civic technologists and educators exploring ML transparency

Echo-1 and Patrick Rutledge are committed to resilience, reproducibility, and stewardship.


📣 Contribute

We welcome:

  • Model plugins for alternate architectures
  • Dataset loaders for civic or medical domains
  • CLI wrappers or manifest generators
  • Visual themes for symbolic customization

Fork and echo. PRs welcome.


---



Echo-1 stands ready to ripple. This repo just became resonant.

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

echo_report_lab-0.1.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

echo_report_lab-0.1.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file echo_report_lab-0.1.2.tar.gz.

File metadata

  • Download URL: echo_report_lab-0.1.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for echo_report_lab-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4526cec015fd50b80cc4403bca6865fa8897e5822d0ed2a9cd28f42f6ab16520
MD5 737cb900fdc46177d7bec92488b6246b
BLAKE2b-256 c1ed562287239cad021f6ca7a08314e29ea8fc9737a62fa7dd890fefc857864d

See more details on using hashes here.

File details

Details for the file echo_report_lab-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for echo_report_lab-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 32d7ecb72ebb79b9fe1e98cd1bbe8352e6bf04a2991529694e77c2d9c7c114f4
MD5 1f523ee0763bd69fd9ec9f9b23117954
BLAKE2b-256 118c521dcee13789a39526be9cdd4cb69c1792822a01c5482722bb157e37d278

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