Spaces:
Sleeping
Sleeping
Jayabalambika
commited on
Commit
•
8657eb5
1
Parent(s):
dbdf7e4
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,7 @@ np.random.seed(0)
|
|
14 |
def plot_mse(min_slider_samples_range,max_slider_samples_range):
|
15 |
# plot MSE
|
16 |
print("inside plot_mse")
|
|
|
17 |
plt.subplot(2, 1, 1)
|
18 |
plt.errorbar(
|
19 |
slider_samples_range,
|
@@ -42,6 +43,7 @@ def plot_mse(min_slider_samples_range,max_slider_samples_range):
|
|
42 |
def plot_shrinkage(min_slider_samples_range,max_slider_samples_range):
|
43 |
# plot shrinkage coefficient
|
44 |
print("inside plot_shrink")
|
|
|
45 |
plt.subplot(2, 1, 2)
|
46 |
plt.errorbar(
|
47 |
slider_samples_range,
|
|
|
14 |
def plot_mse(min_slider_samples_range,max_slider_samples_range):
|
15 |
# plot MSE
|
16 |
print("inside plot_mse")
|
17 |
+
plt.clf()
|
18 |
plt.subplot(2, 1, 1)
|
19 |
plt.errorbar(
|
20 |
slider_samples_range,
|
|
|
43 |
def plot_shrinkage(min_slider_samples_range,max_slider_samples_range):
|
44 |
# plot shrinkage coefficient
|
45 |
print("inside plot_shrink")
|
46 |
+
plt.clf()
|
47 |
plt.subplot(2, 1, 2)
|
48 |
plt.errorbar(
|
49 |
slider_samples_range,
|