dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse


Our Discord Notification Server invitation link is https://discord.gg/jB2qmRrxyD

Author Topic: What the basic components of AI are and how the data flows  (Read 26 times)

Online Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 7148
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 09:41:11 PM
  • Deeply Confused Learner
  • Profession: IT Engineer now retired
Quote
What are the basic components of AI and show the data flow

Core components of AI (neural network model)

1. Input data
Raw information such as:
- images, text, audio, sensor readings 
Converted into numeric form (vectors/tensors)

2. Parameters (weights + biases)
- Weights: control strength of connections 
- Biases: shift outputs 
These are the “learned memory” of the model.

3. Layers (transformations)
Each layer computes:
Code: [Select]
output = activation(Wx + b)
They progressively transform raw input into useful representations.

4. Activation function
Adds non-linearity:
- ReLU, sigmoid, tanh 
Without it, the model becomes just a linear function.

5. Loss function
Measures error:
- difference between prediction and truth 
Outputs a single number representing “how wrong” the model is.

6. Optimiser
Updates weights to reduce error:
- gradient descent / Adam 
It performs learning.

---

Data flow (forward + learning loop)

Forward pass
Code: [Select]
Input
 ↓
Layer 1 (Wx + b + activation)
 ↓
Layer 2
 ↓
...
 ↓
Output (prediction)

Loss calculation
Code: [Select]
Prediction + True label → Loss → Error value

Backward pass (backpropagation)
Code: [Select]
Error
 ↓
Compute gradients (credit assignment)
 ↓
Propagate backwards through layers

Parameter update
Code: [Select]
Weights = Weights - learning_rate × gradient

---

Full AI training loop
Code: [Select]
Input → Forward pass → Prediction
                    ↓
                   Loss
                    ↓
            Backpropagation
                    ↓
           Update parameters
                    ↓
              Repeat many times

---

Key idea
AI is not rules or logic.
It is a feedback loop that tunes a large mathematical function until its outputs match data.

Generated by ChatGPT.
« Last Edit: Today at 04:00:05 PM by Chip »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 

Related Topics

  Subject / Started by Replies Last post
0 Replies
20700 Views
Last post June 18, 2018, 03:40:55 AM
by Chip
0 Replies
21356 Views
Last post June 28, 2018, 02:32:54 AM
by Chip
0 Replies
22719 Views
Last post May 18, 2019, 07:53:52 AM
by Chip
0 Replies
26696 Views
Last post June 14, 2019, 04:06:52 PM
by Chip
0 Replies
13532 Views
Last post December 27, 2024, 06:15:16 PM
by Chip
0 Replies
12404 Views
Last post February 05, 2025, 08:24:07 AM
by smfadmin
0 Replies
12750 Views
Last post April 09, 2025, 11:28:47 PM
by Chip
0 Replies
13786 Views
Last post April 23, 2025, 07:36:53 AM
by smfadmin
0 Replies
13718 Views
Last post June 02, 2025, 08:36:22 PM
by Chip
0 Replies
18 Views
Last post Today at 04:14:33 PM
by Chip


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal