陈俊杰
commited on
Commit
·
c178741
1
Parent(s):
1cc615c
fontSize
Browse files
app.py
CHANGED
|
@@ -123,7 +123,8 @@ with st.sidebar:
|
|
| 123 |
st.markdown("""
|
| 124 |
<style>
|
| 125 |
/* 应用到所有的Markdown渲染文本 */
|
| 126 |
-
div[data-testid="stMarkdownContainer"]
|
|
|
|
| 127 |
font-size: 24px;
|
| 128 |
line-height: 1.6;
|
| 129 |
color: #4CAF50;
|
|
@@ -216,7 +217,7 @@ elif page == "Evaluation Measures":
|
|
| 216 |
- **Kendall's tau:** Measures the ordinal association between two ranked variables.
|
| 217 |
|
| 218 |
$$
|
| 219 |
-
|
| 220 |
$$
|
| 221 |
|
| 222 |
where:
|
|
@@ -227,7 +228,7 @@ elif page == "Evaluation Measures":
|
|
| 227 |
- **Spearman's Rank Correlation Coefficient:** Measures the strength and direction of the association between two ranked variables.
|
| 228 |
|
| 229 |
$$
|
| 230 |
-
|
| 231 |
$$
|
| 232 |
|
| 233 |
where:
|
|
|
|
| 123 |
st.markdown("""
|
| 124 |
<style>
|
| 125 |
/* 应用到所有的Markdown渲染文本 */
|
| 126 |
+
div[data-testid="stMarkdownContainer"] p,
|
| 127 |
+
div[data-testid="stMarkdownContainer"] li {
|
| 128 |
font-size: 24px;
|
| 129 |
line-height: 1.6;
|
| 130 |
color: #4CAF50;
|
|
|
|
| 217 |
- **Kendall's tau:** Measures the ordinal association between two ranked variables.
|
| 218 |
|
| 219 |
$$
|
| 220 |
+
\\tau = \\frac{C-D}{\\frac{1}{2}n(n-1)}
|
| 221 |
$$
|
| 222 |
|
| 223 |
where:
|
|
|
|
| 228 |
- **Spearman's Rank Correlation Coefficient:** Measures the strength and direction of the association between two ranked variables.
|
| 229 |
|
| 230 |
$$
|
| 231 |
+
\\rho = 1 - \\frac{6 \sum d_i^2}{n(n^2 - 1)}
|
| 232 |
$$
|
| 233 |
|
| 234 |
where:
|