Skip to content
View GMCavalheri's full-sized avatar

Block or report GMCavalheri

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
GMCavalheri/README.md

Hi, I'm Gabriel Milanez Cavalheri πŸ‘‹

Reliability Engineering Analyst @ GOL Linhas AΓ©reas | Data Scientist | Data Engineer

Physicist (UFSCar) with an MBA in Artificial Intelligence and Big Data (USP).
I apply data engineering, machine learning and physics-informed models to aircraft reliability, predictive maintenance and engine prognostics.

LinkedIn Portfolio Gmail


πŸš€ About Me

  • ✈️ Engineering Analyst β€” Reliability Engineering at GOL Linhas AΓ©reas: building predictive models, failure-pattern and root-cause analyses, and dashboards that improve the reliability of the Boeing 737 fleet
  • πŸŽ“ MBA in Artificial Intelligence and Big Data β€” Universidade de SΓ£o Paulo (USP ICMC), completed 2026. Monograph: Applying Neuroevolution to the Architecture Search of Physics-Informed Neural Networks, advised by Prof. Dr. Rodrigo Colnago Contreras
  • πŸŽ“ B.Sc. in Physics β€” Universidade Federal de SΓ£o Carlos (UFSCar), 2025, with undergraduate research in applied acoustics
  • πŸ”­ Focused on reliability engineering and prognostics (RUL, Weibull, MTBF), physics-informed ML, and end-to-end data pipelines
  • 🌱 Next on the roadmap: security data engineering and detection engineering, bringing the same data-driven approach to cybersecurity
  • πŸ’¬ Ask me about Python, SQL, Spark, PINNs, reliability metrics, or predictive maintenance
  • 🌎 Based in Mogi GuaΓ§u, SP, Brazil

🧠 What I've Learned Building These Projects

  • Aviation reliability: Weibull failure modeling, MTBF / MTTR / availability, failure Pareto analysis, star-schema reliability data models and interactive fleet dashboards
  • Prognostics & physics-informed ML: Remaining Useful Life prediction on NASA N-CMAPSS, PINNs with physics-based loss terms, neuroevolution and NSGA-II architecture search, fault detection from vibration and engine sensor data
  • Optimization: genetic algorithms (DEAP), multi-objective NSGA-II Pareto fronts, and exact CP-SAT models (OR-Tools) for fleet maintenance scheduling under hangar, labour and spare-part limits
  • Aerodynamics from first principles: thin airfoil theory, panel methods, integral boundary layer and vortex lattice method, each validated against exact solutions and wind-tunnel data
  • Data engineering: ELT with dbt star schemas, Data Lake ↔ Data Warehouse integration, data-quality handling and quarantine, batch (Airflow) vs event-driven serverless (AWS + Terraform) architectures, distributed Spark clusters
  • ML engineering: experiment tracking (MLflow), model serving with FastAPI, Streamlit dashboards, Docker Compose stacks, automated tests and CI on every project
  • Rigorous evaluation: detecting and documenting data leakage, unit-level train/test splits, multi-seed results, and honest baselines (classical models are hard to beat)
  • Applied AI: CNN transfer learning with Grad-CAM explainability, NLP on aviation safety reports, LLM apps grounded with RAG (Qdrant), time-series forecasting with Monte Carlo risk (VaR/CVaR)
  • Security data: network intrusion detection on NSL-KDD and CICIDS2017 with Spark MLlib
  • Simulation & systems programming: C++20 ecosystem simulator with ECS, multithreading, sanitizers and profiling-driven optimization

πŸ› οΈ Tech Stack

Languages & Data

Python SQL R C++ Pandas NumPy SciPy Polars

Data Engineering

Spark Airflow dbt DuckDB PostgreSQL MongoDB Redis MinIO

Machine Learning & AI

PyTorch TensorFlow Keras Scikit-Learn MLflow PINNs / Neuroevolution NLP RAG + Qdrant

Optimization & Reliability

OR-Tools DEAP / pymoo Weibull, MTBF, RUL

Cloud, DevOps, BI & Tools

AWS Terraform Docker Kubernetes GitHub Actions FastAPI Streamlit Django Power BI Git


πŸ“Œ Featured Projects

✈️ Aviation Reliability & Prognostics

πŸ”— Remaining Useful Life Prediction with PINN and Neuroevolution Predicts turbofan engine RUL on NASA's N-CMAPSS dataset with a Physics-Informed Neural Network whose architecture and physics-loss weights are tuned by an NSGA-II neuroevolutionary search, compared against MLP, 1D-CNN and LSTM/GRU baselines. PyTorch, pymoo.

πŸ”— Preventive Maintenance Optimization with Genetic Algorithms Schedules a year of preventive maintenance for a 10-aircraft fleet under hangar, labour and spare-part limits. The GA cuts expected cost by ~25% versus cost-optimal fixed intervals and lands within ~1% of an exact CP-SAT model; NSGA-II maps the cost-vs-risk trade-off. DEAP, OR-Tools.

πŸ”— Aircraft Fleet Reliability Dashboard Weibull-based synthetic maintenance history β†’ PostgreSQL star schema β†’ validated SQL metrics layer β†’ Streamlit dashboard with MTBF, MTTR, availability, failure Pareto, Weibull hazard analysis and downtime cost.

