Missed out on TechXchange 2025? No worries! Our workshops are now available to everyone 🤩 Learn more

Offered By: IBMSkillsNetwork

Build a Dating Match Prediction Agent w/ ReAct and LangGraph

Learn how to build an AI agent that predicts romantic compatibility using LangGraph and machine learning. In this Valentine's Day themed guided project, you'll create an autonomous workflow that cleans speed dating data, selects optimal features, and trains an XGBoost probability model, all from a single natural language instruction. Perfect for beginners in AI agents, machine learning pipelines, or data science automation looking to combine intelligent reasoning with end to end ML workflows.

Continue reading

Guided Project

Artificial Intelligence

5.0
(1 Review)

At a Glance

Learn how to build an AI agent that predicts romantic compatibility using LangGraph and machine learning. In this Valentine's Day themed guided project, you'll create an autonomous workflow that cleans speed dating data, selects optimal features, and trains an XGBoost probability model, all from a single natural language instruction. Perfect for beginners in AI agents, machine learning pipelines, or data science automation looking to combine intelligent reasoning with end to end ML workflows.

This guided project shows you how to build an intelligent AI agent that autonomously handles an entire machine learning pipeline, from messy data cleanup to probability predictions. You won't just train a model manually. You'll create an agent powered by LangGraph and the ReAct pattern that reasons about which tools to use and when, transforming a single natural language instruction into a complete end to end ML workflow. From speed dating datasets to match probability scores, you'll learn to build agents that think through complex tasks and execute them without micromanagement.

What You'll Learn

By the end of this project, you will be able to:
  • Build autonomous AI agents with the ReAct pattern: Understand how to create agents that alternate between reasoning about what needs to happen next and taking action with tools, eliminating manual function chaining.
  • Design LangGraph workflows for machine learning pipelines: Use StateGraph to orchestrate sequential ML operations with conditional routing, tool nodes, and state management that scales beyond simple scripts.
  • Create custom tools for data cleaning, feature selection, and model training: Learn to wrap ML operations in LangChain tools that language models can intelligently invoke, including handling data leakage, categorical encoding, and missing values.
  • Implement probability based classification with XGBoost: Go beyond simple yes/no predictions to generate match probability scores, and evaluate model quality using ROC AUC metrics that measure ranking performance.
  • Handle real world data challenges in speed dating datasets: Clean byte string encodings, remove data leakage from decision variables, impute missing values, and use Recursive Feature Elimination to identify what actually predicts romantic chemistry.

Who Should Enroll

  • Data scientists and ML engineers who want to automate repetitive pipeline steps and understand how agentic AI can orchestrate complex workflows without constant manual intervention.
  • Python developers interested in AI agents who want practical, production relevant experience with LangGraph and the ReAct pattern beyond simple chatbot demos.
  • Students and professionals exploring machine learning automation who need to understand how modern AI systems can reason about multistep tasks and make intelligent decisions about tool usage.

Why Enroll

Agentic AI isn't just hype. It's becoming the standard for building intelligent systems that can handle complex, multistep workflows. This project gives you hands on experience with the architecture patterns that power real world AI agents: state management, tool binding, conditional routing, and the ReAct reasoning loop. You'll finish with a working match prediction system you can adapt to other ML domains, plus the foundational understanding to know when agents add value versus when traditional scripts suffice. And as a bonus, you'll have built something genuinely fun for Valentine's Day.

What You'll Need

You should be comfortable with Python and have basic familiarity with pandas and introductory machine learning concepts like train/test splits and classification. Some exposure to scikit learn is helpful but not required. All dependencies (LangChain, LangGraph, XGBoost) are pre configured in the environment, and the project runs best on current versions of Chrome, Edge, Firefox, or Safari.

Estimated Effort

45 Minutes

Level

Beginner

Skills You Will Learn

Agentic AI, Applied Machine Learning, Data Mining, LangGraph, Python, React

Language

English

Course Code

GPXX03MREN

Tell Your Friends!

Saved this page to your clipboard!

Have questions or need support? Chat with me 😊