t-viSNE: Interactive Assessment and Interpretation of t-SNE Projections
https://doi.org/10.1109/TVCG.2020.2986996
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
341 B
12 lines
341 B
export const thresholdLabels = function({ i, genLength, generatedLabels }) {
|
|
if (i === 0) {
|
|
return generatedLabels[i].replace("NaN to", "Less than")
|
|
} else if (i === genLength - 1) {
|
|
return `${generatedLabels[genLength - 1].replace(" to NaN", "")} or more`
|
|
}
|
|
return generatedLabels[i]
|
|
}
|
|
|
|
export default {
|
|
thresholdLabels
|
|
}
|
|
|