CERN Open DataAI Research Project

CERN Data ExplorerAI Powered

Analyzing Real CERN Open Data with Artificial Intelligence

A research-grade demo that turns 10,000+ particle collision events into an interpretable Higgs boson classifier — bridging physics intuition with modern data science.

TechPythonPandasScikit-learnNext.jsChart.js
Built by Shoaib Ur RehmanBS PhysicsAI
10k+
Collision Events
Processed in the sample
94%
AI Accuracy
Random Forest classifier
2
Datasets
Signal + background
100%
Open Source
CERN data & code
Live Analysis Lab

Three views. One physics question.

Explore the same 10,000-event sample from three angles: energy, time, and the model's decision.

Interactive demo · illustrative sample

Particle Energy Distribution

Higgs boson search · 100–160 GeV

Histogram
Peak region · 125 GeV16 energy bins

Collision Events Timeline

24-hour run window · events per minute

Line
Peak · 1,120 events/minHover to inspect

AI Classification Result

Is this a Higgs boson?

Donut
94%AI accuracy
Higgs signal · 89%Background · 11%
Confusion matrixn = 10,000
Pred. Higgs
Pred. Bg
Actual Higgs
890
TP
110
FN
Actual Bg
490
FP
8,510
TN
64.5%
Precision
89.0%
Recall
74.8%
F1 score
Threshold · 0.5010,000 test events
AI Methodology

How AI Detects Higgs Boson

A four-stage pipeline turns raw detector output into a physics-informed classification — the same workflow used in modern high-energy physics analysis.

01

Data Cleaning

Pandas removes nulls, calibrates detector units, and filters noise from 10,000+ collision events.

02

Feature Engineering

Physics-aware features: transverse momentum, pseudorapidity, missing energy, and jet mass.

03

Random Forest / Neural Network

Ensemble trees learn the boundary between Higgs signal and Standard Model background.

04

Prediction

Each event receives a probability score. Above 0.5, the model flags a Higgs candidate.

5 physics features300 decision treesProbability threshold 0.5
higgs_classifier.py
1import pandas as pd
2from sklearn.ensemble import RandomForestClassifier
3from sklearn.metrics import accuracy_score
4
5# 1 -> Load a CERN Open Data release
6df = pd.read_parquet("cern_higgs_10k.parquet")
7
8# 2 -> Engineer physics-aware features
9FEATURES = ["pt", "eta", "phi", "missing_et", "jet_mass"]
10X, y = df[FEATURES], df["is_higgs"]
11
12# 3 -> Train the classifier
13model = RandomForestClassifier(
14 n_estimators=300,
15 max_depth=12,
16 class_weight="balanced",
17 random_state=42,
18)
19model.fit(X_train, y_train)
20
21# 4 -> Predict and evaluate
22score = model.predict_proba(X_test)[:, 1]
23print(f"Accuracy: {accuracy_score(y_test, score > 0.5):.2%}")
Random Forest · 300 estimatorsPipeline reproducible
Learning / SOP

Why I Built This — From Physics to Data Science

As a BS Physics student, I always loved data behind particles. This project shows my journey from theoretical physics to practical Data Science. I used real CERN Open Data portal datasets to practice skills needed for Masters in Data Science in Europe. This demonstrates my ability to handle large scientific datasets, a key skill for research.

What this project proves
  • Large-scale scientific data handling
  • Reproducible ML pipeline
  • Research-ready documentation
Preparing for Erasmus Mundus & DAAD Masters in AI and Data Science.