Lead data scientist · Los Angeles

Ali Lehrman

I build end-to-end AI systems, from offline speech-to-text and OCR pipelines for Air Force flight test to a live LLM- and vision-powered app for knitting and crochet designers.

data science, stitched by hand
Scroll
01 · About

Careful models,
made to run.

Five years of turning flight-test data into decisions with Bayesian models, computer vision and pipelines that run without anyone babysitting them. Outside work I design crochet patterns, and I built the software I wanted for it.

Now
Lead Data Scientist, U.S. Air Force
Building
NodeStitch
Studying
MS Data Science, UC Riverside
Before that
Recruiting & sales
Based in
Los Angeles Metro, CA
More about me →
0%less post-flight analysis time, from automated pilot-audio transcription
0%less media retrieval time, from an iterative OCR loop that reads IRIG time from video
0+ yrsbuilding ML, computer vision and Bayesian tools for flight test
02 · Experience

Where I work.

March 2021 – Present · Edwards, CA

Lead Data Scientist

United States Air Force
  • Lead and mentor a team of statistical data analysts supporting flight test, and help shape hiring strategy, recruiting events and interviews.
  • Introduced the organization's first automated audio transcription capability, running open-source ASR models offline on Databricks and AWS. Exact, real-time pilot communications replaced post-flight surveys and engineers' notes, cutting post-flight analysis time by over 95%.
  • Engineered an iterative computer-vision algorithm that reads IRIG time from video frames through an automated OCR feedback loop, adjusting cut parameters until a user-set tolerance is met. Media retrieval time dropped by over 99%.
  • Developed a Bayesian beta-binomial reliability model that sets optimal test sample sizes by simulating synthetic test sequences, replacing stakeholder judgment with an objective framework.
  • Designed a simulation-based hypothesis-testing framework comparing legacy and next-generation electronic warfare systems, using Monte Carlo simulation and jackknife resampling for skewed distributions.
  • Built a proof-of-concept speaker diarization pipeline that chunks long recordings, extracts voice embeddings and clusters them to identify unique speakers.
Feb 2026 – Present · Remote

Founder & Developer

  • Built and launched a live production pattern editor for knitting and crochet designers, integrating LLM and vision APIs (Anthropic, Gemini, Fal.ai) for pattern review, stitch counting, handwriting transcription, a RAG help assistant and photo-to-chart conversion.
  • Directed a photo-to-chart computer-vision feature with a rule-based engine that writes row-by-row instructions straight from the chart grid, so written patterns always match the design.
  • Designed a multi-agent QA workflow (Claude Code builds against specs and Vitest/Playwright suites, a browser agent runs exploratory QA on preview builds, human review gates every deploy), cutting the stitch-chart feature's delivery time by an estimated 60%.
Before data science

Recruiting & Sales

Years of working with people and numbers
  • Technical recruiter in the electrical industry, hiring electrical and mechanical engineers, design engineers, technicians and managers. Worked directly with CEOs, presidents and hiring managers to understand their hiring and business needs.
  • Health and Medicare insurance sales. Exceeded my sales goal by 163% and then 176% in two enrollment seasons, closed 44–47% against a 35% goal, and turned 10% of cold calls into in-home appointments, where the average rep converted under 1%.
  • It's why I write analysis for the people who use it. A model only helps if the engineer, the hiring manager or the customer can understand it and act on it.
03 · Projects

Things I've made.

MS thesis · UC Riverside · in progress

Craft Fraud Detector

A data-engineering pipeline that scores Etsy crochet and knitting shops for AI-generated listings, pattern theft and shop flooding. Airflow, PostgreSQL and Docker, with a Bayesian model that combines three signal pillars into one shop score.

0.944F1, cross-validated
1.3%false-positive rate
~270×faster than TabPFN
PythonAirflowPostgreSQLDockerPyTorchBayesian inference
Founder · live product

NodeStitch

A pattern editor for knitting and crochet designers, with stitch charts, photo-to-chart conversion, pattern review and a help assistant built on LLM and vision APIs. It launched in September 2026 to zero sign-ups. After I focused on SEO and answer-engine optimization, accounts grew from 11 in October to 107 in November, and ChatGPT became the biggest source of new ones.

118accounts since the September launch
50%of sign-ups from ChatGPT
10.3%of visitors sign up (30 days)

Since sign-up tracking began Nov 4, 2026 · as of Nov 28, 2026

TypeScriptReactSupabaseSEO & AEOLLM & vision APIs
My pattern shop

Amanita Crochet

Original amigurumi crochet patterns: witches, elves, owls, toads and the odd flying monkey. I design the patterns and built and run the shop.

Pattern designWebStripe
Data engineering · in progress

OpenSky Flight Pipeline

Turns OpenSky's live, history-free aircraft snapshots over the Antelope Valley into a time series of its own, as the base for traffic analytics and anomaly detection.

PythonOAuth2PostgreSQLpytest
Information retrieval

Wikipedia Search Engine

Built from scratch with a team of four over 33,667 Wikipedia law pages: crawler, BM25 and dense-vector indexes, and a Flask app comparing lexical and semantic retrieval.

BM25BERTFlask
Forecasting

TabPFN vs. XGBoost

Zero-shot TabPFN beat tuned XGBoost by 31% RMSE forecasting bearing wear on NASA run-to-failure vibration data.

TabPFNXGBoostFFT
Classification

House Crash Risk

If 2008 happened again, which California counties would be hit hardest? Classifiers trained on 99 western counties, then run forward on today's data.

Pythonscikit-learn
Bayesian statistics

Bayesian Educational Outcomes

Bayesian regression and MCMC in R on 30,641 students to find what predicts exam scores, with model-based imputation for missing data.

RMCMC
04 · Skills

The toolkit.

Predictive ML & stats

  • XGBoost
  • scikit-learn
  • Monte Carlo simulation
  • Bayesian inference
  • Time series
  • Optimization
  • Design of experiments
  • Power analysis

Deep learning & AI

  • PyTorch
  • Transformers
  • Computer vision
  • Neural network optimization
  • AutoGen
  • LLM APIs
  • RAG

MLOps & engineering

  • Python
  • R
  • SQL
  • TypeScript
  • React
  • PostgreSQL / Supabase
  • AWS
  • Databricks
  • Docker
  • GitLab CI/CD
  • Airflow
  • Agentic workflows
  • Claude Code
05 · Education

Schooling.

MS Engineering, Data Science

University of California, Riverside

Expected Dec 2026

BA Statistics and Data Science

University of California, Santa Barbara

Dec 2020

Let's find the patterns
in your data.

Every dataset has one.