WOLFRAM
|
DEMONSTRATIONS PROJECT
L
i
n
e
a
r
R
e
g
r
e
s
s
i
o
n
n
u
m
b
e
r
o
f
t
r
a
i
n
i
n
g
e
x
a
m
p
l
e
s
5
0
h
y
p
o
t
h
e
s
i
s
:
h
θ
(
x
)
θ
0
+
θ
1
x
θ
0
0
θ
1
0
.
2
5
J
(
θ
0
,
θ
1
)
=
1
2
m
m
∑
i
=
1
2
(
h
θ
(
x
i
)
-
y
i
)
=
2
5
.
4
8
0
6
n
u
m
b
e
r
o
f
c
o
n
t
o
u
r
l
i
n
e
s
1
0
p
l
o
t
s
o
l
u
t
i
o
n
T
h
i
s
D
e
m
o
n
s
t
r
a
t
i
o
n
s
h
o
w
s
l
i
n
e
a
r
r
e
g
r
e
s
s
i
o
n
i
n
a
c
t
i
o
n
.
Y
o
u
c
a
n
u
s
e
i
t
t
o
t
u
n
e
a
s
t
r
a
i
g
h
t
l
i
n
e
t
o
f
i
t
t
h
e
d
a
t
a
a
n
d
t
h
e
n
s
e
e
t
h
e
r
e
s
u
l
t
i
n
t
h
e
c
o
s
t
f
u
n
c
t
i
o
n
l
a
n
d
s
c
a
p
e
.
T
h
e
o
p
t
i
m
a
l
s
o
l
u
t
i
o
n
i
s
a
l
s
o
s
h
o
w
n
.