Machine Learning Module 2 Flashcards

Coursera Courses

1
Q

What the are 2 types of Supervised Learning?

A

Classification and Regression

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

What is Classification?

A

Classification is the process of predicting discrete class labels or categories. i.e. Will I pass or fail my biology exam?

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

What is Regression?

A

Regression is the relationship between a dependent and independent variable. Regression is the process of predicting continous values.

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

Difference between Classification and Regression?

A

Classification works with classes while regression is mapped to a continous variable

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

What are some commong algorithms for regression?

A

Random forests, gradient boosting, support vector regression(SVR) and neural networks

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

What is Unsupervised learning?

A

The model is not supervised and allowed to work independently to discover patterns and structures in the data that is not visible to the human eye. This means the model trains on the data set and draws conclusions on its own.

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

Types of Unsupervised learning?

A

Dimension reduction, Density estimation, Market basket analysis and Clustering.

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

What is Dimension Reduction?

A

Also known as feature selection, seeks to reduce redundant features to make the classification easier.

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

What is Density Estimation?

A

Straight forward concept to explore data and find a structure

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

What is Market Basket Analysis?

A

Modelling technique based on the theory that if you buy a group of items you are more likely to buy another group of items

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

What is Clustering?

A

Most popular unsupervised learning technique and is the Grouping of Data Points or Objects that are similar by the characteristics of the data.

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

What is Clustering used for?

A

To detect Structure, to Summarize and to detect anomalies within the dataset.

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

What is the main difference between Supervised Learning and Unsupervised Learning?

A

Supervised learning deals with ‘Labelled’ data and Unsupervised learning deals with ‘Un-Labelled’ data.

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

What is a classifier?

A

A machine learning algorithm used to solve the classification problem.

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

What is a feature?

A

In independent variable that is used as an input into the model

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

What is evaluation?

A

Assessing how well a model has performed.

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

What are 2 types of Classification Algorithms?

A

Lazy learner and Eager learner

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

Describe the Eager learner classification model

A

Spends a lot of time training and generalizing the model

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

Describe the Lazy learner classification model

A

Doesn’t have a training phase per say and waits to have a test data set before making predictions. So it takes longer to predict as it doesn’t generalize the model.

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

What is an example of a lazy learner classification algorithm?

A

K-Nearest Neighbours or KNN.

21
Q

How does KNN work?

A

KNN classifies the unknown data points by finding the most common classes in the K nearest examples. Then finds the closest match to the test data.

22
Q

What is an example of an eager learning classification algorithm?

A

Logistic regression that is used to predict the probability of a class based on a graph plot

23
Q

What is another example of an eager learning classification algorithm?

A

Decision trees, that are a tree like algorithm that use an ‘If’ ‘Then’ rule or set of rules. So it classifies if you pass or fail based on rules.

24
Q

Other classificaiton algorithms

A

Support vector machines, discriminate analysis, naive Bayes, and neural networks.

25
Q

What is a confusion matrix?

A

A confusion matrix measures the performance and accuracy of a classification problem

26
Q

How is the mean squared error helpful?

A

The mean squared error is helpful for evalutating regression models

27
Q

What is the R-squared value?

A

The R-squared value represents the amount of variance in a dependent variable that can be explained by an independent variable

28
Q

What can be used to evauluate classificaiton models?

A

A confusion matrix, precision and recall

29
Q

What does train/test split mean?

A

This is the process of splitting data into ‘training’ and ‘testing’. Some data is used to train the machine learning model and the rest is used to test it.

30
Q

What is Deep Learning?

A

Deep Learning is a subset of machine learning and has 3 layers, Input, Hidden and Output. Deep learning is loosely based on the human brain.

31
Q

What is Artificial Neural Network?

A

It is a group of connected nodes called neurons. ANN loosely models the human brain

32
Q

What is a Neuron?

A

A neuron is a computation unit that can be expressed as a weighted sum of inputs. Each neuron has an activation function that predicts the value of the output.

33
Q

What is a perceptron?

A

The coinfiguration of all inputs and their weights is a perceptron. It also contains a summation function which is a total summation of the inputs and their associated weights.

34
Q

What is a Single-Layer neural network?

A

A neural network with one neuron.

35
Q

What is a ‘Multi-Layer Perceptron?

A

A neural network with an input layer, one processing layer(or hidden layer) and an output layer

36
Q

What is a Deep Neural Network?

A

An artificial neural network that has two or more hidden layers or two or more processin layers.

37
Q

What is Reinforcement Learning?

A

Reinforcement learning is a machine learning method. Reinforcement learning works like a reward system.

38
Q

What are the concepts of Reinforcement Learning?

A

The most common concepts in reinforcement learning are the agent, environment, reward, action, state, and policy.

39
Q

What are the types of Reinforcement Learning?

A

The two types of reinforcement learning are positive and negative reinforcement.

40
Q

What industries use reinforcement learning?

A

Reinforcement learning is used in various industries like games, fleet management, and manufacturing.

41
Q

In reinforcement learning what is a Policy?

A

A policy defines how the agent will act when in a specific state, it maps the states in the environment to a single action or probability for each action. A policy can be represented as a lookup table, a function, an algorithm, or by calculating the probability of performing an action given a state.

42
Q

What are the 3 algorithms for reinforcement learning?

A

Model based, Policy based and Value based

43
Q

What is the Model based algorithm for reinforcement learning?

A

Here, you create a virtual model to help the agent learn in specific environments

44
Q

What is the Policy based algorithm for reinforcement learning?

A

You develop a strategy that helps to gain maximum rewards in the future through possible actions performed in each state.

45
Q

What is the Value based algorithm for reinforcement learning?

A

The agent’s goal here is to maximize a defined value function.

46
Q

What are value functions?

A

Value functions are estimates for actions and states resulting from interacting with the environment.

47
Q

What is Generative AI

A

Generative Artificial Intelligence, or GenAI, is an AI technique capable of creating new and unique data, ranging from images and music to text and entire virtual worlds.

48
Q

How does Generative AI work?

A

Generative AI models use deep learning techniques and rely on vast datasets to generate entirely new data with various applications.