Artificial Intelligence Fundamentals / What AI Is

What AI is and is not

Lesson 4 of 26. Open to read. No account needed.

Why the Words Matter

"AI" is used for almost anything a computer does: a calculator app, a thermostat, a film recommendation, a chat assistant. When one word covers all of them, it is hard to ask useful questions: what does this system know, where did that knowledge come from, and how could it be wrong? This lesson separates the terms you will meet in the rest of the course so you can ask those questions precisely. The definitions are this course's working definitions, written to be useful in practice rather than quoted from a standard.

Artificial Intelligence: the Broad Goal

Artificial intelligence (AI) is the broad goal of making computers do tasks that we would call intelligent if a person did them: recognising a face, translating a sentence, choosing a move in a game, answering a question. The term says what a system aims to do, not how it does it.

There are two very different ways to build such a system:

  • Write the rules yourself. A person who understands the task writes the steps explicitly: "if the message contains these words, mark it as spam". The computer follows rules it was given.
  • Learn the rules from examples. A person collects many examples where the right answer is known, and an algorithm works out rules that reproduce those answers. The computer follows rules it derived.

The second way is machine learning, and it is what most of this course is about. The next lesson compares the two on the same task.

Machine Learning: Learning From Examples

Machine learning builds a model: a set of rules or numbers derived from examples, which the computer then uses to make predictions about new cases. Producing the model from the examples is called training or fitting.

The examples are described in a standard way:

  • Each example is a sample: one email, one flower, one house sale.
  • Each sample is described by features: measurable properties such as the number of links in an email or the length of a petal.
  • In many tasks each sample also has a label: the known right answer, such as "spam" or the flower's species. In scikit-learn the label is also called the target.

When every training sample has a label, the task is supervised learning: the model learns to predict the label from the features. Sorting samples into categories is classification; predicting a number, such as a price, is regression. When no labels are available and the model looks for structure on its own, such as groups of similar customers, the task is unsupervised learning. A third family, reinforcement learning, learns by trial and error from rewards; this course only mentions it.

A machine learning model is only as good as its examples. If the examples are few, unrepresentative or wrongly labelled, the model learns the wrong rules, and nothing in the training step warns you. Much of this course is about checking models for exactly that.

Deep Learning and Neural Networks

A neural network is a particular kind of model made of many simple connected units arranged in layers. Each unit combines its inputs with adjustable numbers called weights, and training adjusts those weights. Deep learning means using neural networks with many layers. Deep learning powers modern image recognition, speech recognition and language models. You will train a small network yourself later in the course.

Generative AI and Language Models

Most models you will build predict something about an input: a category or a number. Generative AI refers to models that produce new content: text, images, sound or code. Today's generative AI systems are deep learning models trained on very large amounts of data.

A large language model (LLM) is a generative model for text. It is trained to generate the next piece of text, called a token, given the text so far, including its own output; repeating that step produces whole answers. A chat assistant is an application built around such a model. Because the model produces likely-looking text rather than looking facts up, its answers can be fluent and still wrong. The generative AI module shows how this works and why it matters.

How the Terms Fit Together

Nested areas: artificial intelligence is the outer area and also contains systems built from hand-written rules. Inside it, machine learning covers systems that learn from examples. Inside that, deep learning covers neural networks with many layers. Generative AI sits inside deep learning and includes large language models.

Read the diagram from the outside in. Each inner area is a particular kind of the area around it: every deep learning system is a machine learning system, and every machine learning system is an AI system, but not the other way round. The outer area also holds rule-based systems, which are AI by goal but learn nothing. Generative AI sits inside deep learning, because today's generative systems are deep neural networks.

Worked Example: Sorting Six Systems

SystemHow it decidesCategory
CalculatorFixed rules of arithmetic, written by programmersNot AI in any useful sense; just a program
ThermostatA rule: heat when the temperature is below the settingRule-based automation
Spam filterUsually a model trained on emails labelled spam or not spamMachine learning (supervised classification)
Product recommendationsUsually a model trained on what similar customers boughtMachine learning
Photo search ("find pictures of dogs")Usually a deep neural network trained on labelled imagesDeep learning
Chat assistantA large language model generating one token at a timeGenerative AI

The word "usually" matters. You cannot tell how a system decides from its behaviour alone; a spam filter could be a list of hand-written rules. When the answer matters, ask the provider how a system was built and tested.

Check Your Understanding

  1. Why is a calculator not a machine learning system, while a spam filter usually is?
  2. A bank has ten years of loan applications, each labelled with whether the loan was repaid. Is predicting repayment supervised or unsupervised learning, and is it classification or regression?
  3. A shop wants to find groups of customers with similar buying habits, but has no labels. Which kind of learning is this?
  4. Why can a chat assistant give a fluent but wrong answer?

Answer and Reasoning

  1. A calculator follows arithmetic rules written by programmers; it learned nothing from examples. A spam filter is usually trained on labelled emails and derives its own rules, which is what makes it machine learning.
  2. Supervised, because every past application has a known outcome, the label. Classification, because the prediction is a category: repaid or not repaid. Predicting the amount repaid would be regression.
  3. Unsupervised learning: there is no known right answer for each customer, so the model looks for structure in the features alone.
  4. A language model generates likely next tokens from patterns in its training data; it does not look facts up. Text can be likely-sounding and false at the same time.

References

Study this course with an account

Course access adds revision notes, the Quick Reference, saved progress, bookmarks and your own notes.

INR 199 plus 18% GST. 90 days of online access. No auto-renewal.

See course access

This website is operated by VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED, operating as Vectametric.

Corporate Identity Number (CIN): U85499KA2026OPC229822. GSTIN: 29AAMCV8281D1ZS. Registered office: RS NO/38/2A/1 BASTAND, ROAD MAHANTESH NAGAR, Ramdurg, Ramdurg, Belgaum- 591123, Karnataka.

Queries and grievances: Prajval Honnungar, Grievance Officer and Data Protection Contact.

Telephone: +91 94800 09310. Support: support@vectametric.com. Grievances: support@vectametric.com.

Copyright 2026 VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED. All rights reserved.

Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy