ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCOMP2121Artificial Neural Netw…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    COMP2121

    Artificial Intelligence

    Progress0 / 19 done
    Topics19
    1An Introduction to Artificial Intelligence and its applications towards Knowledge Based Systems2Introduction to Reasoning and Knowledge Representation
    3Informed searching4Uninformed searching5Heuristics in Problem Solving6Local searching algorithms7Minimax algorithm8Alpha-beta pruning9Game-playing in AI
    10General Problem Solver11ELIZA12Student13Macsyma14Learning from examples15Artificial Neural Networks (ANN)16Natural Language Processing17Recent trends and applications of AI algorithms18Python programming for AI19Implementation of AI techniques in Python
    3 min read
    Topic 15 of 19
    Topic Study Note Illustration
    15

    Artificial Neural Networks (ANN)

    ANN stands for Artificial Neural Network , which is a key concept in Artificial Intelligence (AI), especially in the field of machine learning and deep learning .

    Artificial Neural Networks (ANNs)

    ANN stands for Artificial Neural Network, which is a key concept in Artificial Intelligence (AI), especially in the field of machine learning and deep learning.


    🌐 What is an ANN?

    An Artificial Neural Network is a computational model inspired by the structure and function of the human brain. Just like our brain has neurons that are connected to each other, ANNs are made up of artificial neurons (also called nodes or units) connected in layers.


    πŸ”§ Basic Structure of ANN

    1. Input Layer:

      • Takes in the initial data (features).
      • Each neuron in this layer represents a feature of the input data.
    2. Hidden Layers:

      • One or more layers between input and output.
      • Perform computations and transformations on the data.
      • Most of the learning and pattern recognition happens here.
      • Each neuron uses a weight and a bias to calculate an output, passed through an activation function (like ReLU, Sigmoid, or Tanh).
    3. Output Layer:

      • Produces the final result (like a prediction or classification).
      • The number of neurons depends on the problem (e.g., 1 for binary classification, many for multi-class classification).

    βš™οΈ How ANN Works (Simplified)

    1. Forward Propagation:

      • Input data moves through the network (input β†’ hidden layers β†’ output).
      • Each neuron calculates a weighted sum of inputs, applies an activation function, and passes the result to the next layer.
    2. Loss Calculation:

      • The output is compared to the true label using a loss function (e.g., Mean Squared Error for regression).
    3. Backpropagation:

      • The network adjusts the weights and biases by calculating gradients (how much each weight contributes to the error).
      • Uses gradient descent (or variants like Adam) to minimize the loss.

    πŸ“Œ Key Concepts

    • Weights: Determine the importance of inputs.
    • Bias: Allows shifting the activation function to better fit the data.
    • Activation Function: Adds non-linearity to the model (e.g., ReLU, Sigmoid).
    • Epoch: One full pass through the entire training dataset.
    • Learning Rate: Controls how much the weights are updated during training.

    🧠 Why Use ANNs?

    • Great for modeling complex patterns and non-linear relationships.

    • Used in:

      • Image recognition
      • Speech processing
      • Natural language processing (NLP)
      • Medical diagnosis
      • Game playing (e.g., AlphaGo)

    🧩 Variants of ANN

    • CNN (Convolutional Neural Networks) – used for image data.
    • RNN (Recurrent Neural Networks) – used for sequence data (e.g., time series, language).
    • DNN (Deep Neural Networks) – ANNs with many hidden layers.

    πŸ§ͺ Simple Analogy

    Think of an ANN like a black box calculator:

    • You feed in numbers (input),
    • The box has gears and wires (hidden layers),
    • It gives you an answer (output),
    • And the box keeps adjusting its internal gears until it gets the answer right most of the time (learning).

    ← Previous topic 14
    Learning from examples
    Next topic 16 β†’
    Natural Language Processing

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    3mremaining
    449words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Artificial Intelligence