πŸ”— Fault Detection in Engine Parts (Physics-Informed Deep Learning) Fault diagnosis for bearings and turbofan parts: classical baselines, 1D-CNN, autoencoder, graph neural network, Optuna/PSO tuning and a physics-informed defect-frequency loss, served through an API and dashboard.

πŸ”— Aerodynamics From Scratch Thin airfoil theory, a 2D panel method, an integral boundary layer and a 3D vortex lattice method, written from first principles in NumPy β€” every solver validated against exact solutions or published wind-tunnel data.

πŸŽ“ Research

πŸ”— Neuroevolution for the Architecture Search of PINNs β€” MBA Monograph (USP) A cheap single-generation Genetic Algorithm that selects PINN architectures from short partial trainings, evaluated on the pendulum ODE, heat and wave equations over 35 seeded runs per problem against random choice and random search.

πŸ”§ Data Engineering

πŸ”— Data Warehouse ↔ Data Lake Integration with ELT Messy raw data β†’ cleaned lake files (Polars, PyArrow, DuckDB) β†’ raw landing zone β†’ dbt-modeled star schema in PostgreSQL, with data-quality quarantine, tests and generated lineage. Fully containerized.

πŸ”— Currency Rates β€” Two Architectures: Airflow vs AWS Serverless The same exchange-rate pipeline built twice: self-hosted batch with Airflow + PostgreSQL, and event-driven on AWS (Lambda, S3, EventBridge, Glue, Athena) defined in Terraform within the free tier.

πŸ”— Fraud Detection with Spark ~1.5M synthetic transactions from three messy source systems cleaned on a real Spark cluster, a GBT classifier trained with MLlib, live scoring through FastAPI and a Streamlit dashboard β€” all on Docker Compose with CI.

πŸ€– Machine Learning, AI & Security

πŸ”— Network Intrusion Detection NSL-KDD and CICIDS2017 processed on a Spark cluster, independent MLlib classifiers per benchmark, served with FastAPI and visualized in Streamlit.

πŸ”— Brain Tumor MRI Classifier Four comparable CNN architectures (baseline + MobileNetV2, EfficientNetB0, ResNet50) with MLflow tracking, a held-out test set, Grad-CAM explainability, a REST API and a web UI.

πŸ”— Smart PokΓ©dex β€” Django + LLM + RAG A Django app consuming the PokΓ©API where users ask an LLM about each PokΓ©mon, with answers grounded by RAG over a Qdrant vector database.

πŸ”— Cash Flow Forecasting with Time Series and Monte Carlo SARIMA and Prophet forecasts with a Monte Carlo layer for confidence bands and risk scenarios (VaR/CVaR).

πŸ”— Predicting and Analyzing Diabetes A rebuild of an earlier project that claimed 100% accuracy β€” with a documented investigation of the data leakage behind that number.

πŸ§ͺ Simulation

πŸ”— Ecosystem / Wildlife Simulator A C++20 simulation where predator–prey cycles, epidemics, seasonal migration and competitive exclusion emerge from local rules alone β€” validated against exact results, profiled, multithreaded and tested with sanitizers.


πŸ“« Reach me at [email protected], on LinkedIn or through my portfolio

Pinned Loading

  1. network-intrusion-detection network-intrusion-detection Public

    Network intrusion detection on NSL-KDD & CICIDS2017 with Spark/MLlib, FastAPI, and Streamlit β€” includes real threshold-calibration analysis (AUC 0.98 but F1 swings from 0.002 to 0.97 depending on c…

    Python

  2. Aircraft-Fleet-Reliability-Dashboard Aircraft-Fleet-Reliability-Dashboard Public

    Aircraft fleet reliability pipeline: Weibull-based synthetic maintenance history β†’ PostgreSQL star schema β†’ SQL views for MTBF, MTTR, availability, failure Pareto and downtime cost β†’ interactive St…

    Python

  3. MBA-PINN-Neuroevolution MBA-PINN-Neuroevolution Public

    Single-generation Genetic Algorithm that selects the architecture of Physics-Informed Neural Networks (PINNs). Code for an MBA in AI & Big Data monograph (ICMC-USP) and derived article: PyTorch, ta…

    Python

  4. Preventive-Maintenance-Optimization-with-Genetic-Algorithms Preventive-Maintenance-Optimization-with-Genetic-Algorithms Public

    Preventive maintenance scheduling for an aircraft fleet with a genetic algorithm (DEAP) under hangar, labour and spare-part limits. Weibull risk model, benchmarked against fixed-interval rules and …

    Python

  5. Remaining-Useful-Life-RUL-Prediction-with-PINN-and-Neuroevolution Remaining-Useful-Life-RUL-Prediction-with-PINN-and-Neuroevolution Public

    Predicting turbofan engine Remaining Useful Life on NASA's N-CMAPSS dataset with a Physics-Informed Neural Network, tuned via a custom NSGA-II neuroevolution search. PyTorch, fully reproducible, 99…

    Python

  6. Using-CNN-to-detect-brain-tumor-cancer Using-CNN-to-detect-brain-tumor-cancer Public

    Multi-architecture brain MRI classifier (baseline CNN + MobileNetV2/EfficientNetB0/ResNet50 transfer learning) with MLflow experiment tracking, Grad-CAM explainability, a FastAPI + React demo app, …

    Python