PAVEL SMAGLO
contact

→Data Scientistdata analytics · ML · CV · AI automation

I train models
and take them
to production

I build analytics systems, ML models and autonomous AI architectures.

20+in production
3M+in the analytics db
300%key metric growth
scroll
01

About me

I specialise in turning scattered data into management decisions.

what sets me apart
Five years of project management + five years in data = ML solutions that actually ship to production — not ones that stay in jupyter notebooks.
pavel@ds ~ %
experience5+ yrs PM · 5 yrs in data
industryData & AI automation
approachFrom data to product
budgetsup to $250K
in production
20+
projects shipped to production with real users.
in the analytics db
3M+
records on athletes, coaches, venues and results.
key metric growth
300%
newsletter conversion growth after model-based segmentation.
02

Selected cases

Eight projects — from interactive analytics dashboards and a global swimming world map to autonomous AI pipelines and a privacy-first clinical app.

index · click a card to jump to the case08
russwimming.ru/dev-map2024–2026
Interactive map of water-sports development across Russia
3M+
records
in db
10+
data
sources
3,600+
pools
on map
CASE 01Data Engineering & Visualization

A development map of water sports in Russia

An interactive analytics dashboard for the leadership of the Russian Water Sports Federation: from scattered Excel files to a single data-driven decision system.

Problem

Data on athletes, coaches, venues and results was stored across dozens of separate files and systems. Preparing a single analytics report took weeks of manual work. Leadership had no holistic view of the industry.

Solution

  • Designed a relational DB (15+ tables, PostgreSQL) to unify all sources
  • Geocoding — placed 3,600+ pools across Russia on an interactive map
  • A composite index of regions from 124 absolute and 60 aggregated metrics
  • Dashboard with regional rankings, heatmaps and filters
  • Index system: infrastructure availability, staffing, participation

Result

Leadership got a decision-making tool: where infrastructure is overloaded, where it's underused, which regions are drivers. The ability to model the effect of investments.

PythonPostgreSQLClickHouseDataLensPower BIGeoJSONETL
Open the interactive map →
плаваниедлявсех.рус7 days
Official portal of the Swimming for All program
7
calendar days
to launch
20
video lessons
on board
2
interface
languages
CASE 02Web Platform & Rapid Delivery

The official portal of a federal program — in 7 calendar days

From zero to a launched product in a week: video courses, a pool map with geo-search, a per-region dashboard, an admin panel and an application intake flow — all in one bilingual portal.

Problem

The inter-ministerial program "Swimming for All" needed an official public portal — content, maps, data and applications — on a hard deadline, not in a quarter.

Solution

  • A video-course module: 2 courses, 20 lessons, watchable right on the portal
  • A pool map with "Near me" geo-search
  • A dashboard of program indicators broken down by region
  • An application form for joining the program, with automatic notification of the officials in charge
  • A full admin panel: content, news and data are managed without a developer

Result

From first commit to a live public portal in 7 calendar days — in Russian and English, with content and data maintained through the admin panel ever since.

ReactViteInteractive MapDashboardAdmin PanelRU / EN
Open the portal →
smaglo.space/swimming198 countries
Interactive world map of swimming-education development (SDI)
198
countries
indexed
8
scoring
criteria
0–100
index
scale
CASE 03Data Research & Geo-Visualization

A world map of swimming development

From a Russia dashboard to the global picture: an interactive world map that ranks 198 countries by a Swimming-Education Development Index (SDI), built on deep research of official sources.

Problem

There was no single, comparable picture of how countries develop mass swimming education and water safety. The data was scattered across national federations, ministries and methodology documents in dozens of languages.

Solution

  • Designed the SDI index — 8 weighted criteria (0–5 scale, weights sum to 100) with a transparent formula
  • Deep-research profiles for 198 countries from official sources: federations, ministries, statistics, methodologies
  • Interactive D3 + TopoJSON world map: country search, tooltips, side panel and colour legend
  • A drill-down page per country plus an open, documented scoring methodology

