Prompt Engineering · Generative AI · Data Science

10 days: prompt engineering, generative AI and data science

One focused topic a day. Learn to write prompts that work, understand how LLMs think, use the OpenAI API in Python, and build machine learning models with random forest and XGBoost.

Who it is for: analysts, students and developers with basic Python who want practical skills in prompt engineering and data science.

★ 4.6 on Udemy · 437 ratings · 3,642 students · Highest Rated

14.5 hours of video · 146 lectures · certificate of completion

What you will learn

  • Write effective prompts: explicit instructions, one-shot, few-shot and chain-of-thought
  • Understand transformers, attention and tokenization, and why prompts change answers
  • Control LLMs with system messages and parameters such as temperature
  • Reduce hallucinations with meta prompting, analogical reasoning and multi-persona prompts
  • Prompt reasoning models and recognise overthinking prompt injection
  • Use the OpenAI API in Python and build a rock-paper-scissors AI capstone
  • Send images to a multimodal model and give your LLM Google search
  • Train and tune a random forest for a customer satisfaction project
  • Build XGBoost models in Python and R, tune them and explain them with SHAP
  • Build agentic AI systems with CrewAI agents, tasks and crews

Course outline

  1. 01

    Setup

    Google Colab, Jupyter and R.

  2. 02

    Day 1: prompt engineering basics

    Few-shot and chain-of-thought prompting.

  3. 03

    Day 2: system messages and LLM parameters

    Tokenization, temperature, and trying to break a system message.

  4. 04

    Day 3: better reasoning, fewer hallucinations

    Meta prompting, analogical reasoning, rephrase and respond, multi-persona prompts.

  5. 05

    Day 4: reasoning LLMs

    How reasoning models work and how to prompt them.

  6. 06

    Day 5: OpenAI API in Python

    Generate text, tune parameters and use few-shot examples in code.

  7. 07

    Day 6: capstone

    Build a rock-paper-scissors AI with the OpenAI API.

  8. 08

    Day 7: multimodal

    Analyse pictures with a multimodal LLM.

  9. 09

    Day 8: random forest

    Customer satisfaction prediction in Python.

  10. 10

    Day 9: XGBoost

    Python and R, parameter tuning with cross-validation and SHAP values.

  11. 11

    Day 10: AI agents with CrewAI

    Agents, tasks and crews that automate multi-step work.

Requirements

  • Basic Python: loops, functions and running a notebook. No machine learning or AI background needed.
  • A computer with internet access. A free Google Colab account and an OpenAI API key (a few dollars of credit) help on the API days.

Instructor

Diogo Alves de Resende

Data scientist, AI educator and founder of Bitte. Over 149,000 learners have taken his courses on Udemy.

What students say

"The course was very in depth. I was able to learn how to refine my prompts for the outcomes I desired using AI, but this course teaches so much more for those who are looking for more in depth instruction!"
Jill

Reviews from Udemy

FAQ

Do I need to know Python?
Basic Python is enough. Every notebook is provided and explained step by step.
Do I need machine learning experience?
No. Random forest and XGBoost are taught from scratch.
Will it cost extra?
Only a few dollars of OpenAI API credit for the API days. Google Colab is free.

Ready for day one?

Enrol on Udemy