Skip to content

Commit 43b21e3

Browse files
committed
text tweak
1 parent edc6994 commit 43b21e3

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/assets/bias-detection-python-code.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,6 @@ def run():
562562
563563
else:
564564
# Create subplots for each column
565-
# columns_to_analyze = [col for col in decoded_X_test.columns if col not in [bias_variable, "cluster_label"]]
566565
columns_to_analyze = decoded_X_test.columns.drop(['cluster_label', bias_variable])
567566
568567
rows = (len(columns_to_analyze) + 2) // 3 # Calculate the number of rows needed

src/locales/en.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ A one-sided Z-test is performed:
302302
p_valueTooltip: `The p-value represents the probability of incorrectly rejecting the null hypothesis (H<sub>0</sub>) when it is actually true. A commonly used threshold is p≤0.05, which is the probability deemed sufficiently low to reject H<sub>0</sub> in favor of the alternative hypothesis (H<sub>1</sub>).`,
303303
statisticDetailsTitle: 'Details statistical test',
304304
statisticDetailsContent: `- The label indicating the most disavanteagous bias: {{mostBiasedClusterLabel}}
305-
- Most biased cluster: {{mostBiasedCount}}/{{mostBiasedTotal}} ({{mostBiasedFactor}})
306-
- Rest of dataset: {{restCount}}/{{restTotal}} ({{restFactor}})
305+
- Most biased cluster in test set: {{mostBiasedCount}}/{{mostBiasedTotal}} ({{mostBiasedFactor}})
306+
- Rest of test set: {{restCount}}/{{restTotal}} ({{restFactor}})
307307
- Z-statistic: {{z_stat}}
308308
- P-value: {{p_val}}`,
309309
dataSetPreview: {

src/locales/nl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ Een eenzijdige Z-toets wordt uitgevoerd:
326326
p_valueTooltip: `De p-waarde is de kans om de nulhypothese (H<sub>0</sub>) onterecht te verwerpen wanneer deze in werkelijkheid waar is. Een veelgebruikte drempelwaarde is p≤0,05, wat wordt beschouwd als een voldoende lage kans om H<sub>0</sub> te verwerpen en de alternatieve hypothese (H<sub>1</sub>) te accepteren.`,
327327
statisticDetailsTitle: 'Details statistische test',
328328
statisticDetailsContent: `- The label indicating the most disavanteagous bias: {{mostBiasedClusterLabel}}
329-
- Most biased cluster: {{mostBiasedCount}}/{{mostBiasedTotal}} ({{mostBiasedFactor}})
330-
- Rest of dataset: {{restCount}}/{{restTotal}} ({{restFactor}})
329+
- Most biased cluster in test set: {{mostBiasedCount}}/{{mostBiasedTotal}} ({{mostBiasedFactor}})
330+
- Rest of test set: {{restCount}}/{{restTotal}} ({{restFactor}})
331331
- Z-statistic: {{z_stat}}
332332
- P-value: {{p_val}}`,
333333
higherIsBetter: 'Hogere waarde van bias variabele is beter',

0 commit comments

Comments
 (0)