Research Prototype · 4CBLW010 Group 5

Non-invasive diabetes screening from saliva spectra

Upload an ATR-FTIR infrared spectrum from a saliva sample and get an instant machine-learning screening estimate for Type 2 diabetes risk.

This tool is a research proof-of-concept only. It does not provide a medical diagnosis. Always consult a healthcare professional.
1,040
Training samples
ATR-FTIR
Spectroscopy method
Binary
Classification task
Spectrum Analyzer

Upload your spectrum file

Accepted formats: CSV (wavenumber, absorbance columns) or a JSON array of absorbance values across 399–4000 cm⁻¹.

Loading the AI model…
Drop file here or click to browse
Your file never leaves your browser — nothing is uploaded or stored.
CSVJSON
Screening Result
Low risk detected
Confidence in this result
Show neural network output
Neural network output
0 % — % 100 %

The neural network outputs a single number between 0 and 1 for every spectrum — called the model score. It is produced by a sigmoid activation on the final layer, so it always falls in this range. A score of 1 means the spectrum looks maximally similar to diabetic samples in the training data; 0 means it looks maximally non-diabetic.

A fixed threshold (set to 0.60 based on the team's model evaluation) acts as the classification boundary. Scores at or above the threshold are labelled elevated risk; scores below are labelled low risk.

The confidence percentage measures how far the score is from that boundary, rescaled to 0–100 %. A score right at the threshold gives 0 % confidence (maximally uncertain). A score of 1.0 (elevated) or 0.0 (low) gives 100 % confidence. This is not a calibrated medical probability — it is a measure of how decisive the model's output is.

Spectral points
Wavenumber range
Model
Neural network
Uploaded infrared spectrum
This result comes from a research model trained on 1,040 ATR-FTIR saliva spectra. It is not a clinical diagnosis. Please consult a medical professional for proper testing.
The Process

How does it work?

From saliva sample to screening result in four steps.

1

Collect saliva

A small saliva sample is collected after fasting.

2

ATR-FTIR scan

The sample is scanned with infrared spectroscopy.

3

Upload spectrum

Export the spectrum as CSV or JSON and upload it.

4

AI screening

The neural network outputs a risk confidence score.

Learn more

Further reading

View all →