Seven Steps of Machine Learning Flashcards

1
Q

To recognize what is wine and beer

A

Features:
alcohol content
color

spectrometer - to measure the colour ( wavelength of light)
hydrometer - to measure the alcohol content

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

1st Step

A

Data Collection

The quantity and quality of data would determine the result

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

2nd Step

A

Data preparation

we load our data to a suitable place, randomise the order
if we load too many pictures of beer and less of wine, our model will be too much biased
so while preparing data, we do measure the quality of the data we have collected

The data for evaluation should not be same as the data given in training since then it would be more like answering questions from the homework given

Sometimes, our training data needs manipulation like correction , normalisation etc

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

Choosing a model

A

Some are suited for images,
some for text
some for numerics

y=mx+b

In ML, there must me many slopes since there are various inputs

These m’s are called weights and bs are called biases

we form the matrices for wiehgts and biases

Training process involves initialising some random values of w and b
and attempting to predict the output
and then test w & b again
and update them by testing with evaulation data.

This entire cycle is called one training step

Training 80%
Evaluation 20%

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

Parameter Tuning

A

How many times we showed the same training data while training
Learning rate - how fast we shift the line between each training steps
Shifting the line means -
Suppose there is a line which separates wine from beer
initially this line would be not distinctively separating wine from beer but after training, this separation becomes prominent

These parameters are called Hyper parameters
The adjustments and tuning is an experimental process
it depends on your training dataset , model and the process

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

Prediction

A

Now given a alcohol percentage and color, we can determine if its beer or wine

so, rather than using human judgements, model can decide on its own

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

All seven steps

A
Gathering data
Preparing that data 
Choosing a model 
Training 
Evaluation 
Hyperparameter training
Prediction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Tensorflow

A

Browser based sandbox to try out Machine Learning

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