Skip to content

Free preview · Fundamentals of AI and ML

How AI, ML, deep learning, GenAI and agentic AI differ

13 min

The video plays inside the course after you enrol. Here is what it covers.

Transcript

Welcome to AI Guru Academy's preparation for the AWS Certified AI Practitioner exam. This first lesson is called: How AI, machine learning, deep learning, generative AI and agentic AI differ. It covers the exam's opening task, defining the basic vocabulary of AI and telling these five ideas apart. By the end, you will be able to read a business scenario, say what the system actually has to do, and name the approach that fits, using core terms like model, training, inference and bias correctly. This is independent preparation. AWS awards the certification, and this course is not affiliated with or endorsed by AWS. Start with one question you can carry into every exam scenario: what exactly is the system doing? The slide gives five answers. Artificial intelligence is the broad field. Machine learning learns patterns from data instead of following hand-written rules. Deep learning is machine learning that uses layered neural networks. Generative AI creates new content, such as text, images or code. Agentic AI chooses steps toward a goal and uses tools it has been allowed to use. These are not five separate boxes. A generative model is usually built with deep learning, and an agent often calls a generative model to decide what to do next, so one product can carry several labels at once. A fictional insurer's claims assistant that reads a car photo, estimates repair cost, writes a summary and files the claim touches every label here. The tempting mistake is to pick the newest-sounding label. Instead, find the verb in the requirement: predict, recognize, write or act. Here the circles nest. Artificial intelligence is the outer one: any system that performs tasks we associate with human intelligence. Two such tasks have names you should know. Computer vision is AI that interprets images and video. Natural language processing, or NLP, is AI that works with human language, like finding the sentiment of a review or the key phrases in an email. Inside AI sits machine learning, where a model learns patterns from data. Inside machine learning sits deep learning, which uses neural networks with many layers. Anything that is deep learning is also machine learning and AI, but a rule-based system can count as AI without any learning at all. Generative AI and agentic AI are not extra rings in this picture. They describe what a system produces or how it works, and they usually rely on deep learning underneath. Not every intelligent-looking system has to learn. On the left, a rule says: if the temperature goes above 90 degrees Celsius, trigger an alert. A person wrote that threshold, so there is no training. On the right, the 75 percent is an example failure-risk score. A model has looked at a pump's current readings and estimates, from patterns in past data, a 75 percent chance that it fails soon. The model found how vibration, running hours and temperature combined before earlier failures. The score is a probability, not a verdict. The business still decides what to do with it, for example scheduling an inspection whenever risk passes 70 percent. Machine learning is not automatically better. When the logic is stable, simple and must be fully explainable, rules are cheaper and easier to trust. The exam signal: fixed, known conditions point to rules, while patterns hidden in historical data, plus a prediction, point to machine learning. Two phases here, and two terms people mix up. An algorithm is the learning method, the recipe. A model is what that recipe produces after it has seen data: the learned parameters you actually use. During training, the algorithm studies historical sensor readings labeled with what happened, failure or no failure, and adjusts the model's parameters to reduce its errors. Later comes inference: the trained model receives today's readings and returns an estimated risk. Inference does not change the model; retraining is a separate step. Training also has to reach a good fit. A model that underfits is too simple and misses real patterns, so it does badly even on its own training data. A model that overfits memorizes the training data, noise included, and then performs poorly on pumps it has never seen. The sign of overfitting is high training accuracy but much lower accuracy on new data. On AWS, Amazon SageMaker AI is the service for building, training and deploying your own models. A neural network is a model made of connected layers of simple units. Data enters at the input layer, passes through hidden layers that transform it, and arrives at an output, such as a label. Deep learning simply means the network has many of those layers. In the slide's image example, early layers tend to respond to edges and colors, later layers combine those into shapes, and the output layer names the object. Nobody programs what each layer detects; the network learns it from labeled examples. That is why deep learning drives most modern computer vision, speech recognition and language models. The trade-off is that it usually needs a lot of data and computing power, and its decisions are harder to explain than a simple rule. Amazon Rekognition, for example, offers image and video analysis built on deep learning, with no machine learning expertise required. Deep learning is a kind of machine learning, not its rival. Generative AI changes what comes out. A predictive model returns a label or a number, like fraud or not fraud. A generative model returns something new: here, a draft reply to a customer about a delayed delivery. It learned the patterns of language from very large amounts of data and builds the response piece by piece. Models trained on broad data that can be adapted to many tasks are called foundation models. A large language model, or LLM, is a foundation model focused on text: it can draft, summarize, translate and answer questions. Other models create images, audio or code. On AWS, Amazon Bedrock is a managed service that gives access to foundation models from Amazon and other providers through an API. The output can sound confident and still be wrong, which is why a person reviews the draft. Exam signal: draft, summarize or create point to generative AI, while classify or estimate point to predictive machine learning. Agentic AI is about action, not just answers. The request: a customer asks where their order is. Decide: the agent works out that it needs the latest delivery status. Use tool: it calls an order API it is permitted to use, which reports the order as delayed. Observe: it reads that result, learns the delivery is two days late, and uses it to choose the next step, drafting an accurate update. That decide, act, observe loop makes it an agent. A generative model often does the reasoning inside the loop, but a chatbot that only writes text is not an agent, because it never acts on another system. Note the safety boundary. The agent should reach only the tools it has permission for, and a person should approve high-impact actions, such as issuing a refund. On AWS, Amazon Bedrock AgentCore helps teams build and run agents that call your APIs. Exam signal: multi-step tasks, tool calls and updates to other systems point to agentic AI. This table turns the lesson into a lookup; read each row by its distinguishing feature. A known temperature threshold is explicit logic, so rules. Predicting pump failures from history is machine learning. Recognizing damage in photos uses layered neural networks, so deep learning. Writing a repair explanation generates new content, so generative AI. Investigating and then requesting a repair means choosing steps and using tools, so agentic AI. Real solutions combine these. One maintenance assistant might use a vision model on photos, a predictive model for risk, and an LLM to write the explanation. Whenever a system learns from data, two more terms apply. Bias is a systematic skew in results, often because the training data under-represents some groups or situations. Fairness is the goal that outcomes do not unjustly favor or harm particular people. A hiring model trained only on past hiring decisions can quietly repeat their bias. Here is a scenario to test the idea. A manufacturer uses historical sensor readings and maintenance records to predict which pumps may fail next week. Which concept is the best fit? A, rule-based automation. B, supervised machine learning. C, generative AI content creation. D, agentic tool orchestration. Take a moment to decide. The answer is B, supervised machine learning. The clue is the pairing of labeled historical records with a future outcome to predict. The maintenance records show which pumps actually failed, so every past example comes with a known answer, and learning from labeled examples to predict an outcome is exactly what supervised learning means. A is weaker because the scenario gives no fixed threshold; the pattern has to be learned from data. C is weaker because the output is a risk prediction, not a new piece of text or an image. D is weaker because nothing here chooses steps or calls tools; the system only estimates which pumps are at risk. Here is your mental model in five lines. AI is the broad goal of intelligent behavior, and it includes plain rules. Machine learning learns patterns from data: an algorithm trains a model, and inference applies that model to new input. Deep learning does the same with layered neural networks, and it powers most computer vision and language work. Generative AI, including large language models, creates new content that still needs checking. Agentic AI plans steps and uses tools within the limits you set. For anything that learns, also check its fit and its bias. Before moving on, try explaining the difference between training and inference out loud in two sentences. In the next lesson, Data types and learning types, we look at the data models learn from, labeled and unlabeled, structured and unstructured, and at how supervised, unsupervised and reinforcement learning differ. The line at the bottom of the slide lists terms from this lesson's exam objectives that you should also recognize: model, algorithm, neural network, computer vision, natural language processing, large language model, bias, fairness, and overfitting.