You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/locales/en.ts
+33-31Lines changed: 33 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ export const en = {
7
7
fileUploadError: 'Please upload a valid csv file.',
8
8
removeButton: 'Remove',
9
9
dropzoneLabel:
10
-
'Drag and drop your csv file here, click to select one of your own files or use the "Demo dataset" button',
10
+
'Drag and drop your csv file here, click to select a local file or use the "Demo dataset" button',
11
11
datasetPreview: 'Dataset preview showing the first 5 rows.',
12
12
error: 'Sorry, something went wrong.',
13
13
loadingMessage: 'Setting up environment...',
@@ -30,14 +30,14 @@ export const en = {
30
30
dataSet: 'Dataset',
31
31
dataSetTooltip: `Preprocess your data such that:
32
32
- missing values are removed or replaced;
33
-
- all columns (except your bias metric column) should have the same datatypes, e.g., numerical or categorical;
34
-
- the bias metric column is numerical`,
35
-
performanceMetric: 'Bias metric',
33
+
- all columns (except your outcome label column) should have the same datatypes, e.g., numerical or categorical;
34
+
- the outcome label column is numerical`,
35
+
performanceMetric: 'Outcome label',
36
36
performanceMetricTooltip:
37
-
'Clustering will be performed on the bias metrics. The bias metric should be numerical. Examples of bias metrics are "being classified as high risk" or "selected for an investigation"',
37
+
'Clustering will be performed on the outcome labels. The outcome label should be numerical. Examples of outcome labels are "being classified as high risk" or "selected for an investigation"',
38
38
dataType: 'Type of data',
39
39
dataTypeTooltip:
40
-
'Specify whether the data are categorical or numerical. All columns (except your bias metric column) should have the same data type',
40
+
'Specify whether the data are categorical or numerical. All columns (except your outcome label column) should have the same data type',
41
41
categoricalData: 'Categorical data',
42
42
numericalData: 'Numerical data',
43
43
filterSelect:
@@ -48,11 +48,11 @@ export const en = {
48
48
iterations: 'Iterations',
49
49
minClusterSize: 'Minimal cluster size',
50
50
performanceInterpretation: {
51
-
title: 'Bias metric interpretation',
52
-
lower: 'Lower value of bias metric is better, such as error rate',
53
-
higher: 'Higher value of bias metric is better, such as accuracy',
51
+
title: 'Outcome label interpretation',
52
+
lower: 'Lower value of outcome label is better, such as error rate',
53
+
higher: 'Higher value of outcome label is better, such as accuracy',
54
54
tooltip:
55
-
'When error rate or misclassifications are chosen as the bias metric, a lower value is preferred, as the goal is to minimize errors. Conversely, when accuracy or precision is selected as the bias metric, a higher value is preferred, reflecting the aim to maximize performance.',
55
+
'When error rate or misclassifications are chosen as the outcome label, a lower value is preferred, as the goal is to minimize errors. Conversely, when accuracy or precision is selected as the outcome label, a higher value is preferred, reflecting the aim to maximize performance.',
56
56
},
57
57
iterationsTooltip:
58
58
'Number of times the dataset is split in smaller clusters until the minimal cluster size is reached',
@@ -62,7 +62,7 @@ export const en = {
62
62
},
63
63
errors: {
64
64
csvRequired: 'Please upload a csv file.',
65
-
targetColumnRequired: 'Please select a bias metric.',
65
+
targetColumnRequired: 'Please select a outcome label.',
66
66
dataTypeRequired: 'Please select a data type.',
67
67
noNumericColumns:
68
68
'No numeric columns found. Please upload a valid dataset.',
@@ -83,7 +83,7 @@ export const en = {
83
83
},
84
84
demoCard: {
85
85
title: 'Try it out!',
86
-
description: 'Alternatively, use our demo dataset.',
86
+
description: "Use our demo dataset if you don't have a dataset at hand",
@@ -255,17 +255,17 @@ we recommend to impute the missing data. For {tooltip:syntheticData.missingDataM
255
255
},
256
256
257
257
biasAnalysis: {
258
-
testingStatisticalSignificance: `**4. Testing statistical significance for the bias score difference between the most deviating cluster and the rest of the dataset**
- <i class="font-serif">H</i><sub>0</sub>: no difference in bias between the most deviating cluster and the rest of the dataset
261
-
- <i class="font-serif">H</i><sub>1</sub>: difference in bias between the most deviating cluster and the rest of the dataset
260
+
- <i class="font-serif">H</i><sub>0</sub>: no difference in outcome labels between the most deviating cluster and the rest of the dataset
261
+
- <i class="font-serif">H</i><sub>1</sub>: difference in outcome labels between the most deviating cluster and the rest of the dataset
262
262
263
263
A two-sided t-test is performed to accept or reject <i class="font-serif">H</i><sub>0</sub>:.
264
264
265
265
p_value : {{p_val}}
266
266
`,
267
267
dataSetPreview: {
268
-
heading: '0. Preview of real data',
268
+
heading: '1. Preview of data',
269
269
},
270
270
demo: {
271
271
heading: 'Information about demo dataset',
@@ -283,18 +283,20 @@ p_value : {{p_val}}
283
283
| false_positive | Defendant predicted to reoffend, but didn't | 0: no FP, 1: FP |
284
284
285
285
286
-
In this example, we analyze which group is most adversely affected by the risk prediction algorithm. We do this by applying the clustering algorithm on the dataset previewed below. The column "is_recid" indicates whether a defendant reoffended or not (1: yes, 0: no). The "score_text" column indicates whether a defendant was predicted to reoffend (1: yes, 0: no). The column "false_positive" (FP) represents cases where a defendant was predicted to reoffended by the algorithm, but didn't do so (1: FP, 0: no FP). A preview of the data can be found below. The column "false_positive" is used as the "bias metric".
286
+
<br>
287
+
288
+
In this example, we analyze which group is most adversely affected by the risk prediction algorithm. We do this by applying the clustering algorithm on the dataset previewed below. The column "is_recid" indicates whether a defendant reoffended or not (1: yes, 0: no). The "score_text" column indicates whether a defendant was predicted to reoffend (1: yes, 0: no). The column "false_positive" (FP) represents cases where a defendant was predicted to reoffended by the algorithm, but didn't do so (1: FP, 0: no FP). A preview of the data can be found below. The column "false_positive" is used as the outcome label.
'The "{{variable}}" variable distribution across the different clusters:',
344
+
'"{{variable}}" distribution across the different clusters:',
343
345
},
344
346
splittingDataset: {
345
-
heading: '2. Splitting dataset',
346
-
description: `To reduce the possibility that the clustering method detects noise, the dataset is split in a train (80%) and test dataset (20%). The clustering method is first fitted on the train dataset. Then, the presence of statistically significant bias in the most deviating clusters is evaluated using the test dataset.`,
347
+
heading: '3. Splitting dataset',
348
+
description: `To reduce the possibility that the clustering method detects noise, the dataset is split in a train (80%) and test dataset (20%). The clustering method is first fitted on the train dataset. Then, the presence of statistically significant signal in the most deviating clusters is evaluated using the test dataset.`,
347
349
},
348
350
clusterinResults: {
349
-
heading: '3. Clustering results',
351
+
heading: '4. Clustering results',
350
352
description: `
351
353
- Number of clusters detected: {{clusterCount}}
352
354
`,
353
355
label: 'Choose cluster to show number of datapoints for',
354
356
valueText: 'Number of datapoints in cluster {{index}}: {{value}}',
355
357
},
356
-
higherAverage: `The most biased cluster has a statistically significant higher average bias score than the rest of the dataset.`,
357
-
noSignificance: `No statistically significant difference in average bias score between the most biased cluster and the rest of the dataset.`,
358
+
higherAverage: `The most deviating cluster has statistically significant different outcome labels than the rest of the dataset.`,
359
+
noSignificance: `No statistically significant difference in outcome labels between the most biased cluster and the rest of the dataset.`,
358
360
359
-
conclusion: `6. Conclusion and bias report`,
361
+
conclusion: `7. Conclusion and bias report`,
360
362
conclusionDescription: `From the above figures and statistical tests, it can be concluded that:`,
0 commit comments