Skip to main content

Neural network; supervised vs unsupervised

Short answer

A neural network is a computing system of interconnected artificial neurons that learns by adjusting weights from data. Supervised learning uses labeled input-output pairs and a teacher signal to learn a mapping (e.g., back-propagation), while unsupervised learning uses only unlabeled data to discover patterns or clusters without a teacher (e.g., Kohonen SOM).

What is neural network? Differentiate between supervised and unsupervised learning.

Neural network

An artificial neural network (ANN) is a computing system made of many interconnected simple processing units (neurons) that work in parallel. Each connection carries a weight; the network learns by adjusting the weights from data. It is inspired by the biological brain and is used for classification, function approximation and pattern recognition.

Structure: input layer, one or more hidden layers, output layer. Each neuron computes y = f(Σ wᵢxᵢ + b).

Supervised vs unsupervised learning

PointSupervised learningUnsupervised learning
Training dataLabelled: input with the desired output (target)Unlabelled: inputs only
TeacherA teacher/target gives the error signalNo teacher
GoalLearn mapping from input to outputDiscover structure, clusters or patterns
FeedbackError = target − actualNone, or internal measure (similarity)
TasksClassification, regressionClustering, dimensionality reduction, associations
ExamplesPerceptron, back-propagation, decision treesKohonen SOM, k-means, competitive learning
EvaluationEasy (compare with known labels)Harder, no ground truth
ExampleSpam detection from labelled emailsGrouping customers by buying behaviour

✓ Answer checked by Claude Opus 5.5 (high effort)

All Artificial Intelligence chapter 6 questions →