Live application: https://bonespec-ai.streamlit.app/
.xlsx workbook. An example dataset option appears automatically if an approved sample workbook is installed in sample_data/bone_spectra_example.xlsx.For grouped-validation workflows, use these worksheet names:
| Worksheet | Contents |
|---|---|
Raw |
Original spectral measurements |
2nd derivative |
Second-derivative spectral measurements |
Quant peak ratios |
Numeric spectral peak-ratio features (optional for some workflows) |
Raw and 2nd derivative: One row per spectrum. Include Sample ID (independent specimen identifier), Type (class label), and numeric spectral wavenumber columns, for example 800, 802, 804, … 1800. Wavenumber headers should be numeric or numeric-like strings; the values should be numeric spectral intensities.
| Sample ID | Type | 800 | 802 | 804 |
|---|---|---|---|---|
| Sample_A | WT | 0.21 | 0.24 | 0.27 |
| Sample_A | WT | 0.22 | 0.25 | 0.28 |
| Sample_B | OIM | 0.30 | 0.33 | 0.35 |
The table above is an illustrative schema, not experimental data.
Quant peak ratios: Include Sample ID, Type, and numeric feature columns. Consistent class labels and nonempty sample IDs are required. Each independent specimen should retain the same class label across all its spectra.
The grouped validation module uses Leave-One-Group-Out (LOGO) cross-validation so that spectra from the same Sample ID are not split between training and held-out testing. Select the number of spectra sampled per group and a fixed random seed for reproducibility. If a group has insufficient usable spectra, the run may fail or need different settings.
Raw, 2nd derivative, and Quant peak ratios.Sample ID and Type.For code, installation instructions and updates, see the GitHub repository.