OpenScientificCodeRegistry/Database
Open Scientific Code Registry (OSCR): the authors' scripts The code published by the authors of open-access neuroscience papers, as found and verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified commit, under the license of its repository. 421,275 unique files (3,782 MB of text) from 8,849 repositories, in 24 Parquet block(s). Only files whose repository's license allows redistribution, confirmed by the repository's… See the full description on the dataset page: https://huggingface.co/datasets/OpenScientificCodeRegistry/Database.
05.6k
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/shradha1023/fedpac-me",4 "url": "https://github.com/Shradha1023/FedPAC-ME",5 "host": "github.com",6 "commit": "51b11003fed10149b546b0b6b219b29949afb8e6",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "5e2561f18035a267557e21abd24143e3a753c93fe8939c7f0e115be1f572f0f0",14 "language": "License",15 "lines": 21,16 "truncated": false,17 "block": 6,18 "row": 137719 },20 {21 "path": "README.md",22 "sha256": "e3fcd4bf2942bcb02a7c6d52ecc211cc934c79c929303db43b9b627030c958c4",23 "language": "Text",24 "lines": 155,25 "truncated": false,26 "block": 8,27 "row": 1033528 },29 {30 "path": "gastric_cancer/dataloader.py",31 "sha256": "4e98e539d23422d349e9ae78d2dde1be815e5c8c3d70ae7404d009c5f35e11ef",32 "language": "Python",33 "lines": 89,34 "truncated": false,35 "block": 6,36 "row": 3441637 },38 {39 "path": "gastric_cancer/exploring_dataset.py",40 "sha256": "0af9a96143d5ebfdfdef0d58af372a3ad494ec355617603cc4ed84e80208f3b7",41 "language": "Python",42 "lines": 66,43 "truncated": false,44 "block": 6,45 "row": 3021746 },47 {48 "path": "gastric_cancer/fed_avg.py",49 "sha256": "9243b0b00b00e327031dac082fdb61da8a78d3da17ffb358d2b42f22c08f6cf2",50 "language": "Python",51 "lines": 128,52 "truncated": false,53 "block": 6,54 "row": 3809155 },56 {57 "path": "gastric_cancer/preprocess.py",58 "sha256": "36eca614eb211528e4c59ed527cc50a8cf1e93fa90f00e61ce606d70ea3f1477",59 "language": "Python",60 "lines": 134,61 "truncated": false,62 "block": 6,63 "row": 3832564 },65 {66 "path": "gastric_cancer/training.py",67 "sha256": "d35edcf6ef6f425d7446d56781380e5d683da660e7dc0d891187a4914d8eb739",68 "language": "Python",69 "lines": 311,70 "truncated": false,71 "block": 7,72 "row": 291773 },74 {75 "path": "gastric_cancer/training_result.py",76 "sha256": "71848d026a3620f5b42b898c9ba70fe9bc2b512422b7ea3b8f576f0bd3f590ba",77 "language": "Python",78 "lines": 44,79 "truncated": false,80 "block": 6,81 "row": 2909082 },83 {84 "path": "src/data/download.py",85 "sha256": "6ef19b33d3e2863d532e3d85ac24594b3ee38b4d91969e1c1951db1a4021be7b",86 "language": "Python",87 "lines": 68,88 "truncated": false,89 "block": 6,90 "row": 2985891 },92 {93 "path": "src/data/preprocess.py",94 "sha256": "e5ceb22a6d5ac7c62e1711613436bf13dd6585bd076bce0da7e69b492008c93c",95 "language": "Python",96 "lines": 100,97 "truncated": false,98 "block": 6,99 "row": 34930100 },101 {102 "path": "src/data/utils.py",103 "sha256": "575b580b4ce17aa0a3bbf167d193f732cde9d8212fbacfb9fbf4781a89e98bca",104 "language": "Python",105 "lines": 91,106 "truncated": false,107 "block": 6,108 "row": 31715109 },110 {111 "path": "src/federated/aggregation.py",112 "sha256": "a92022b357a092cf589f929941fc68c2c35396b072806572246ef20c2376b5eb",113 "language": "Python",114 "lines": 28,115 "truncated": false,116 "block": 6,117 "row": 24086118 },119 {120 "path": "src/federated/client_simulator.py",121 "sha256": "3ba8d7c751871046db9e3e612c3b39635a9289f0a54f74f012ab7a823e33bb6a",122 "language": "Python",123 "lines": 37,124 "truncated": false,125 "block": 6,126 "row": 25926127 },128 {129 "path": "src/federated/fedavg.py",130 "sha256": "56a0ae65ab666626ac164de2857284036efbb6aaea875340a81ee1604863e00c",131 "language": "Python",132 "lines": 172,133 "truncated": false,134 "block": 6,135 "row": 43239136 },137 {138 "path": "src/models/attention.py",139 "sha256": "ecc7603c154c6450e6cbc48db660b10d0ffe0bcd2a139d4cb6c76f76de0e2052",140 "language": "Python",141 "lines": 69,142 "truncated": false,143 "block": 6,144 "row": 31706145 },146 {147 "path": "src/models/attention_contrastive_model.py",148 "sha256": "56f847693a6fdd9c482740a33bad9d689467d52e8aa22f98e1a63e11f9e09f24",149 "language": "Python",150 "lines": 68,151 "truncated": false,152 "block": 6,153 "row": 31957154 },155 {156 "path": "src/models/loss.py",157 "sha256": "e8cc314708568612673ccc80cd67d83e72ab38b8683b56cd986b4cedbbf7acfd",158 "language": "Python",159 "lines": 42,160 "truncated": false,161 "block": 6,162 "row": 26085163 },164 {165 "path": "src/models/moe.py",166 "sha256": "be26a8095510d50c0efb5353ad9aba787bed8b7001d7a4eb745b4907fcf617ee",167 "language": "Python",168 "lines": 59,169 "truncated": false,170 "block": 6,171 "row": 29045172 },173 {174 "path": "src/models/mpda.py",175 "sha256": "888ab29578464b2f6fd1ff2fa291c36670b0ca01add6419bad82217c4c63b554",176 "language": "Python",177 "lines": 58,178 "truncated": false,179 "block": 6,180 "row": 30091181 },182 {183 "path": "src/preprocess/dataloaders.py",184 "sha256": "bdae9f1e2ba81577b58f87081fa671f2cfb8691057b06875132447e60f9105a9",185 "language": "Python",186 "lines": 34,187 "truncated": false,188 "block": 6,189 "row": 24141190 },191 {192 "path": "src/preprocess/dataset.py",193 "sha256": "b12a2b6a2231a3cf4bb6c87b26e83ad47d3fdf2e1c381264d3b16b6b8c8298b3",194 "language": "Python",195 "lines": 51,196 "truncated": false,197 "block": 6,198 "row": 29264199 },200 {201 "path": "src/preprocess/split_clients.py",202 "sha256": "1c794fba9d7a8a399331de89e6fd2190cf6e2d1f1d253d85196a22a43655ffdc",203 "language": "Python",204 "lines": 49,205 "truncated": false,206 "block": 6,207 "row": 27462208 },209 {210 "path": "src/training/losses.py",211 "sha256": "cccfa362f4e4e7bc015fe498be1a75919185d30a7067772f96ff0bb96293112e",212 "language": "Python",213 "lines": 67,214 "truncated": false,215 "block": 6,216 "row": 33369217 },218 {219 "path": "src/training/metrics.py",220 "sha256": "03f5af684cfe75d710a4b9bc64e00984d640f239e45874b183f7af8e013ef579",221 "language": "Python",222 "lines": 81,223 "truncated": false,224 "block": 6,225 "row": 35765226 },227 {228 "path": "src/training/train.py",229 "sha256": "7a9f95587d497c1b35667486dcb7b9f5b8e6b7870a26c7fe51d37eacb5972588",230 "language": "Python",231 "lines": 102,232 "truncated": false,233 "block": 6,234 "row": 35890235 },236 {237 "path": "src/visualization/histogram_plots.py",238 "sha256": "2c7684461253b74dbd4b2b53a77c7cebffd157d76e3b6204f5482c09d13413fd",239 "language": "Python",240 "lines": 98,241 "truncated": false,242 "block": 6,243 "row": 31585244 },245 {246 "path": "src/visualization/plot_modalities.py",247 "sha256": "dbf5d3d5ea4c90a755b81239c0153366361e1664954b7aef29237dba85cae8ab",248 "language": "Python",249 "lines": 63,250 "truncated": false,251 "block": 6,252 "row": 28705253 },254 {255 "path": "src/visualization/segmentation_plots.py",256 "sha256": "55702783431290fced952a175f0e45d5344d315f6a0d8a87d3082bb001729b10",257 "language": "Python",258 "lines": 135,259 "truncated": false,260 "block": 6,261 "row": 36079262 },263 {264 "path": "src/visualization/visualize_slices.py",265 "sha256": "532c7500f8245f52cc10f02d3f387117cf6cabae11cce71f58387124b115d3c1",266 "language": "Python",267 "lines": 97,268 "truncated": false,269 "block": 6,270 "row": 33989271 }272 ]273}