Simple Neural Networks (PowerPoint) Flashcards
What is a Single Layer Perceptron (SLP)?
The simplest form of a neural network.
It consists of only one layer of artificial neurons, with each neuron connected directly to the input nodes.
What sort of problems can a Single Layer Perceptron (SLP) solve?
Classification with one boundary/separation between groups (linear patterns, meaning that classes can be separated by a straight line).
Ex. Does the patient have a disease or not?
What are the pros and cons of Single Layer Perceptrons (SLPs)?
Pros:
- Simple and easy to implement
- Training time is relatively fast compared to other neural network architectures
- Good for binary classification tasks and linearly separable problems
- Can be used as a building block for more complex neural network models
Cons:
- Limited to linearly separable problems and cannot learn complex decision boundaries
- Can only model a single output variable
- Not suitable for tasks that require multi-class classification
- Can suffer from the vanishing gradient problem when training on deep networks (the early layers donβt get enough feedback to adjust their weightd)
- Prone to overfitting (memorize the data set instead of understand the broader concepts) on noisy data or data with high dimensionality (data with a lot of different features or characteristics)
What in the perceptron represents the synapses?
The weights
What are two ways one can update the weights in a SLP?
- Manually select the weight values: Compare network output y (ANN prediction) to expected output t (ANN target)
- Use a learning/training rule
What is the update rule for SLP?
The Update Rule: π€β = π€ + ππ₯(π‘-π¦)
- π€β: Updated weight after applying the update rule.
- π€: Current weight.
- π: Learning rate, a constant that determines the step size during weight updates. (how quickly/slowly the model learns)
- π₯: Input to the neuron.
- π‘: Target (true) output.
- π¦: Actual output produced by the neuron
What is a Multi-Layer Perceptron (MLP)?
An artificial neural network (ANN) that consists of multiple layers of nodes, including
- Input Layer
- One or more Hidden Layers
- Output Layer
What is the activation function for a SLP? What is its biological counterpart?
The activation function is typically: y = f(x1 * w1 + x2 * w2)
It represent the soma (cell body).
What is the biological counterpart for the inputs in a SLP?
The inputs, typically x1 and x2, represent neurons.
What is the key problem when using SLP for classification?
Key problem is to learn the parameters that finds the boundary that sucessfully classifies the data items.