regression - ajou.ac.krcvml.ajou.ac.kr/.../5/5d/ch4_2_tensorflow_regression.pdf · 2017-01-12 ·...
Post on 26-Jun-2020
8 Views
Preview:
TRANSCRIPT
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
top related