Result

A single tool to compare countries, separate leaders from laggards and ground decisions in transparent, reproducible scoring.

D3.jsTopoJSONGeoJSONDeep ResearchIndex DesignJavaScript
Open the world map →
shap_summary.ipynbLightGBM
Medal forecast model
91.6%
forecast
accuracy
5
success
factors
4
models
compared
CASE 04Machine Learning & Interpretability

Predictive model: who wins a medal?

A model that estimates each athlete's medal chances from the dynamics of their results — and explains every verdict, instead of a black-box score.

Problem

The federation funds the training of hundreds of athletes, but the budget is limited. Coaches pick candidates intuitively — subjectively and without common criteria.

Solution

  • Compared four ML algorithms and chose the best by cross-validation (LightGBM)
  • Tuned hyperparameters over 40 iterations (RandomizedSearchCV)
  • Used SHAP to surface and rank the handful of signals that actually move the outcome
  • Checked class imbalance effect (SMOTE/SMOTENC) — the ceiling is set by data quality

Result

The model flags future medalists with 91.6% accuracy. Behind every verdict is a multi-factor read of the athlete's trajectory, and each prediction ships with its own explanation — while the decisive signals stay under the hood.

LightGBMSHAPscikit-learnRandomizedSearchCVSMOTEPython
pose_analysis.mp4 · outputNDA
Athlete technique analysis from video
up to 116
skeleton
points
24
realtime
charts
∞
videos
at once
CASE 05Computer Vision & BiomechanicsNDA

Analysing athlete technique from video

A computer-vision system that builds a digital skeleton of an athlete from video, measures joint angles and detects movement asymmetries.

Problem

A coach judges technique by eye — but misses micro-asymmetries that reduce efficiency and raise injury risk. Objective numbers are needed: angles, ranges, side balance.

Solution

  • 17 key body points in every frame (YOLOv8 / MediaPipe)
  • Angles for each joint, broken down by movement phase
  • Automatic left/right comparison — flags asymmetries
  • Export to a report with charts to track progress between sessions

Result

Coaches got objective metrics instead of subjective judgement. Athletes correct movements faster and lower injury risk thanks to early imbalance diagnosis.

YOLOv8MediaPipeOpenCVnumpymatplotlib
blood_cells_detection.pngFaster R-CNN
Blood cell detection
3
cell
types
0.9+
model
confidence
~1s
per
image
CASE 06Computer Vision & Object Detection

Blood cell detection on microscope images

A neural network that finds and classifies red cells, white cells and platelets on blood-smear images — instantly and without a lab technician.

Problem

Lab technicians count blood cells by hand under a microscope — slow, tiring and error-prone. One image takes minutes, and there are dozens a day.

Solution

  • Faster R-CNN (ResNet50-FPN v2), fine-tuned on blood-smear images
  • Three classes in one pass: red cells, white cells, platelets
  • Transfer learning — adapted in 10 epochs from ImageNet weights
  • Each cell boxed with class and confidence

Result

The model confidently detects cells at 0.9+ confidence. One image — in a second instead of minutes of manual counting. A ready base for integration into lab systems.

Faster R-CNNResNet50-FPNPyTorchtorchvisionTransfer Learning
report pipeline · run tree1000+ docs
Agentic report pipeline
9
parallel
sub-agents
1000+
documents
per report
1
command
«Go!»
CASE 07AI Engineering & Agent Orchestration

An agentic pipeline for fund reports

One "Go!" turns 1000+ source documents (~1.5 GB of scans, contracts and estimates) into a fund-ready, financially-audited DOCX — orchestrated across deterministic Python and a fleet of parallel sub-agents.

Problem

Official grant reports demand a DOCX with a line-by-line financial audit, assembled from 1000+ messy scans, contracts, payment orders and estimates. By hand it's days of tedious, error-prone work.

