diff --git a/components/demo.tsx b/components/demo.tsx index 0256c5d..ab841ff 100644 --- a/components/demo.tsx +++ b/components/demo.tsx @@ -585,15 +585,14 @@ export function Demo() { From the given inputs, the model has predicted that patient has " {categoryToName[fusionInferenceSorted[0].label]}." However the model was only trained on five possible outcomes and with a limited dataset, so the results may not be accurate. - {fusionInferenceSorted[0].probability < 0.6 && ( - <> - {' '} - Importantly, the model is not very confident in this prediction. In an actual - clinical setting, the model should only display the top output based on a determined threshold of - likelihood, however for the purposes of this demo, we are showing all results. - > - )}
+ {fusionInferenceSorted[0].probability < 0.6 && ( ++ Importantly, the model is not very confident in this prediction. In an actual + clinical setting, the model should only display the top output based on a determined threshold of + likelihood, however for the purposes of this demo, we are showing all results. +
+ )}It should also be noted here that the "likelihood" is not a true likelihood of the patient having this condition, but a relative likelihood compared to the other findings. Similarly, "no @@ -649,16 +648,16 @@ export function Demo() { From the given inputs, the model has predicted that patient has " {categoryToName[tabularInferenceSorted[0].label]}." However the model was only trained on five possible outcomes and with a limited dataset, so the results may not be accurate. - {tabularInferenceSorted[0].probability < 0.6 && ( - <> - {' '} - Importantly, the model is not very confident in this prediction. In an actual - clinical setting, the model should only display the top output based on a determined threshold - of likelihood, however for the purposes of this demo, we are showing all results. For similar - reasons, the output of a base model would normally not be shown. - > - )}
+ {tabularInferenceSorted[0].probability < 0.6 && ( ++ {' '} + Importantly, the model is not very confident in this prediction. In an actual + clinical setting, the model should only display the top output based on a determined threshold of + likelihood, however for the purposes of this demo, we are showing all results. For similar + reasons, the output of a base model would normally not be shown. +
+ )}As a tabular model trained on only eight inputs, attempting to determine five possible outcomes, this model is not very accurate. In a clinical setting, the model would be trained on hundreds of @@ -710,16 +709,16 @@ export function Demo() { From the given inputs, the model has predicted that patient has " {categoryToName[textInferenceSorted[0].label]}." However the model was only trained on five possible outcomes and with a limited dataset, so the results may not be accurate. - {textInferenceSorted[0].probability < 0.6 && ( - <> - {' '} - Importantly, the model is not very confident in this prediction. In an actual - clinical setting, the model should only display the top output based on a determined threshold - of likelihood, however for the purposes of this demo, we are showing all results. For similar - reasons, the output of a base model would normally not be shown. - > - )}
+ {textInferenceSorted[0].probability < 0.6 && ( ++ {' '} + Importantly, the model is not very confident in this prediction. In an actual + clinical setting, the model should only display the top output based on a determined threshold of + likelihood, however for the purposes of this demo, we are showing all results. For similar + reasons, the output of a base model would normally not be shown. +
+ )}It should also be noted here that the "likelihood" is not a true likelihood of the patient having this condition, but a relative likelihood compared to the other findings. Similarly, "no @@ -767,16 +766,16 @@ export function Demo() { From the given inputs, the model has predicted that patient has " {categoryToName[imageInferenceSorted[0].label]}." However the model was only trained on five possible outcomes and with a limited dataset, so the results may not be accurate. - {imageInferenceSorted[0].probability < 0.6 && ( - <> - {' '} - Importantly, the model is not very confident in this prediction. In an actual - clinical setting, the model should only display the top output based on a determined threshold - of likelihood, however for the purposes of this demo, we are showing all results. For similar - reasons, the output of a base model would normally not be shown. - > - )}
+ {imageInferenceSorted[0].probability < 0.6 && ( ++ {' '} + Importantly, the model is not very confident in this prediction. In an actual + clinical setting, the model should only display the top output based on a determined threshold of + likelihood, however for the purposes of this demo, we are showing all results. For similar + reasons, the output of a base model would normally not be shown. +
+ )}It should also be noted here that the "likelihood" is not a true likelihood of the patient having this condition, but a relative likelihood compared to the other findings. Similarly, "no