Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1148,11 +1148,11 @@ with tab1:
|
|
| 1148 |
# Parameter inputs with defaults and validation
|
| 1149 |
st.markdown('<div class="parameter-container">', unsafe_allow_html=True)
|
| 1150 |
st.markdown("### Matrix Parameters")
|
| 1151 |
-
n = st.number_input("Sample size (n)", min_value=5, max_value=
|
| 1152 |
help="Number of samples", key="eig_n")
|
| 1153 |
-
p = st.number_input("Dimension (p)", min_value=5, max_value=
|
| 1154 |
help="Dimensionality", key="eig_p")
|
| 1155 |
-
a = st.number_input("Value for a", min_value=1.1, max_value=
|
| 1156 |
help="Parameter a > 1", key="eig_a")
|
| 1157 |
|
| 1158 |
# Automatically calculate y = p/n (as requested)
|
|
|
|
| 1148 |
# Parameter inputs with defaults and validation
|
| 1149 |
st.markdown('<div class="parameter-container">', unsafe_allow_html=True)
|
| 1150 |
st.markdown("### Matrix Parameters")
|
| 1151 |
+
n = st.number_input("Sample size (n)", min_value=5, max_value=10000000, value=100, step=5,
|
| 1152 |
help="Number of samples", key="eig_n")
|
| 1153 |
+
p = st.number_input("Dimension (p)", min_value=5, max_value=10000000, value=50, step=5,
|
| 1154 |
help="Dimensionality", key="eig_p")
|
| 1155 |
+
a = st.number_input("Value for a", min_value=1.1, max_value=10000.0, value=2.0, step=0.1,
|
| 1156 |
help="Parameter a > 1", key="eig_a")
|
| 1157 |
|
| 1158 |
# Automatically calculate y = p/n (as requested)
|