Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manufacturing Process Knowledge Graph & Root-Cause Analytics

An end-to-end Neo4j-based manufacturing analytics platform that models production data as a knowledge graph and performs explainable root-cause analysis of quality failures.

Problem

Manufacturing quality problems often involve relationships between machines, process parameters, materials, batches and measurements.

Traditional tabular analysis can make these relationships difficult to investigate.

This project models manufacturing processes as a knowledge graph to enable relationship-aware root-cause analysis.

Architecture

Manufacturing Data ↓ Python ETL Pipeline ↓ Neo4j Knowledge Graph ↓ Cypher Analytics ↓ Python Root-Cause Engine ↓ Streamlit Dashboard ↓ Explainable Graph Visualization

Technologies

  • Python
  • Neo4j
  • Cypher
  • Pandas
  • Streamlit
  • Graphviz
  • pytest
  • Git

Knowledge Graph

Example entities:

  • Batch
  • Product
  • ProcessRun
  • Machine
  • Process
  • Material
  • Measurement

Relationships capture how manufacturing entities interact during production.

Example:

Batch → ProcessRun → Machine

Batch → ProcessRun → Material

Batch → ProcessRun → Measurement

Root-Cause Analysis

The RCA engine analyzes evidence related to:

  • abnormal process parameters
  • machine history
  • material lots
  • manufacturing relationships
  • quality outcomes

Potential causes are ranked using evidence scores.

The scores represent evidence prioritization and should not be interpreted as causal probabilities.

Dashboard

The Streamlit dashboard provides:

  • manufacturing batch selection
  • quality-status overview
  • ranked root-cause evidence
  • knowledge-graph visualization
  • manufacturing relationship explorer
  • detailed RCA output
  • JSON report export
  • CSV evidence export

Testing

Run:

pytest -v

About

Neo4j-based manufacturing knowledge graph with Python ETL, Cypher analytics, automated root-cause analysis, and an interactive Streamlit dashboard.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages