Training Flashcards

(32 cards)

1
Q

Training

What is Labeled data?

A

Input data to train a model with a reliable description of what it is (truth).

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

Training

Highest clasifications of ML algorithms?

A

Supervised learning, unsupervised learning, and reinforcement learning

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

Training

How does Supervised Learning work?

A

Aalgorithms are trained on labeled data

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

Training

What is the goal of supervised learning?

A

Learn a mapping function that can predict the output for new, unseen input data

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

Training

How does unsupervised learning work?

A

Trained on unlabeled data

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

Training

Goal of unsupervised learning?

A

Discover inherent patterns, structures, or relationships within the input data

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

Reinforcement Learning

What is reinforcement learning?

A

Semi-supervised learning. Algorithm given rewards or penalties for its actions, and the machine learns from this feedback to improve its decision-making over time.

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

Reinforcement Learning

What data is used for Semi-Supervised learning?

A

Mostly labeled, some unlabeled

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

Reinforcement Learning

What is Reinforcement Learning usually used for?

A

Teach AI to play games, robotics to navigate and manipulate objects

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

Reinforcement Learning

Example of Reinforcement Learning in healthcare?

A

Optimize treatment plans

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

Reinforcement Learning

Example of Reinforcement Learning in finance?

A

Trading strategies

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

Reinforcement Learning

Are images and videos structured or unstructured data?

A

Unstructured

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

RLHF

What is RLHF?

A

Reinforcement Learning from Human Feedback

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

RLHF

Why bother with RLHF?

A

Better align with human values

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

RLHF

How do you do RLHF?

A

Separate reward model: ask humans which of two generated answers sound more human. Use reward model to tune the real model

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

Regression and Classification

What is the goal of a regression?

A

Predict an output value given input value

17
Q

Regression and Classification

What happens in Regression Training?

A

Fit a curve so you can predict new values

18
Q

Regression and Classification

What is the goal of classification?

A

Understand how things group together

19
Q

Regression and Classification

What happens in Classification training?

A

Look for clumps of values that are similar

20
Q

Regression and Classification

Example of regression training and inference?

A

Input tons of humans height and weight. Curve-fit the data. Answer how much someone weighs from their height

21
Q

Regression and Classification

Example of a Classification training and inference?

A

Input tons of height and weight of cats, dogs, and giraffes, ask animal given height and/or weight

22
Q

Regression and Classification

Classification or Regression for a continuous set of inputs?

A

Regression (numeric)

23
Q

Regression and Classification

Classification or Regression for discrete set of inputs?

A

Classification

24
Q

Regression and Classification

Is k-NN used with Classification or Regression?

A

Classification

25
# *Regression and Classification* What is Training vs. Validation vs. Test Set for input data?
80% to train the model, 10% to validate the model, 10% to test the model
26
# *Regression and Classification* What happens in Validation and Testing above?
Validation is for tuning hyperparameters (tune the model), test is to gauge accuracy
27
# *Feature Engineering* What is Feature Engineering?
Massage input data so it's meaningful for training
28
# *Feature Engineering* Do you do Feature Engineering on structured or unstructured data?
Both!
29
# *Feature Engineering* Example of Feature Engineering?
Change a date-of-birth column of data to Age in years
30
# *Feature Engineering* Example of Feature Engineering for raw data from Zillow?
Create "price per square foot" as a new field: it's useful for an LLM and typical questions.
31
# *Feature Engineering* How do you do Feature Engineering on unstructured text?
Maybe label it with sentiment
32
# *Feature Engineering* How do you do Feature Engineering on unstructured images?
Find edges or textures