Update my_pages/rashomon_developer.py
Browse files
my_pages/rashomon_developer.py
CHANGED
|
@@ -12,14 +12,14 @@ def render():
|
|
| 12 |
|
| 13 |
add_instruction_text(
|
| 14 |
"""
|
| 15 |
-
Consider the
|
| 16 |
Make development choices now that will lead to the same variety of models as before.
|
| 17 |
"""
|
| 18 |
)
|
| 19 |
|
| 20 |
#### Choosing regularization
|
| 21 |
st.markdown("""
|
| 22 |
-
**Regularization:** Regularization is a technique that prevents the model from “overfitting,” meaning
|
| 23 |
|
| 24 |
Choose a regularization technique:
|
| 25 |
- L1 Regularization: This forces the model to work with as few features as possible, which helps highlight the most important signals and ignore irrelevant ones.
|
|
@@ -51,7 +51,8 @@ def render():
|
|
| 51 |
#### Choosing random seed
|
| 52 |
if regularization_method=="l1":
|
| 53 |
st.markdown("""
|
| 54 |
-
**Random Seed:** Random seed controls the stochasticity (or randomness) of the learning process.
|
|
|
|
| 55 |
Choose a random seed.
|
| 56 |
"""
|
| 57 |
)
|
|
|
|
| 12 |
|
| 13 |
add_instruction_text(
|
| 14 |
"""
|
| 15 |
+
Consider the same data about individuals who did (green) or didn't (red) repay their loans. <br>
|
| 16 |
Make development choices now that will lead to the same variety of models as before.
|
| 17 |
"""
|
| 18 |
)
|
| 19 |
|
| 20 |
#### Choosing regularization
|
| 21 |
st.markdown("""
|
| 22 |
+
**Regularization:** Regularization is a technique that prevents the model from “overfitting,” meaning stops them from learning the noise or small quirks in the data, and helps generalize better.
|
| 23 |
|
| 24 |
Choose a regularization technique:
|
| 25 |
- L1 Regularization: This forces the model to work with as few features as possible, which helps highlight the most important signals and ignore irrelevant ones.
|
|
|
|
| 51 |
#### Choosing random seed
|
| 52 |
if regularization_method=="l1":
|
| 53 |
st.markdown("""
|
| 54 |
+
**Random Seed:** Random seed controls the stochasticity (or randomness) of the learning process.
|
| 55 |
+
|
| 56 |
Choose a random seed.
|
| 57 |
"""
|
| 58 |
)
|