Solution

  • An orchestrator runs the process; Python scripts do the deterministic part — indexing, extraction, DOCX assembly, financial audit
  • 6 parallel OCR sub-agents read scans, contracts and payment orders; 3 more parse the finances and write the narrative sections
  • Confidential financial and personal data is processed by local, on-device models — nothing sensitive ever leaves the machine
  • A document-linking graph and triangulated audit reconcile every figure against limits and primary documents
  • Per-row Word comments, an auto "remarks to check" doc and a clean fund-ready copy — then a mandatory self-review pass

Result

1000+ source documents (~1.5 GB) → an audited, fund-ready report in a single run, every line cross-checked and commented. Days of manual work collapse into minutes.

AI OrchestratorSub-agentsLocal LLMOCRpython-docxFinancial AuditOrchestration
medlab · closed loopNDA
MedLab — access-controlled medical app
30K+
lab tests
structured
3
access
roles
0
data leaves
the loop
CASE 08Healthcare · Privacy-by-designNDA

A closed-loop app for athlete health data

A clinical app for sports medicine: it parses lab reports into structured markers, tracks trends against a reference-value catalog, and exports PDF/XLSX — behind role-based access and a full audit trail. Special-category medical data never leaves the closed loop.

Problem

Athletes' lab results — special-category personal data — were scattered across PDFs from different labs. Doctors needed trends over time in one place, but cloud services are a non-starter for sensitive medical data.

Solution

  • Parses lab-report PDFs / XLSX from many labs into structured markers (athlete → report → test)
  • Trends over time per marker, normalized against a reference-value catalog; dashboards and PDF/XLSX export
  • Role-based access (admin / medic / viewer) with per-record scoping, brute-force protection and a full audit log of every action
  • Closed loop by design: runs on-prem / behind a corporate VPN, isolated from the public internet; encrypted off-box backups
  • A companion smartphone app for access on the go

Result

Doctors get longitudinal trends and instant reports; the organization keeps full control — medical data stays inside the perimeter, every access is logged, and nothing goes to the cloud.

FastAPIPythonSQLitePDF parsingRBACAudit logOn-premMobile
03

Tech stack

Tools I'm confident in and use in production.

AI agents & LLM
Claude APIOpenAI APIAgent orchestrationSub-agentsRAGHybrid searchMCPStructured outputEvalsn8n
Computer Vision
YOLO11SAM 2MediaPipePose estimationOpenCVFaster R-CNN
Machine Learning
LightGBMXGBoostCatBoostPyTorchSHAPOptunascikit-learnpandaspolars
Data Engineering
PostgreSQLPostGISClickHouseDuckDBdbtETL / pipelines
Product & infra
FastAPIReactDockerOn-premRBACTelegram botsGit
Visualization
D3.jsDataLensPower BIStreamlit
04

How to work with me

For 90% of tasks you don't need a separate dev team — one specialist plus automation covers the same work. You work with me directly: no agency markup, no team on payroll — so it costs a fraction of a team.

// The first call is free and commitment-free. I quote the exact figure after the diagnostic.
AI diagnostic
for those unsure whether they need AI and where to start
free
review + report in 3–5 days · no commitment
    what you get

    A clear map: what to do first, what it yields in money, and whether to start at all — before you've spent a dollar on development.

    Start with a diagnostic
    Turnkey build
    one task, fixed price, a working result
    fixed per project · 2–4 weeks · price known upfront
      what you get

      Your first measurable AI result inside your own systems — in weeks, not half a year. Then you decide on facts: scale, stop, or move to a subscription.

      Discuss your task
      // why a subscription

      Why a subscription beats hiring and agencies

      Start with a free chat. Scope and format are flexible — stop or pause at any step, no penalties or long contracts.

      Got a data
      challenge ↗

      Open to collaboration and new projects in data and automation. I reply fast — reach out on any channel.

      AI Doomsday Clock↗ —d00:00:00 until humanity loses control over AI