Fundamentals of Machine Learning II (Not for Certification) Flashcards

1
Q

What is deep learning?

A

Deep learning is an advanced form of machine learning that uses artificial neural networks with multiple layers to model complex patterns in data, mimicking the way the human brain processes information.

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

What is an artificial neural network (ANN)?

A

An ANN is a computational model inspired by biological neural networks, composed of interconnected layers of nodes (neurons) that process input data through mathematical functions to produce an output.

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

Why is it called “deep” learning?

A

The term “deep” refers to the multiple layers of neurons in a deep neural network, creating a deeply nested function.

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

What types of problems can deep learning be used for?

A

Deep learning can be used for regression, classification, natural language processing, and computer vision.

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

What is a neuron in a neural network?

A

A neuron is a single computational unit in a neural network that applies a mathematical function to its inputs and passes the result to the next layer based on an activation function.

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

hat is the role of weights (w) in a neural network?

A

Weights (w) determine how much influence each input (x) has on the output. They are adjusted during training to reduce prediction errors.

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

What is an activation function?

A

An activation function determines whether the output of a neuron should be passed to the next layer. Examples include ReLU, sigmoid, and softmax.

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

What is a classification problem in deep learning?

A

A classification problem is where a model predicts the probability of an input belonging to a certain class, such as predicting penguin species based on features.

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

How does a neural network predict class probabilities?

A

The output layer produces a vector of probabilities for each class using functions like softmax. The class with the highest probability is selected as the prediction.

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

What is the loss function in deep learning?

A

A loss function measures the error between predicted values (ŷ) and true values (y). The goal is to minimize this loss during training.

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

What is backpropagation?

A

Backpropagation is the process of adjusting weights in a neural network by propagating the loss backward through the layers to reduce error.

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

What optimization technique is commonly used to adjust weights in deep learning?

A

Gradient descent is commonly used, adjusting weights up or down to minimize the loss function by finding the direction of maximum decrease.

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

How are training data processed in neural network training?

A

Training data are batched into matrices and processed using linear algebraic calculations, which is why GPUs are used for deep learning tasks.

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

What is an epoch in the context of neural network training?

A

An epoch refers to one complete pass through the entire training dataset during the learning process, with weights being adjusted after each pass.

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

What is the softmax function?

A

Softmax is a type of activation function used in the output layer of a neural network for classification tasks. It converts output scores into probabilities for each class.

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

What is the purpose of Azure Machine Learning?

A

It helps manage the entire lifecycle of machine learning projects, including data exploration, model training, deployment, and monitoring for responsible AI practices.

16
Q

What is Microsoft Azure Machine Learning?

A

Microsoft Azure Machine Learning is a cloud service that provides tools for training, deploying, and managing machine learning models, designed for data scientists, software engineers, and DevOps professionals.

17
Q

What are the key stages in the Azure Machine Learning project lifecycle?

A
  1. Exploring and preparing data.
  2. Training and evaluating models.
  3. Registering and managing models.
  4. Deploying models for use.
  5. Reviewing responsible AI principles.
17
Q

What are some features provided by Azure Machine Learning for machine learning workloads?

A

Key features include centralized dataset management, on-demand compute resources, automated machine learning (AutoML), visual tools for pipeline orchestration, and integration with frameworks like MLflow.

18
Q

How does Azure Machine Learning support responsible AI?

A

It provides built-in tools for visualizing and evaluating metrics like model explainability, fairness, and bias assessment to ensure responsible AI practices are followed.

18
Q

What is Automated Machine Learning (AutoML)?

A

AutoML is a feature in Azure Machine Learning that automates the process of running multiple training jobs with different algorithms and parameters to find the best model for a dataset.

19
Q

What are visual tools in Azure Machine Learning used for?

A

They are used to define orchestrated pipelines, which automate processes like model training, inferencing, and batch processing tasks.

20
Q

What is an Azure Machine Learning workspace?

A

An Azure Machine Learning workspace is the central resource needed for organizing and managing all machine learning assets, such as datasets, models, and compute resources, within Azure.

21
Q

How do you provision an Azure Machine Learning workspace?

A

It can be provisioned through the Azure portal, and it automatically creates supporting resources like storage accounts, container registries, and virtual machines as needed.

22
Q

What is Azure Machine Learning Studio?

A

Azure Machine Learning Studio is a browser-based portal for managing machine learning resources, running jobs, and accessing tools like notebooks and visual pipelines.

22
Q

What are some tasks you can perform in Azure Machine Learning Studio?

A

Tasks include importing data, creating compute resources, running code in notebooks, using AutoML, creating pipelines, and deploying models for inferencing.

23
Q

How does Azure Machine Learning handle model deployment?

A

It supports both on-request (real-time) and batch inferencing, allowing trained models to be deployed for use by applications and services.

24
Q

What is the role of on-demand compute resources in Azure Machine Learning?

A

On-demand compute resources provide scalable virtual machines or clusters that can be used to run machine learning jobs, such as model training and evaluation.

25
Q

How does Azure Machine Learning integrate with other machine learning frameworks?

A

It integrates with frameworks like MLflow, which allows for easier management of model training, evaluation, and deployment at scale.

26
Q

What are pipelines in Azure Machine Learning?

A

Pipelines are orchestrated sequences of tasks that automate the process of running machine learning jobs, such as data preprocessing, model training, and deployment.

27
Q

What is the model catalog in Azure Machine Learning?

A

The model catalog is a comprehensive collection of pre-trained and user-created machine learning models, which can be imported, managed, and used for deployment.

28
Q

What responsible AI principles are integrated into Azure Machine Learning?

A

Responsible AI principles include fairness, transparency, accountability, and privacy, which are supported through features like model explainability and fairness assessments.

29
Q

How does Azure Machine Learning assist in model evaluation?

A

It provides tools for evaluating models using metrics, tracking performance, and assessing key areas such as accuracy, precision, and recall, along with responsible AI metrics.

30
Q

What are storage accounts in Azure Machine Learning used for?

A

Storage accounts are used to store datasets, experiment results, and models required for machine learning projects.

31
Q

Why are GPUs recommended for Azure Machine Learning tasks?

A

GPUs (Graphics Processing Units) are optimized for vector and matrix calculations, making them ideal for speeding up large-scale machine learning tasks like model training and inferencing.