Basic Understanding of Neural Networks Flashcards

Basic Understanding of Neural Networks

1
Q

What is the basic structure of a Neuron (Perceptron) in ANN?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of an activation function in Neural Networks?

A

The activation function introduces non-linearity into the model, allowing it to learn complex patterns

Examples include ReLU, sigmoid, and tanh functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the steps involved in training a Neural Network?

A

The steps include:
* Forward propagation
* Loss calculation
* Backpropagation
* Weight update

These steps are repeated for multiple epochs to optimize the model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can we assess the performance of our model?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can you highlight the differences between Batch Gradient Descent and Stochastic Gradient Descent in the context of Machine Learning?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which method is commonly used to determine optimal values for parameters like weights and biases in a Neural Network?

A

Gradient Descent is commonly used to optimize weights and biases

Variants include Mini-batch Gradient Descent, Adam, and RMSprop.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a loss function, and why is it important?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What role do hyperparameters play in a Neural Network?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the parameters of a Neural Network?

A

Parameters include weights and biases within the network

These parameters are adjusted during training to minimize the loss.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How should you select the suitable format of a neural network (MLP, RNN, CNN, GNN) for a project?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you select the most suitable setting for the loss function in ANN?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly