Skip to main content

What is AI & ML

Imagine you have a very smart robot helper.

You want it to tell the difference between apples and bananas.

Normal Programming

In normal computer programming, a human writes exact rules:

  • “If it’s yellow and long → banana”

  • “If it’s round and red → apple”

The computer follows instructions exactly.

But real life is messy:

  • Bananas can be green

  • Apples can be yellow

  • Pictures can be blurry

Writing every rule becomes hard.


What Is AI?

Artificial intelligence (AI) is when computers do tasks that seem “smart.”

Examples:

  • Understanding speech

  • Recognizing faces

  • Recommending videos

  • Answering questions

  • Driving cars

AI is the big umbrella term.


What Is Machine Learning?

Machine learning (ML) is one way to build AI.

Instead of giving the computer every rule, you give it lots of examples.

For example:

  • 10,000 apple pictures

  • 10,000 banana pictures

The computer studies them and learns patterns by itself.

That learning process is called training.


A Kid Learning Example

Think about how a child learns animals.

You point and say:

  • “Dog”

  • “Dog”

  • “Cat”

  • “Dog”

Eventually the child starts recognizing dogs alone.

Machine learning works similarly:

  • Show examples

  • Find patterns

  • Make guesses on new things


Important ML Words

Data

The information the AI learns from.

Examples:

  • Photos

  • Text

  • Audio

  • Numbers

Good data helps AI learn better.


Model

The trained AI brain.

After learning from data, the model can make predictions.

Example:

  • “This photo is probably a cat.”


Training

The learning stage.

The AI looks at huge amounts of data again and again to improve.


Prediction

The answer or guess the AI gives.

Example:

  • Spam or not spam

  • Cat or dog

  • Which movie you may like


What Is Deep Learning?

Deep learning is a more advanced type of machine learning.

It uses “neural networks,” which are loosely inspired by the human brain.

Deep learning is especially powerful for:

  • Images

  • Speech

  • Language

Modern AI tools like ChatGPT use deep learning.


Everyday AI Examples

You already use AI all the time:

  • Netflix recommending shows

  • Spotify suggesting music

  • Face unlock on phones

  • Google Maps traffic prediction

  • Email spam filters

  • Voice assistants


Simple Analogy

Think of machine learning like teaching with examples instead of instructions.

Traditional programming

Human writes rules → Computer follows rules

Machine learning

Computer studies examples → Computer learns rules


One-Sentence Summary

AI is the idea of making computers act smart.
Machine learning is a method where computers learn from data instead of being manually programmed with every rule.

Comments

Popular posts from this blog

DBMS CHECKLIST

DBMS Types Data Independence Three schema architecture DBMS users Dr.E.F.Codd’s rules for RDBMS (0-12) ER Model SQL DDL – CREATE, ALTER, DROP, TRUNCATE, RENAME DML – INSERT, UPDATE, DELETE DCL – GRANT, REVOKE, CREATE USER, DROP USER TCL – COMMIT, ROLLBACK, SAVEPOINT DATATYPES, OPERATORS(ARITHMETIC,RELATIONAL) CONSTRAINTS (PRIMARY KEY, FOREIGN KEY, NOT NULL, UNIQUE, CHECK) WHERE CLAUSE ORDER BY ASC | DESC DISTINCT GROUP BY - HAVING FUNCTIONS 1.      SINGLE ROW FUNCTIONS(UPPER,LOWER,SUBSTR,INITCAP,LENGTH,TRIM,LTRIM,RTRIM) 2.      AGGREGATE FUNCTIONS(MIN,MAX,SUM,AVG,COUNT) 3.      NUMBER FUNCTIONS(ROUND,CEIL,FLOOR,ABS,MOD,SQRT,POWER) 4.      DATE FUNCTIONS(TO_DATE,ADD_MONTHS,TO_CHAR,NEXTDAY,MONTHS_BETWEEN, SYSDATE) 5.      NULL FUNCTIONS(NVL,NVL2,COALESCE) OPERATORS IN NOT IN BETWEEN AND IS NULL LIKE, NOT LIKE PATTERN MATCHING IS ...

Everything about computers

Hi, I am quite excited to start the technical part of my blog! I hope so are you! Let's start with the Abc of computers that we all find a bit hard to put in to words. These are my own definitions made really simple and easy to understand! Computer:   An electronic device that computes, stores, processes , manipulates and displays the data. Coined from the term "compute", means to calculate. Facts:  First ever computer was used for mathematical calculations. Founder: Charles Babbage - The Father of computers - invented the first ever mechanical computer called "Babbage's Analytical Engine"! Features of a Computer / Advantages of computer over a calculator: Speed, Accuracy, Storage, Multi tasking, Diligence (and many more). A computer comprises of Software and Hardware (all the physical - internal or external components/peripherals that are connected to or a part of computer ex. Keyboard, Mouse, Cabinet, Joystick, USB - pen drive etc. that we c...

Look before you Leap...

Hey there, Lets talk about Information. Many a times we are not the first hand recipients of information. We receive information from someone or through the Internet or the media. Some of us are wise enough to ponder over the details received from any third or fourth party sources but most of us blindly believe in what comes around from Mr.XYZ and everyone around. A wise one would use his/her intellect and wisdom to ponder over that information and decide whether to trust and take it in or throw it out. That is what makes us different from animals. The power of thinking and intellect. To illustrate this, lets remind ourselves of this famous story of a fox. There was once a fox in a jungle. One day the fox accidentally slipped in to a deep well and was unable to get out of there. So it came up with an idea. As soon as it heard a sheep bleat, it started exclaiming very loud  "wow. This water is so tasty!".  Hearing this the sheep went close to the well and asked...