
Diogo Alves de Rezende shares his data-driven background in management and analytics, and his Betacom startup's mission to help restaurants optimize menus and pricing using data.
Stay ahead with a course updated for 2025, and join a collaborative journey by sharing feedback, reporting outdated content, and requesting new resources via an upcoming form.
set up Google Colaboratory for Python programming, upload the Python folder, link to Google Drive, and start new Google Colaboratory files with automatic saving.
Explore the basics of prompt engineering, learn how AI language models like transformers process language with attention, and practice one-shot, few-shot, and chain-of-thought prompts in LM Studio.
Explore few-shot prompts in practice with LM Studio, comparing to regular prompts, and learn how to generate structured outputs with a consistent writing style, format, and vocabulary.
Explore how large language models learn from few-shot prompts—zero, one, and few-shot learning—alongside scaling laws and long-form factuality, with safety measures and bias considerations.
Practice chain-of-thought reasoning with LM Studio by solving reasoning problems and comparing to GPT-4, using think step by step and question-first prompts to improve accuracy.
Explore tokenization and system messages to steer large language models, adjust temperature and top_p, and craft prompts that reveal bias, randomness, and accuracy.
Explore tokenization quirks and bias in language models through hands-on prompts in prompt engineering, using rock-paper-scissors, dice, and strawberries to reveal how prompts shape ai behavior.
Practice handling system messages and privacy rules by refusing to reveal a name, using the Diego Sanchez example, in a breaking the system message exercise.
Explore LM Studio parameters such as temperature, top k, top p, and repeat penalty to balance randomness and precision in LLM outputs, with notes on presence and frequent penalties.
Master prompt engineering basics from tokenization and system messages to tuning llm parameters like temperature and top-p with concise prompts. Reflect on progress, troubleshoot iteratively, and envision innovative ai applications.
Explore how to improve AI reasoning and curb hallucinations through meta prompting, structured response patterns, analogical reasoning prompting, rephrase questions, anchored sources, multi persona collaborations, and emotion prompts.
Learn to improve reasoning and reduce hallucinations through meta prompting, syntax emphasis, analogical reasoning, and rephrasing, while grounding outputs in sources and using multi‑persona collaboration and emotion prompts.
Learn how reasoning LLMs use internal chain-of-thought planning and hidden reasoning tokens to improve accuracy in multi-step tasks like coding and math, with slower but more reliable outputs.
Explore how Apple's research shows large language models struggle with genuine math reasoning, as GSM 8-K variations and the GSM symbolic template expose reliance on pattern matching.
Generate text using the OpenAI API by designing system and user prompts to craft compelling emails, adopting one-sentence paragraphs, funny hooks, and copywriter-style prompts.
Explore building reliable OpenAI API prompts using few-shot examples to craft emails, analyze writing style, and design a structured message flow with system, user, and assistant roles.
Iteratively improve the system prompt in Python to guide a rock-paper-scissors agent toward a single word move. Experiment with randomness and temperature to study bias and output behavior.
Build a rock, paper, scissors game in Python by defining a winner function and a play game loop that tracks rounds, moves, and a for tat strategy.
Analyze images from links with Python by using the OpenAI API to extract wine bottle information from an image URL, leveraging vision capabilities and GPT-4o mini.
Explore ensemble learning and the random forest, a robust, versatile ensemble of decision trees trained on random data and features to improve accuracy, handle missing values, and model non-linear relationships.
Understand how a decision tree splits data to maximize information and entropy, and how random forests combine many trees for classification, with notes on regression using frequencies and averages.
Set up the random forest workflow in Google Colab, connect to Google Drive, import numpy, pandas, matplotlib, seaborn, load the customer survey data, and refer to its data dictionary.
Explore the bias-variance trade-off by comparing overfitting and underfitting, and learn how cross-validation helps find the sweet spot for reliable test-set performance.
Evaluate an imbalanced XGBoost model by generating predictions, applying a 0.5 threshold, and analyzing KPIs with a confusion matrix, a classification report, AUC, and AUC PR to optimize outcomes.
Explore shap dependence plots to visualize interactions between age and housing, and interpret single-prediction force plots with positive and negative contributions.
Explore creating SHAP waterfall plots to visualize feature shifts and perform cohort analysis with age-based cohorts, using Shap values and summary plots for deeper insights.
Inspect data structure with str, identify numeric and character variables, convert non-numeric to dummy variables for xgboost, and create a numeric-only data set using the player package.
Explore summary statistics and a correlation matrix for a numerical data set, identify potential outliers, and discuss how xgboost's non-linearity mitigates their impact while noting multicollinearity considerations.
Evaluate a model in R using a confusion matrix to compute accuracy, sensitivity, and specificity, and interpret business implications of predicting positives versus negatives.
Configure cross-validation parameters in R using trainControl, set method to cv, enable parallel processing, and choose a five-fold split for parameter tuning.
Run the final XGBoost model in R using tuned hyperparameters from the earlier steps, replacing model one with model three and validating the results for business-ready performance.
Welcome to the 10 Days of Prompt Engineering, Generative AI, and Data Science Course
Get hands-on with Prompt Engineering, Generative AI, and Data Science in just 10 days.
I’m Diogo, and I’ve structured this course to take you from basics to advanced topics quickly.
We’ll cover live sessions, hands-on labs, and real-world projects—all in 14 hours and 30 minutes of published video content. You’ll also receive lifetime updates so your learning never goes stale.
You will build a portfolio of project on topics like:
Prompt Engineering Fundamentals: Understand transformers, attention mechanisms, and how to structure prompts for optimal performance.
Generative AI Workflows: Master tools like Google Colab, Jupyter Notebook, LM Studio, and learn how to fine-tune system messages and model parameters.
OpenAI API for Text & Images: Integrate the OpenAI API into Python projects, explore parameters for better text generation, and tap into image generation (coming soon).
Machine Learning with XGBoost & Random Forest: Explore advanced ML topics, including parameter tuning, SHAP values, and real-world approaches to customer satisfaction modeling.
AI Agents with CrewAI: Dive into the next wave of AI automation (coming in Q1 2025).
COURSE BREAKDOWN
Introduction
Meet your instructor, download course materials, set up your environment (Google Colab, Jupyter Notebook, RStudio).
Preview the core projects we’ll tackle.
Day 1 – Basics of Prompt Engineering
Learn about transformers, attention, and chain-of-thought prompting.
Experiment with LM Studio to practice explicit instructions, one-shot, and few-shot techniques.
Day 2 – System Messages & LLM Parameters
Tokenization, system messages, and parameter tuning.
Break the system message (on purpose) to see how LLMs respond, then learn how to guide them back.
Days 3 - Prompt Engineering for better reasoning
Proven ways to improve the reasoning in LLMs.
Overcoming LLM Hallucinations
Day 4 –Reasoning LLMs - Coming in Q1 2025
How Reasoning Works in LLMs
Prompt Injection for LLMs like the O1.
A hot take on whether LLMs can reason or not.
Day 5 – OpenAI API for Text Generation
Integrate the OpenAI API in Python.
Adjust temperature, handle few-shot learning, and refine your text generation workflow.
Day 6 – CAPSTONE PROJECT: OpenAI API
Build a “Rock-Paper-Scissors” AI.
Create new strategies, test temperature parameters, and see how GPT adapts.
Days 7 - OpenAI API for Images
Fee images via links and encoded to the Multimodal LLM
Add Web-browsing capabilities to the LLM
Day 8 – Random Forest for Customer Satisfaction
End-to-end project on gathering actionable insights on customer satisfaction.
Guide on how to build a great chart.
Day 9 – XGBoost
Discover XGBoost in both Python and R.
Handle data processing, parameter tuning, cross-validation, and SHAP values for model interpretation.
Day 10 – AI Agents with CrewAI
Coming in Q2 2025—learn to build AI agents that automate tasks and collaborate efficiently.
WHY ENROLL NOW?
Lifetime Updates: You get all future course modules automatically, including advanced sections scheduled for 2025.
Practical Projects: Apply what you learn in real-world scenarios (Rock-Paper-Scissors AI, XGBoost for customer satisfaction).
Structured Curriculum: Each day is designed to build on the previous one, speeding up your learning and progress.
Community & Feedback: Engage in discussions, get direct feedback, and influence new content updates.
Ready to accelerate your Prompt Engineering, Generative AI, and Data Science skills?
Sign up now and gain immediate access to all published content, including the future modules. Let’s start building the future of AI together!