Basic Understanding of Neural Networks Flashcards
Basic Understanding of Neural Networks
What is the basic structure of a Neuron (Perceptron) in ANN?
A Neuron (Perceptron) consists of input values, weights, a bias, an activation function, and an output
The input values are multiplied by weights, summed, and then passed through the activation function.
What is the purpose of an activation function in Neural Networks?
The activation function introduces non-linearity into the model, allowing it to learn complex patterns
Examples include ReLU, sigmoid, and tanh functions.
What are the steps involved in training a Neural Network?
The steps include:
* Forward propagation
* Loss calculation
* Backpropagation
* Weight update
These steps are repeated for multiple epochs to optimize the model.
How can we assess the performance of our model?
Performance can be assessed using metrics such as accuracy, precision, recall, F1 score, and loss
These metrics help evaluate how well the model predicts outcomes.
Can you highlight the differences between Batch Gradient Descent and Stochastic Gradient Descent in the context of Machine Learning?
Differences include:
* Batch Gradient Descent uses the entire dataset for each update
* Stochastic Gradient Descent updates weights for each training example
Stochastic Gradient Descent is generally faster and can escape local minima more effectively.
Which method is commonly used to determine optimal values for parameters like weights and biases in a Neural Network?
Gradient Descent is commonly used to optimize weights and biases
Variants include Mini-batch Gradient Descent, Adam, and RMSprop.
What is a loss function, and why is it important?
A loss function quantifies the difference between predicted and actual outcomes, guiding the optimization process
Common loss functions include Mean Squared Error and Cross-Entropy Loss.
What role do hyperparameters play in a Neural Network?
Hyperparameters control the learning process and architecture, such as learning rate, number of layers, and batch size
They must be tuned to improve model performance.
What are the parameters of a Neural Network?
Parameters include weights and biases within the network
These parameters are adjusted during training to minimize the loss.
How should you select the suitable format of a neural network (MLP, RNN, CNN, GNN) for a project?
Selection should be based on the nature of the data and the problem domain
MLP is used for structured data, RNN for sequential data, CNN for image data, and GNN for graph data.
How do you select the most suitable setting for the loss function in ANN?
The selection depends on the type of problem being solved (e.g., regression or classification)
Different tasks may require different loss functions for optimal performance.