<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ossama Elhakki — AI Engineer Blog</title>
    <link>https://ossamaelhakki.com</link>
    <description>Deep-dive articles on machine learning, computer vision, NLP, and AI automation by Ossama Elhakki.</description>
    <language>en-us</language>
    <managingEditor>ossamaelhakki@gmail.com (Ossama Elhakki)</managingEditor>
    <webMaster>ossamaelhakki@gmail.com (Ossama Elhakki)</webMaster>
    <lastBuildDate>Mon, 08 Jun 2026 10:00:04 GMT</lastBuildDate>
    <atom:link href="https://ossamaelhakki.com/feed.xml" rel="self" type="application/rss+xml"/>
    <image>
      <url>https://ossamaelhakki.com/og-image.png</url>
      <title>Ossama Elhakki Blog</title>
      <link>https://ossamaelhakki.com</link>
    </image>
    
    <item>
      <title><![CDATA[Achieving AUC 0.9648 on IEEE-CIS Fraud Detection with LightGBM Stacking]]></title>
      <link>https://ossamaelhakki.com/en/blog/lightgbm-fraud-detection-auc-0964</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/lightgbm-fraud-detection-auc-0964</guid>
      <description><![CDATA[A complete walkthrough of building a stacking ensemble that achieved AUC 0.9648 on the IEEE-CIS fraud dataset — feature engineering, model selection, and meta-learner design.]]></description>
      <pubDate>Tue, 15 Apr 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[LightGBM]]></category><category><![CDATA[Fraud Detection]]></category><category><![CDATA[Feature Engineering]]></category><category><![CDATA[Kaggle]]></category><category><![CDATA[Stacking]]></category>
    </item>
    <item>
      <title><![CDATA[XGBoost vs LightGBM: When to Use Each in Production]]></title>
      <link>https://ossamaelhakki.com/en/blog/xgboost-vs-lightgbm-deep-comparison</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/xgboost-vs-lightgbm-deep-comparison</guid>
      <description><![CDATA[A practical, benchmark-driven comparison of XGBoost and LightGBM across speed, accuracy, and memory — with concrete recommendations for tabular ML in production.]]></description>
      <pubDate>Thu, 20 Mar 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[XGBoost]]></category><category><![CDATA[LightGBM]]></category><category><![CDATA[Gradient Boosting]]></category><category><![CDATA[Benchmarks]]></category><category><![CDATA[Production]]></category>
    </item>
    <item>
      <title><![CDATA[Feature Engineering Playbook for Tabular ML Competitions]]></title>
      <link>https://ossamaelhakki.com/en/blog/feature-engineering-tabular-ml</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/feature-engineering-tabular-ml</guid>
      <description><![CDATA[The 15 feature engineering techniques I use in every Kaggle tabular competition — from target encoding to frequency encoding, lag features, and interaction terms.]]></description>
      <pubDate>Wed, 05 Mar 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Feature Engineering]]></category><category><![CDATA[Tabular Data]]></category><category><![CDATA[Kaggle]]></category><category><![CDATA[Target Encoding]]></category><category><![CDATA[Competition]]></category>
    </item>
    <item>
      <title><![CDATA[CatBoost's Secret Weapon: Ordered Target Encoding Explained]]></title>
      <link>https://ossamaelhakki.com/en/blog/catboost-categorical-features-guide</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/catboost-categorical-features-guide</guid>
      <description><![CDATA[How CatBoost handles categorical features without data leakage using ordered target encoding — and why this gives it an edge on datasets with many categoricals.]]></description>
      <pubDate>Tue, 18 Feb 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[CatBoost]]></category><category><![CDATA[Categorical Features]]></category><category><![CDATA[Target Encoding]]></category><category><![CDATA[Gradient Boosting]]></category>
    </item>
    <item>
      <title><![CDATA[Class Imbalance in Production: What Actually Works]]></title>
      <link>https://ossamaelhakki.com/en/blog/imbalanced-classification-strategies</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/imbalanced-classification-strategies</guid>
      <description><![CDATA[After 20+ imbalanced classification projects — fraud, medical, churn — here is what actually moves the needle: SMOTE, class weights, threshold tuning, and cost-sensitive learning.]]></description>
      <pubDate>Sat, 01 Feb 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Class Imbalance]]></category><category><![CDATA[SMOTE]]></category><category><![CDATA[Fraud Detection]]></category><category><![CDATA[Classification]]></category><category><![CDATA[Metrics]]></category>
    </item>
    <item>
      <title><![CDATA[Optuna in Production: Smarter Hyperparameter Tuning]]></title>
      <link>https://ossamaelhakki.com/en/blog/optuna-hyperparameter-tuning-guide</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/optuna-hyperparameter-tuning-guide</guid>
      <description><![CDATA[How to use Optuna for hyperparameter optimization beyond random search — pruning, multi-objective optimization, and persistent study databases.]]></description>
      <pubDate>Wed, 22 Jan 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Optuna]]></category><category><![CDATA[Hyperparameter Tuning]]></category><category><![CDATA[Bayesian Optimization]]></category><category><![CDATA[LightGBM]]></category>
    </item>
    <item>
      <title><![CDATA[SHAP for Production ML: Explaining Models to Non-Technical Stakeholders]]></title>
      <link>https://ossamaelhakki.com/en/blog/shap-model-explainability-production</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/shap-model-explainability-production</guid>
      <description><![CDATA[A practical guide to SHAP values — global importance, local explanations, waterfall plots, and how to turn model explanations into business insights.]]></description>
      <pubDate>Fri, 10 Jan 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[SHAP]]></category><category><![CDATA[Explainability]]></category><category><![CDATA[XAI]]></category><category><![CDATA[Feature Importance]]></category><category><![CDATA[Production]]></category>
    </item>
    <item>
      <title><![CDATA[Cross-Validation Strategies: Which One to Use and When]]></title>
      <link>https://ossamaelhakki.com/en/blog/cross-validation-strategies-guide</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/cross-validation-strategies-guide</guid>
      <description><![CDATA[K-Fold, Stratified, GroupKFold, TimeSeriesSplit — a practical guide to choosing the right CV strategy based on your data structure.]]></description>
      <pubDate>Sun, 15 Dec 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Cross-Validation]]></category><category><![CDATA[Model Evaluation]]></category><category><![CDATA[Time Series]]></category><category><![CDATA[Kaggle]]></category><category><![CDATA[Best Practices]]></category>
    </item>
    <item>
      <title><![CDATA[Medical Image Segmentation with U-Net: Reaching Dice 0.7964]]></title>
      <link>https://ossamaelhakki.com/en/blog/u-net-medical-segmentation-dice-0796</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/u-net-medical-segmentation-dice-0796</guid>
      <description><![CDATA[How I built a U-Net pipeline for skin lesion segmentation on ISIC 2018 — augmentation strategies, loss functions, and post-processing that pushed Dice from 0.72 to 0.796.]]></description>
      <pubDate>Tue, 01 Apr 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Computer Vision]]></category>
      <category><![CDATA[U-Net]]></category><category><![CDATA[Medical Imaging]]></category><category><![CDATA[Segmentation]]></category><category><![CDATA[PyTorch]]></category><category><![CDATA[ISIC]]></category>
    </item>
    <item>
      <title><![CDATA[YOLOv8 Custom Training: From Dataset to Production API]]></title>
      <link>https://ossamaelhakki.com/en/blog/yolov8-custom-object-detection</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/yolov8-custom-object-detection</guid>
      <description><![CDATA[End-to-end guide to training YOLOv8 on a custom dataset — annotation, training, evaluation, and deploying as a FastAPI endpoint with ONNX export.]]></description>
      <pubDate>Wed, 12 Mar 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Computer Vision]]></category>
      <category><![CDATA[YOLOv8]]></category><category><![CDATA[Object Detection]]></category><category><![CDATA[FastAPI]]></category><category><![CDATA[ONNX]]></category><category><![CDATA[Production]]></category>
    </item>
    <item>
      <title><![CDATA[ControlNet + Stable Diffusion: Production-Grade Image Generation]]></title>
      <link>https://ossamaelhakki.com/en/blog/stable-diffusion-controlnet-workflow</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/stable-diffusion-controlnet-workflow</guid>
      <description><![CDATA[How I deployed Stable Diffusion with ControlNet at Ofoto — architecture decisions, API design, prompt engineering, and handling 100+ concurrent requests.]]></description>
      <pubDate>Tue, 25 Feb 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Generative AI]]></category>
      <category><![CDATA[Stable Diffusion]]></category><category><![CDATA[ControlNet]]></category><category><![CDATA[Diffusers]]></category><category><![CDATA[Production]]></category><category><![CDATA[FastAPI]]></category>
    </item>
    <item>
      <title><![CDATA[Building a Transformer from Scratch in PyTorch]]></title>
      <link>https://ossamaelhakki.com/en/blog/transformer-from-scratch-pytorch</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/transformer-from-scratch-pytorch</guid>
      <description><![CDATA[A step-by-step implementation of the original Attention is All You Need architecture — multi-head attention, positional encoding, encoder-decoder stack.]]></description>
      <pubDate>Tue, 28 Jan 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Deep Learning]]></category>
      <category><![CDATA[Transformer]]></category><category><![CDATA[PyTorch]]></category><category><![CDATA[Attention]]></category><category><![CDATA[NLP]]></category><category><![CDATA[Architecture]]></category>
    </item>
    <item>
      <title><![CDATA[10 PyTorch Training Tricks That Cut My Training Time in Half]]></title>
      <link>https://ossamaelhakki.com/en/blog/training-tricks-pytorch-production</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/training-tricks-pytorch-production</guid>
      <description><![CDATA[Mixed precision, gradient checkpointing, DataLoader tuning, torch.compile, and 6 more tricks with measured speedups on real experiments.]]></description>
      <pubDate>Wed, 15 Jan 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Deep Learning]]></category>
      <category><![CDATA[PyTorch]]></category><category><![CDATA[Training]]></category><category><![CDATA[Mixed Precision]]></category><category><![CDATA[Performance]]></category><category><![CDATA[CUDA]]></category>
    </item>
    <item>
      <title><![CDATA[Fine-Tuning BERT for Production NLP: A Battle-Tested Guide]]></title>
      <link>https://ossamaelhakki.com/en/blog/bert-fine-tuning-production-nlp</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/bert-fine-tuning-production-nlp</guid>
      <description><![CDATA[Everything I've learned fine-tuning BERT across 10+ NLP projects — tokenization, learning rate schedules, layer freezing, and deployment with ONNX.]]></description>
      <pubDate>Fri, 28 Mar 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[NLP]]></category>
      <category><![CDATA[BERT]]></category><category><![CDATA[Fine-Tuning]]></category><category><![CDATA[HuggingFace]]></category><category><![CDATA[Transformers]]></category><category><![CDATA[Production]]></category>
    </item>
    <item>
      <title><![CDATA[Building a Production RAG System with LangChain and Pinecone]]></title>
      <link>https://ossamaelhakki.com/en/blog/rag-system-production-langchain</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/rag-system-production-langchain</guid>
      <description><![CDATA[Architecture and code for a production RAG system — chunking strategies, embedding models, hybrid search, reranking, and hallucination mitigation.]]></description>
      <pubDate>Thu, 10 Apr 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[AI Agents]]></category>
      <category><![CDATA[RAG]]></category><category><![CDATA[LangChain]]></category><category><![CDATA[Pinecone]]></category><category><![CDATA[LLM]]></category><category><![CDATA[Production]]></category>
    </item>
    <item>
      <title><![CDATA[Arabic NLP in 2025: AraBERT, CAMeL Tools, and Production Pipelines]]></title>
      <link>https://ossamaelhakki.com/en/blog/arabic-nlp-arabert-guide</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/arabic-nlp-arabert-guide</guid>
      <description><![CDATA[A practical guide to Arabic NLP — the best models, preprocessing challenges, dialect handling, and deploying Arabic text classification in production.]]></description>
      <pubDate>Sat, 01 Mar 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[NLP]]></category>
      <category><![CDATA[Arabic NLP]]></category><category><![CDATA[AraBERT]]></category><category><![CDATA[HuggingFace]]></category><category><![CDATA[Text Classification]]></category><category><![CDATA[Multilingual]]></category>
    </item>
    <item>
      <title><![CDATA[Prompt Engineering Patterns That Actually Work in 2025]]></title>
      <link>https://ossamaelhakki.com/en/blog/llm-prompt-engineering-guide</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/llm-prompt-engineering-guide</guid>
      <description><![CDATA[Chain-of-thought, few-shot, system prompts, JSON mode, and 5 more patterns with real examples from production LLM applications.]]></description>
      <pubDate>Sun, 20 Apr 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[AI Agents]]></category>
      <category><![CDATA[Prompt Engineering]]></category><category><![CDATA[LLM]]></category><category><![CDATA[GPT-4]]></category><category><![CDATA[Chain-of-Thought]]></category><category><![CDATA[Production]]></category>
    </item>
    <item>
      <title><![CDATA[Building a WhatsApp AI Sales Agent with n8n and Ollama]]></title>
      <link>https://ossamaelhakki.com/en/blog/whatsapp-ai-agent-n8n-ollama</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/whatsapp-ai-agent-n8n-ollama</guid>
      <description><![CDATA[How I built a production WhatsApp AI agent for a Moroccan e-commerce business — architecture, conversation memory, product catalog Q&A, and order tracking.]]></description>
      <pubDate>Fri, 25 Apr 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[AI Agents]]></category>
      <category><![CDATA[n8n]]></category><category><![CDATA[WhatsApp]]></category><category><![CDATA[Ollama]]></category><category><![CDATA[LLM Agents]]></category><category><![CDATA[Automation]]></category>
    </item>
    <item>
      <title><![CDATA[5 n8n AI Automation Workflows I've Built for Real Businesses]]></title>
      <link>https://ossamaelhakki.com/en/blog/n8n-ai-automation-workflows-guide</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/n8n-ai-automation-workflows-guide</guid>
      <description><![CDATA[Lead qualification, document processing, social media automation, customer support, and inventory monitoring — real workflows with real ROI.]]></description>
      <pubDate>Sat, 05 Apr 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Automation]]></category>
      <category><![CDATA[n8n]]></category><category><![CDATA[Automation]]></category><category><![CDATA[AI Agents]]></category><category><![CDATA[GPT-4]]></category><category><![CDATA[Business]]></category>
    </item>
    <item>
      <title><![CDATA[Designing Multi-Agent AI Systems That Actually Work]]></title>
      <link>https://ossamaelhakki.com/en/blog/multi-agent-system-design</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/multi-agent-system-design</guid>
      <description><![CDATA[Orchestrator-worker, peer-to-peer, and hierarchical multi-agent architectures — when to use each, communication patterns, and failure recovery.]]></description>
      <pubDate>Sat, 15 Mar 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[AI Agents]]></category>
      <category><![CDATA[Multi-Agent]]></category><category><![CDATA[LLM]]></category><category><![CDATA[Architecture]]></category><category><![CDATA[Orchestration]]></category><category><![CDATA[AI Systems]]></category>
    </item>
    <item>
      <title><![CDATA[MLOps Pipeline from Scratch: CI/CD for ML Models]]></title>
      <link>https://ossamaelhakki.com/en/blog/mlops-pipeline-from-scratch</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/mlops-pipeline-from-scratch</guid>
      <description><![CDATA[How to build a complete MLOps pipeline — data versioning with DVC, experiment tracking with MLflow, model registry, automated retraining, and deployment gates.]]></description>
      <pubDate>Sat, 22 Mar 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[MLOps]]></category>
      <category><![CDATA[MLOps]]></category><category><![CDATA[DVC]]></category><category><![CDATA[MLflow]]></category><category><![CDATA[CI/CD]]></category><category><![CDATA[Docker]]></category>
    </item>
    <item>
      <title><![CDATA[Detecting Model Drift in Production Before It Kills Your KPIs]]></title>
      <link>https://ossamaelhakki.com/en/blog/model-drift-monitoring-production</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/model-drift-monitoring-production</guid>
      <description><![CDATA[Data drift vs concept drift — detection methods, monitoring dashboards with Evidently AI, and automated alerting strategies for production ML systems.]]></description>
      <pubDate>Mon, 10 Feb 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[MLOps]]></category>
      <category><![CDATA[Model Drift]]></category><category><![CDATA[Monitoring]]></category><category><![CDATA[Evidently AI]]></category><category><![CDATA[Production]]></category><category><![CDATA[MLOps]]></category>
    </item>
    <item>
      <title><![CDATA[Deploying ML Models with FastAPI: A Production Checklist]]></title>
      <link>https://ossamaelhakki.com/en/blog/fastapi-ml-deployment-guide</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/fastapi-ml-deployment-guide</guid>
      <description><![CDATA[From model pickle to production FastAPI — async inference, input validation with Pydantic, rate limiting, health checks, and Docker deployment.]]></description>
      <pubDate>Thu, 30 Jan 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[MLOps]]></category>
      <category><![CDATA[FastAPI]]></category><category><![CDATA[Docker]]></category><category><![CDATA[Deployment]]></category><category><![CDATA[REST API]]></category><category><![CDATA[Production]]></category>
    </item>
    <item>
      <title><![CDATA[My Kaggle Competition Strategy: From Bronze to Gold]]></title>
      <link>https://ossamaelhakki.com/en/blog/kaggle-competition-strategy-guide</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/kaggle-competition-strategy-guide</guid>
      <description><![CDATA[The exact workflow I follow in every Kaggle competition — EDA, baseline, feature engineering sprints, ensemble building, and the final push before deadline.]]></description>
      <pubDate>Thu, 20 Feb 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Kaggle]]></category><category><![CDATA[Competition]]></category><category><![CDATA[Strategy]]></category><category><![CDATA[Ensemble]]></category><category><![CDATA[Feature Engineering]]></category>
    </item>
    <item>
      <title><![CDATA[Time Series Forecasting at Scale: From ARIMA to LightGBM]]></title>
      <link>https://ossamaelhakki.com/en/blog/time-series-forecasting-production</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/time-series-forecasting-production</guid>
      <description><![CDATA[When classical time series methods work and when ML wins — feature engineering for time series, backtesting frameworks, and handling seasonality in production.]]></description>
      <pubDate>Sun, 05 Jan 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Time Series]]></category><category><![CDATA[Forecasting]]></category><category><![CDATA[LightGBM]]></category><category><![CDATA[Prophet]]></category><category><![CDATA[Feature Engineering]]></category>
    </item>
    <item>
      <title><![CDATA[DQN from Scratch: Teaching an Agent to Play Snake]]></title>
      <link>https://ossamaelhakki.com/en/blog/reinforcement-learning-dqn-from-scratch</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/reinforcement-learning-dqn-from-scratch</guid>
      <description><![CDATA[A complete from-scratch DQN implementation in PyTorch — environment, replay buffer, epsilon-greedy exploration, and the training loop that actually converges.]]></description>
      <pubDate>Sat, 18 Jan 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Reinforcement Learning]]></category><category><![CDATA[DQN]]></category><category><![CDATA[PyTorch]]></category><category><![CDATA[Game AI]]></category><category><![CDATA[Deep Q-Network]]></category>
    </item>
    <item>
      <title><![CDATA[Face Recognition in Production with InsightFace]]></title>
      <link>https://ossamaelhakki.com/en/blog/face-recognition-production-insightface</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/face-recognition-production-insightface</guid>
      <description><![CDATA[End-to-end face recognition system — face detection, alignment, embedding extraction with ArcFace, and sub-millisecond search with Faiss.]]></description>
      <pubDate>Fri, 20 Dec 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Computer Vision]]></category>
      <category><![CDATA[Face Recognition]]></category><category><![CDATA[ArcFace]]></category><category><![CDATA[InsightFace]]></category><category><![CDATA[Faiss]]></category><category><![CDATA[Production]]></category>
    </item>
    <item>
      <title><![CDATA[Image Classification with EfficientNet: Transfer Learning Best Practices]]></title>
      <link>https://ossamaelhakki.com/en/blog/image-classification-efficientnet-guide</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/image-classification-efficientnet-guide</guid>
      <description><![CDATA[How to fine-tune EfficientNet for custom image classification — unfreezing schedules, augmentation, label smoothing, and getting the most out of small datasets.]]></description>
      <pubDate>Thu, 05 Dec 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Computer Vision]]></category>
      <category><![CDATA[EfficientNet]]></category><category><![CDATA[Transfer Learning]]></category><category><![CDATA[Image Classification]]></category><category><![CDATA[PyTorch]]></category><category><![CDATA[Fine-Tuning]]></category>
    </item>
    <item>
      <title><![CDATA[Training GANs That Don't Collapse: Lessons from DCGAN to StyleGAN]]></title>
      <link>https://ossamaelhakki.com/en/blog/gan-image-generation-dcgan</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/gan-image-generation-dcgan</guid>
      <description><![CDATA[GAN training tricks that prevent mode collapse and training instability — spectral normalization, progressive growing, gradient penalty, and architecture lessons.]]></description>
      <pubDate>Wed, 20 Nov 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Generative AI]]></category>
      <category><![CDATA[GAN]]></category><category><![CDATA[DCGAN]]></category><category><![CDATA[StyleGAN]]></category><category><![CDATA[PyTorch]]></category><category><![CDATA[Image Generation]]></category>
    </item>
    <item>
      <title><![CDATA[Pandas at Scale: 10 Optimizations for Large DataFrames]]></title>
      <link>https://ossamaelhakki.com/en/blog/pandas-performance-optimization</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/pandas-performance-optimization</guid>
      <description><![CDATA[From 10 minutes to 30 seconds: downcasting dtypes, vectorization, Dask fallback, and avoiding the most common Pandas performance traps.]]></description>
      <pubDate>Sat, 28 Dec 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Data Engineering]]></category>
      <category><![CDATA[Pandas]]></category><category><![CDATA[Performance]]></category><category><![CDATA[Data Engineering]]></category><category><![CDATA[Memory]]></category><category><![CDATA[Python]]></category>
    </item>
    <item>
      <title><![CDATA[PostgreSQL as a Feature Store: Design Patterns for ML Pipelines]]></title>
      <link>https://ossamaelhakki.com/en/blog/postgresql-ml-pipeline-design</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/postgresql-ml-pipeline-design</guid>
      <description><![CDATA[How to use PostgreSQL effectively as a feature store — materialized views for aggregations, partitioning for time series, and indexing strategies for ML queries.]]></description>
      <pubDate>Fri, 15 Nov 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Data Engineering]]></category>
      <category><![CDATA[PostgreSQL]]></category><category><![CDATA[Feature Store]]></category><category><![CDATA[ML Pipeline]]></category><category><![CDATA[SQL]]></category><category><![CDATA[Data Engineering]]></category>
    </item>
    <item>
      <title><![CDATA[NEAT Algorithm: Evolving Neural Networks Without Backprop]]></title>
      <link>https://ossamaelhakki.com/en/blog/neat-neuroevolution-tutorial</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/neat-neuroevolution-tutorial</guid>
      <description><![CDATA[How NEAT evolves both the weights and topology of neural networks — speciation, crossover, innovation numbers, and implementing it for game AI.]]></description>
      <pubDate>Thu, 28 Nov 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[NEAT]]></category><category><![CDATA[Neuroevolution]]></category><category><![CDATA[Genetic Algorithm]]></category><category><![CDATA[Game AI]]></category><category><![CDATA[Evolutionary Computing]]></category>
    </item>
    <item>
      <title><![CDATA[Monte Carlo Tree Search: The Algorithm Behind AlphaGo]]></title>
      <link>https://ossamaelhakki.com/en/blog/monte-carlo-tree-search-explained</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/monte-carlo-tree-search-explained</guid>
      <description><![CDATA[A clear explanation of MCTS — selection, expansion, simulation, backpropagation — with Python implementation for 2048 and game tree visualization.]]></description>
      <pubDate>Sun, 10 Nov 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[MCTS]]></category><category><![CDATA[Game AI]]></category><category><![CDATA[AlphaGo]]></category><category><![CDATA[Tree Search]]></category><category><![CDATA[Reinforcement Learning]]></category>
    </item>
    <item>
      <title><![CDATA[Genetic Algorithms for Real-World Optimization Problems]]></title>
      <link>https://ossamaelhakki.com/en/blog/genetic-algorithms-optimization</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/genetic-algorithms-optimization</guid>
      <description><![CDATA[Using genetic algorithms for feature selection, hyperparameter tuning, and scheduling — encoding strategies, selection methods, and convergence analysis.]]></description>
      <pubDate>Fri, 25 Oct 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Genetic Algorithm]]></category><category><![CDATA[Optimization]]></category><category><![CDATA[Feature Selection]]></category><category><![CDATA[Evolutionary Computing]]></category>
    </item>
    <item>
      <title><![CDATA[Running LLMs Locally with Ollama: A Production Guide]]></title>
      <link>https://ossamaelhakki.com/en/blog/llm-local-deployment-ollama</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/llm-local-deployment-ollama</guid>
      <description><![CDATA[Setting up Ollama for production use — model selection, API integration, performance tuning, and running Llama 3.1 on-premise for data privacy.]]></description>
      <pubDate>Fri, 18 Apr 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[AI Agents]]></category>
      <category><![CDATA[Ollama]]></category><category><![CDATA[LLM]]></category><category><![CDATA[Local AI]]></category><category><![CDATA[Llama]]></category><category><![CDATA[Privacy]]></category>
    </item>
    <item>
      <title><![CDATA[Vector Database Showdown 2025: Pinecone vs Weaviate vs Qdrant vs Chroma]]></title>
      <link>https://ossamaelhakki.com/en/blog/vector-databases-comparison-2025</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/vector-databases-comparison-2025</guid>
      <description><![CDATA[A practical benchmark of the top vector databases — indexing speed, query latency, filtering, scalability, and when to use each for RAG applications.]]></description>
      <pubDate>Fri, 14 Feb 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[AI Agents]]></category>
      <category><![CDATA[Vector Database]]></category><category><![CDATA[Pinecone]]></category><category><![CDATA[Qdrant]]></category><category><![CDATA[RAG]]></category><category><![CDATA[Embeddings]]></category>
    </item>
    <item>
      <title><![CDATA[Docker for ML: Reproducible Environments and Multi-Stage Builds]]></title>
      <link>https://ossamaelhakki.com/en/blog/docker-ml-workflows-best-practices</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/docker-ml-workflows-best-practices</guid>
      <description><![CDATA[Best practices for containerizing ML code — multi-stage builds, GPU support, model caching, and the Dockerfile patterns that cut image sizes by 70%.]]></description>
      <pubDate>Wed, 08 Jan 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[MLOps]]></category>
      <category><![CDATA[Docker]]></category><category><![CDATA[MLOps]]></category><category><![CDATA[Containers]]></category><category><![CDATA[Reproducibility]]></category><category><![CDATA[DevOps]]></category>
    </item>
    <item>
      <title><![CDATA[Scikit-learn Pipelines: The Right Way to Build ML Workflows]]></title>
      <link>https://ossamaelhakki.com/en/blog/sklearn-pipeline-best-practices</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/sklearn-pipeline-best-practices</guid>
      <description><![CDATA[Why you should wrap everything in an sklearn Pipeline — preventing data leakage, proper cross-validation, easy serialization, and custom transformers.]]></description>
      <pubDate>Tue, 05 Nov 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Scikit-learn]]></category><category><![CDATA[Pipeline]]></category><category><![CDATA[Data Leakage]]></category><category><![CDATA[Best Practices]]></category><category><![CDATA[ML]]></category>
    </item>
    <item>
      <title><![CDATA[Text Embedding Models in 2025: Which to Use for RAG?]]></title>
      <link>https://ossamaelhakki.com/en/blog/embedding-models-comparison</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/embedding-models-comparison</guid>
      <description><![CDATA[Benchmarking OpenAI, Cohere, E5, BGE, and Jina embeddings on retrieval tasks — MTEB scores, cost, latency, and multilingual support for Arabic and French.]]></description>
      <pubDate>Sat, 08 Mar 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[NLP]]></category>
      <category><![CDATA[Embeddings]]></category><category><![CDATA[RAG]]></category><category><![CDATA[MTEB]]></category><category><![CDATA[Multilingual]]></category><category><![CDATA[Semantic Search]]></category>
    </item>
    <item>
      <title><![CDATA[Anomaly Detection with Autoencoders: Better Than Rules, Cheaper Than Labels]]></title>
      <link>https://ossamaelhakki.com/en/blog/anomaly-detection-autoencoder</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/anomaly-detection-autoencoder</guid>
      <description><![CDATA[Using autoencoders for unsupervised anomaly detection — reconstruction error thresholding, LSTM autoencoders for time series, and production deployment.]]></description>
      <pubDate>Thu, 12 Dec 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Anomaly Detection]]></category><category><![CDATA[Autoencoder]]></category><category><![CDATA[Unsupervised]]></category><category><![CDATA[PyTorch]]></category><category><![CDATA[Fraud]]></category>
    </item>
    <item>
      <title><![CDATA[GPU Training Optimization: Getting the Most from Your Hardware]]></title>
      <link>https://ossamaelhakki.com/en/blog/gpu-training-optimization</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/gpu-training-optimization</guid>
      <description><![CDATA[GPU utilization, bottleneck diagnosis, DataLoader optimization, and CUDA memory management — practical techniques for training 2x faster without new hardware.]]></description>
      <pubDate>Tue, 15 Oct 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Deep Learning]]></category>
      <category><![CDATA[GPU]]></category><category><![CDATA[CUDA]]></category><category><![CDATA[PyTorch]]></category><category><![CDATA[Training]]></category><category><![CDATA[Performance]]></category>
    </item>
    <item>
      <title><![CDATA[Sentiment Analysis for Arabic Text: BERT vs Traditional ML]]></title>
      <link>https://ossamaelhakki.com/en/blog/sentiment-analysis-production-arabic</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/sentiment-analysis-production-arabic</guid>
      <description><![CDATA[Building a production sentiment classifier for Arabic customer reviews — dataset curation, preprocessing challenges, model comparison, and deploying with FastAPI.]]></description>
      <pubDate>Sat, 25 Jan 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[NLP]]></category>
      <category><![CDATA[Sentiment Analysis]]></category><category><![CDATA[Arabic NLP]]></category><category><![CDATA[BERT]]></category><category><![CDATA[AraBERT]]></category><category><![CDATA[Text Classification]]></category>
    </item>
    <item>
      <title><![CDATA[Data Augmentation Strategies When You Have < 1000 Samples]]></title>
      <link>https://ossamaelhakki.com/en/blog/data-augmentation-small-datasets</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/data-augmentation-small-datasets</guid>
      <description><![CDATA[Mixup, CutMix, AugMix, synthetic data with GANs, and test-time augmentation — what to use when your dataset is tiny and performance is critical.]]></description>
      <pubDate>Tue, 01 Oct 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Computer Vision]]></category>
      <category><![CDATA[Data Augmentation]]></category><category><![CDATA[Small Datasets]]></category><category><![CDATA[Mixup]]></category><category><![CDATA[CutMix]]></category><category><![CDATA[Computer Vision]]></category>
    </item>
    <item>
      <title><![CDATA[ML System Design Interview: A Framework That Works]]></title>
      <link>https://ossamaelhakki.com/en/blog/ml-system-design-interview</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/ml-system-design-interview</guid>
      <description><![CDATA[A structured approach to ML system design interviews — problem framing, data strategy, modeling choices, serving infrastructure, and monitoring.]]></description>
      <pubDate>Wed, 05 Feb 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[System Design]]></category><category><![CDATA[ML Interview]]></category><category><![CDATA[Architecture]]></category><category><![CDATA[Production]]></category><category><![CDATA[Career]]></category>
    </item>
    <item>
      <title><![CDATA[NLP Text Preprocessing: The Complete Guide for 2025]]></title>
      <link>https://ossamaelhakki.com/en/blog/nlp-text-preprocessing-complete-guide</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/nlp-text-preprocessing-complete-guide</guid>
      <description><![CDATA[Tokenization, normalization, stemming vs lemmatization, subword encoding — and when BERT's tokenizer is better than all of them combined.]]></description>
      <pubDate>Fri, 01 Nov 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[NLP]]></category>
      <category><![CDATA[NLP]]></category><category><![CDATA[Text Preprocessing]]></category><category><![CDATA[Tokenization]]></category><category><![CDATA[BERT]]></category><category><![CDATA[Lemmatization]]></category>
    </item>
    <item>
      <title><![CDATA[Building a Recommendation System: From Collaborative Filtering to Neural CF]]></title>
      <link>https://ossamaelhakki.com/en/blog/recommendation-system-collaborative-filtering</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/recommendation-system-collaborative-filtering</guid>
      <description><![CDATA[Matrix factorization, implicit feedback, and neural collaborative filtering — practical implementation and evaluation with RecSys metrics.]]></description>
      <pubDate>Thu, 10 Oct 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[Machine Learning]]></category>
      <category><![CDATA[Recommendation System]]></category><category><![CDATA[Collaborative Filtering]]></category><category><![CDATA[Matrix Factorization]]></category><category><![CDATA[PyTorch]]></category>
    </item>
    <item>
      <title><![CDATA[Production Speech-to-Text with Whisper: Moroccan Arabic Dialect Support]]></title>
      <link>https://ossamaelhakki.com/en/blog/speech-to-text-whisper-production</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/speech-to-text-whisper-production</guid>
      <description><![CDATA[Deploying OpenAI Whisper for multilingual transcription — model selection, performance optimizations, and fine-tuning for Moroccan Darija.]]></description>
      <pubDate>Sun, 12 Jan 2025 00:00:00 GMT</pubDate>
      <category><![CDATA[NLP]]></category>
      <category><![CDATA[Whisper]]></category><category><![CDATA[Speech-to-Text]]></category><category><![CDATA[Arabic]]></category><category><![CDATA[Moroccan Darija]]></category><category><![CDATA[Audio]]></category>
    </item>
    <item>
      <title><![CDATA[Making Models 10x Smaller: Quantization, Pruning, and Knowledge Distillation]]></title>
      <link>https://ossamaelhakki.com/en/blog/model-compression-quantization-pruning</link>
      <guid isPermaLink="true">https://ossamaelhakki.com/en/blog/model-compression-quantization-pruning</guid>
      <description><![CDATA[INT8 quantization, structured pruning, and distillation — how to shrink model size by 90% while keeping 95% of accuracy for edge deployment.]]></description>
      <pubDate>Fri, 20 Sep 2024 00:00:00 GMT</pubDate>
      <category><![CDATA[MLOps]]></category>
      <category><![CDATA[Model Compression]]></category><category><![CDATA[Quantization]]></category><category><![CDATA[Pruning]]></category><category><![CDATA[Knowledge Distillation]]></category><category><![CDATA[Edge]]></category>
    </item>
  </channel>
</rss>