Skip to content

Commit

Permalink
Robust list of datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
danjjl committed Dec 11, 2024
1 parent d307e7d commit f7e15ce
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 37 deletions.
7 changes: 6 additions & 1 deletion website/static/js/f1_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ async function loadResults() {
const data = await response.json();

const algorithms = Object.keys(data);
const datasets = Object.keys(data[algorithms[1]]);
const datasets = new Set();
algorithms.forEach(algorithm => {
Object.keys(data[algorithm]).forEach(dataset => {
datasets.add(dataset);
});
});

const tableHeaderRow = document.getElementById("table-header");
const tableBody = document.getElementById("table-body");
Expand Down
230 changes: 194 additions & 36 deletions website/static/results.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,205 @@
{
"ghcr-io-esl-epfl-eegwavenet-2021-latest": {
"seizeit": {
"sample_results": {
"sensitivity": 0.16181873188563095,
"sensitivity_std": 0.1728837712629253,
"precision": 0.010398175095877014,
"precision_std": 0.01980404885284986,
"f1": 0.018449122622449736,
"f1_std": 0.03311878382654499,
"fpRate": 1940.8401407739404,
"fpRate_std": 1966.4356582201588
},
"event_results": {
"sensitivity": 0.6701479076479077,
"sensitivity_std": 0.33750380477289416,
"precision": 0.00860435911377815,
"precision_std": 0.007559950370380821,
"f1": 0.016858424482851356,
"f1_std": 0.014630148434563993,
"fpRate": 95.115741937477,
"fpRate_std": 42.59395754653881
}
},
"siena": {
"sample_results": {
"sensitivity": 0.3383800042210267,
"sensitivity_std": 0.2955118807922208,
"precision": 0.0643305016902165,
"precision_std": 0.0967281608964848,
"f1": 0.061224663076749265,
"f1_std": 0.0781111387416573,
"fpRate": 12229.039458786476,
"fpRate_std": 14891.185461376268
},
"event_results": {
"sensitivity": 0.8583333333333333,
"sensitivity_std": 0.21919314524098357,
"precision": 0.06756169146084061,
"precision_std": 0.05043260237268246,
"f1": 0.120486222532351,
"f1_std": 0.0845723385089917,
"fpRate": 152.24201769661516,
"fpRate_std": 75.38077458924418
}
},
"tuh": {
"sample_results": {
"sensitivity": 0.12044416837185752,
"sensitivity_std": 0.2070857994688213,
"precision": 0.09142110945398688,
"precision_std": 0.21863271004445214,
"f1": 0.09056360211342161,
"f1_std": 0.13674771222911808,
"fpRate": 6561.849545959935,
"fpRate_std": 13330.109027123926
},
"event_results": {
"sensitivity": 0.4941881642297708,
"sensitivity_std": 0.4056036250166351,
"precision": 0.1325190559978775,
"precision_std": 0.2419545406186811,
"f1": 0.3077422853938555,
"f1_std": 0.2696269142790129,
"fpRate": 137.670711360624,
"fpRate_std": 115.60444413582736
}
}
},
"ghcr-io-esl-epfl-eventnet-2024-latest": {
"seizeit": {
"sample_results": {
"sensitivity": 0.5154906585208963,
"sensitivity_std": 0.32747309165853966,
"precision": 0.1306250115289031,
"precision_std": 0.2134343292950913,
"f1": 0.16841050231596136,
"f1_std": 0.2287236708401947,
"fpRate": 2586.640451934121,
"fpRate_std": 7490.605779627463
},
"event_results": {
"sensitivity": 0.6185064935064934,
"sensitivity_std": 0.3442384340859614,
"precision": 0.16728605757316545,
"precision_std": 0.2197910827502648,
"f1": 0.22060753411218142,
"f1_std": 0.24368411650944008,
"fpRate": 19.58827956943631,
"fpRate_std": 49.54904568626509
}
},
"siena": {
"sample_results": {
"sensitivity": 0.5317783844080871,
"sensitivity_std": 0.3074374621787271,
"precision": 0.45538261752477294,
"precision_std": 0.31849133755928766,
"f1": 0.43712916482719016,
"f1_std": 0.2882230004837205,
"fpRate": 667.6841646729424,
"fpRate_std": 698.1305386977838
},
"event_results": {
"sensitivity": 0.5869047619047619,
"sensitivity_std": 0.3817346878161404,
"precision": 0.536734693877551,
"precision_std": 0.3632869620796581,
"f1": 0.517183610040753,
"f1_std": 0.35617198663731536,
"fpRate": 8.505474118628921,
"fpRate_std": 11.747939408273526
}
}
},
"ghcr-io-esl-epfl-gotman-1982-latest": {
"chbmit": {
"sample_results": {
"sensitivity": 0.35,
"sensitivity_std": 0,
"precision": 0.020588235294117647,
"precision_std": 0.020588235294117647,
"f1": 0.07368421052631578,
"f1_std": 0,
"fpRate": 1702,
"fpRate_std": 398
},
"event_results": {
"sensitivity": 1,
"sensitivity_std": 0,
"precision": 0.00684931506849315,
"precision_std": 0.00684931506849315,
"f1": 0.027027027027027025,
"f1_std": 0,
"fpRate": 282,
"fpRate_std": 6
"sensitivity": 0.16384903181573104,
"sensitivity_std": 0.14136821958789542,
"precision": 0.032723735353386976,
"precision_std": 0.041410655074110646,
"f1": 0.0465554503067521,
"f1_std": 0.05614274508194485,
"fpRate": 2441.613741100823,
"fpRate_std": 1685.6680197997314
},
"event_results": {
"sensitivity": 0.9126623376623378,
"sensitivity_std": 0.14874207016279975,
"precision": 0.02634675142426299,
"precision_std": 0.032531120559907506,
"f1": 0.049258561762728234,
"f1_std": 0.055921396108825724,
"fpRate": 241.34696271127652,
"fpRate_std": 64.98509882930641
}
},
"seizeit": {
"sample_results": {
"sensitivity": 0.23771180079334592,
"sensitivity_std": 0.16557970208287798,
"precision": 0.0034794085766042364,
"precision_std": 0.0039473718505091335,
"f1": 0.006776037849844546,
"f1_std": 0.007622066822294728,
"fpRate": 5013.528205269473,
"fpRate_std": 1603.1499940401864
},
"event_results": {
"sensitivity": 0.9765512265512266,
"sensitivity_std": 0.09205639552504725,
"precision": 0.003764613843555433,
"precision_std": 0.0027059428494200614,
"f1": 0.00748345764953794,
"f1_std": 0.005347309562390521,
"fpRate": 285.41063702562576,
"fpRate_std": 16.412699845419013
}
},
"siena": {
"sample_results": {
"sensitivity": 0.08829611248966088,
"sensitivity_std": 0.03990901571546732,
"precision": 0.01290240163515585,
"precision_std": 0.006834440470107306,
"f1": 0.019812434346606598,
"f1_std": 0.008224948830963495,
"fpRate": 9792.41332546082,
"fpRate_std": 4566.67758363009
},
"event_results": {
"sensitivity": 1,
"sensitivity_std": 0,
"precision": 0.08496732026143791,
"precision_std": 0.0261437908496732,
"f1": 0.15555555555555556,
"f1_std": 0.04444444444444444,
"fpRate": 280.54794809412226,
"fpRate_std": 0.028467574641695137
"sensitivity": 0.1759063532020704,
"sensitivity_std": 0.12661433771231806,
"precision": 0.01700806214649122,
"precision_std": 0.012622902861276356,
"f1": 0.029644107452650253,
"f1_std": 0.021329609495226075,
"fpRate": 6356.5244446301085,
"fpRate_std": 2332.694341807189
},
"event_results": {
"sensitivity": 0.9857142857142858,
"sensitivity_std": 0.05150787536377125,
"precision": 0.03327237144556232,
"precision_std": 0.026218384539181447,
"f1": 0.06319133718961724,
"f1_std": 0.04647658376287574,
"fpRate": 297.7873959971871,
"fpRate_std": 28.696137270068984
}
},
"tuh": {
"sample_results": {
"sensitivity": 0.11822135142325783,
"sensitivity_std": 0.17745496655296564,
"precision": 0.08985109129197706,
"precision_std": 0.20245377825409203,
"f1": 0.0941557848006989,
"f1_std": 0.11889742305678208,
"fpRate": 3612.3600801745583,
"fpRate_std": 3342.439717389764
},
"event_results": {
"sensitivity": 0.7034009698925888,
"sensitivity_std": 0.3460808899791256,
"precision": 0.11377655152094318,
"precision_std": 0.21022143415042288,
"f1": 0.3166630012017667,
"f1_std": 0.23746417778808365,
"fpRate": 249.4504242379011,
"fpRate_std": 119.1805428277291
}
}
}
Expand Down

0 comments on commit f7e15ce

Please sign in to comment.