Zeel commited on
Commit
55776cb
·
1 Parent(s): ec2180b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def rbf_kernel(x1, x2, lengthscale, variance):
15
  dist_sqr = (x1_ - x2_) ** 2
16
  return variance * np.exp(-dist_sqr)
17
 
18
- fig, ax = plt.subplots()
19
 
20
  x_train = np.array([0.2, 0.5, 0.8]).reshape(-1,1)
21
  y_train = np.array([0.8, 0.3, 0.6]).reshape(-1,1)
 
15
  dist_sqr = (x1_ - x2_) ** 2
16
  return variance * np.exp(-dist_sqr)
17
 
18
+ fig, ax = plt.subplots(figsize=(10,4))
19
 
20
  x_train = np.array([0.2, 0.5, 0.8]).reshape(-1,1)
21
  y_train = np.array([0.8, 0.3, 0.6]).reshape(-1,1)