• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 39 páginas
Examen

Machine Learning Types | BSc Computer Applications | 2026/27

Document preview thumbnail
Vista previa 4 fuera de 39 páginas

Study notes for Unit 5 covering the four major types of Machine Learning in the BSc Computer Applications program. Topics include Supervised Learning, Unsupervised Learning, Semi-Supervised Learning, and Reinforcement Learning, with mathematical representations, algorithms, real-world examples, and comparative analysis. Well-structured with step-by-step examples like email spam detection, diagrams, and key properties comparison—ideal for understanding ML fundamentals and exam preparation.

Vista previa del contenido

UNIT 5

Question: Explain Different Types of Machine Learning.

1. Definition

1. Machine Learning (ML) is a branch of Artificial Intelligence that enables
computers to learn from data and improve their performance without being
explicitly programmed for every task.

2. Machine Learning algorithms identify patterns in data and use them to make
predictions or decisions.

3. Based on the type of data and learning process, Machine Learning is mainly
divided into:

o Supervised Learning

o Unsupervised Learning

o Semi-Supervised Learning

o Reinforcement Learning



2. Mathematical Representation / Formula

A simple representation of Machine Learning is:

Input Data → Learning Algorithm → Model → Prediction / Decision

For supervised learning:

X → Model → Y

Where:

• X = Input features

• Y = Target/output

• Model = Learned relationship between input and output

For reinforcement learning:

State → Action → Reward → New State



3. Types of Machine Learning

1. Supervised Learning

, • The model learns from labelled data.

• Both input and correct output are provided.

• The model learns the relationship between input and output.

• Used for classification and regression.

Examples:

• Email → Spam/Not Spam

• House features → House price

Algorithms: Linear Regression, Decision Tree, KNN, SVM.



2. Unsupervised Learning

• The model learns from unlabelled data.

• No predefined output/label is provided.

• The algorithm finds hidden patterns or groups in the data.

Examples:

• Grouping customers based on purchasing behaviour.

• Finding similar products.

Algorithms: K-Means Clustering, Hierarchical Clustering, PCA.



3. Semi-Supervised Learning

• Uses a combination of small labelled data and large unlabelled data.

• Useful when obtaining labelled data is expensive or time-consuming.

• The labelled data guides the learning process, while unlabelled data helps
improve the model.

Example:

100 labelled images

+

10,000 unlabelled images

↓

,Semi-Supervised Learning

↓

Image Classification



4. Reinforcement Learning

• The agent learns by interacting with an environment.

• It performs actions and receives rewards or penalties.

• The goal is to learn a strategy that maximizes the total reward.

Example:

A game-playing AI:

State → Action → Reward

↑ │

└────────────────┘

If the AI makes a good move → Reward

If it makes a bad move → Penalty

Algorithms: Q-Learning, SARSA, Deep Q-Learning.



4. Diagram

, Also:

Semi-Supervised Learning uses both labelled and unlabelled data.



5. Step-by-Step Example

Suppose we want to build an email spam detection system.

Step 1: Collect Data

Collect many emails.

Step 2: Label Data

Some emails are labelled:

• Spam

• Not Spam

Step 3: Train the Model

The supervised learning algorithm learns patterns from these labelled emails.

Step 4: Give New Email

A new email is given to the trained model.

Step 5: Prediction

The model predicts:

Spam or Not Spam

Información del documento

Subido en
4 de noviembre de 2026
Número de páginas
39
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$7.66

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
6
Última venta
-



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes