Your Cart
Loading

Predictive Maintenance Dashboard Starter (C-MAPSS turbofan example): a Localpane Starter

On Sale
$39.00
$39.00
Added to cart

A working Python project for predicting remaining useful life and near-term failure risk from run-to-failure sensor data, with a dashboard. One TOML config maps your columns, so the same code runs NASA's C-MAPSS turbofan simulation and your own CSV or Parquet files. It splits by unit, normalises per operating condition on training units only, and promotes a model only when it passes smoke, contract, data and validation-quality gates, with an audit trail and rollback. A drift monitor separates a faulty sensor from normal wear, and an analyst explains each prediction citing only real evidence. CPU only, 70 tests, a start-here guide.


What's inside

  • pmstarter Python package (about 3,100 lines): config-driven loading (CSV, space-separated text, Parquet; cycles or timestamps), unit-level splits, operating conditions (rounding or k-means), causal window features, scikit-learn models (ridge, random forest, gradient boosting)
  • Model registry with four promotion gates, overrides with a recorded reason, rollback
  • Drift monitor: replay with PSI against the stream's own warm-up, isolated-shift alarm, fault injection
  • Evidence-grounded analyst: deterministic by default; optional OpenAI-compatible LLM (off by default, no keys included) behind a citation and number guard
  • FastAPI service, a four-page dashboard (plain HTML/JS, no build step) and a one-file static export
  • Configs for NASA C-MAPSS FD001 and FD002 plus a synthetic pump fleet with a different file layout, and a commented template for your data
  • START-HERE.md: setup, a five-minute run, the C-MAPSS example, a step-by-step "adapt it to your data" walkthrough, architecture, how the gates, the drift monitor and the analyst work, API, limits
  • 70 tests (about 15 seconds), scripts/verify-starter.sh (fresh install from the zip, tests, both examples)
  • EXAMPLE-RUN.md: recorded results on C-MAPSS FD001 (gradient boosting, test RMSE 14.54 cycles at each engine's last reading, 95% interval 12.0 to 17.3 over 100 test engines)


Who it's for

  • Freelance data engineers and analytics consultants who need a documented, testable starting point for a client's predictive-maintenance proof of concept
  • Capstone and master's students working on remaining-useful-life prediction who want a clean baseline, honest evaluation and a dashboard to present
  • Engineers who want to see the pieces around the model (splits, gates, drift, grounded explanations) in one small codebase

Not for: anyone looking for a production platform, deep-learning models, live streaming ingestion or a guaranteed accuracy on their equipment.


Prerequisites

  • Python 3.11 or newer; tested on macOS (Apple Silicon) with Python 3.12 and 3.13. Linux and Windows not yet tested.
  • Comfortable with pandas and scikit-learn basics; no web development needed to use the dashboard
  • Run-to-failure data (several units observed until failure) to adapt it to


Data note

NASA C-MAPSS is not included: a script downloads it from NASA and checks every file against pinned SHA-256 hashes (NASA attaches no explicit licence to the data set, so it is not redistributed). The synthetic pump data is generated locally.


Licence

Single-developer licence: use and modify the code, including in your own and your clients' products; no resale or redistribution of the starter itself, no public repositories of it. Free updates within 1.x.


Uses NASA's public C-MAPSS turbofan simulation dataset (not included). Not affiliated with, sponsored by or endorsed by NASA.

Refunds: within 14 days of purchase if a file is defective or not as described. Contact me through the store's Contact button. This doesn't affect any rights you have under the law where you live.

Licence summary: payhip.com/u1791141470733132530294/licences

You will get a ZIP (112KB) file