Spaces:
Sleeping
Sleeping
remove one
Browse files- pages/ALE.py +13 -13
pages/ALE.py
CHANGED
@@ -38,19 +38,19 @@ def explain_example():
|
|
38 |
if global_model is None:
|
39 |
train_model()
|
40 |
|
41 |
-
fig, ax = plt.subplots(figsize=(10, 5))
|
42 |
-
st.write("1D Main Effect ALE Plot")
|
43 |
-
ale_plot(
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
)
|
52 |
-
|
53 |
-
st.pyplot(fig)
|
54 |
|
55 |
fig1, ax1 = plt.subplots(figsize=(10, 5))
|
56 |
st.write("2D Second-Order ALE Plot")
|
|
|
38 |
if global_model is None:
|
39 |
train_model()
|
40 |
|
41 |
+
# fig, ax = plt.subplots(figsize=(10, 5))
|
42 |
+
# st.write("1D Main Effect ALE Plot")
|
43 |
+
# ale_plot(
|
44 |
+
# global_model,
|
45 |
+
# X_test,
|
46 |
+
# "Age",
|
47 |
+
# bins=5,
|
48 |
+
# monte_carlo=True,
|
49 |
+
# monte_carlo_rep=30,
|
50 |
+
# monte_carlo_ratio=0.5,
|
51 |
+
# )
|
52 |
+
#
|
53 |
+
# st.pyplot(fig)
|
54 |
|
55 |
fig1, ax1 = plt.subplots(figsize=(10, 5))
|
56 |
st.write("2D Second-Order ALE Plot")
|