REGRESSION - ajou.ac.krcvml.ajou.ac.kr/.../5/5d/Ch4_2_TensorFlow_Regression.pdf · 2017-01-12 ·...
26
REGRESSION
Transcript of REGRESSION - ajou.ac.krcvml.ajou.ac.kr/.../5/5d/Ch4_2_TensorFlow_Regression.pdf · 2017-01-12 ·...
REGRESSION
CLASSIFICATION VS REGRESSION
𝑤𝑒𝑖𝑔ℎ𝑡 of a berry
Classification vs RegressionClassification Regression
The variable we are trying to predict is
DISCRETE
The variable we are trying to predict is
CONTINUOUS
How red
weight
Berry?
Avocado?
Prices($/ Kg)
Weight(g)17 20 23
20
16
12
𝑝𝑟𝑖𝑐𝑒 = 𝑓 𝑤𝑒𝑖𝑔ℎ𝑡
LINEAR REGRESSION
MLP FUNCTION APPROXIMATION
Function Apporoximation
6 4 2 2 4 6
1.0
0.5
0.5
1.0
Training samples
Test samples
Tensorflow code
Tensorflow code
Graph