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/bozeklab/histo-miner",4 "url": "https://github.com/bozeklab/histo-miner",5 "host": "github.com",6 "commit": "c11499e1675239f23d02c0b436eae2154f7ab0bb",7 "license": "CC-BY-NC-SA-4.0",8 "license_confirmed_by": "license file LICENSE.md",9 "redistribution": "with_conditions",10 "files": [11 {12 "path": "LICENSE.md",13 "sha256": "9e502ba75fd0fd30cea5497b438a4bc12f07f02bc932a7a6041fd6a18b8f46a0",14 "language": "License",15 "lines": 437,16 "truncated": false,17 "block": 11,18 "row": 1442819 },20 {21 "path": "README.md",22 "sha256": "ad8cf512eead1106b38c8c2a87fb5f631f2133f5b9dab0d96f6522722b3e29e2",23 "language": "Text",24 "lines": 444,25 "truncated": false,26 "block": 13,27 "row": 701028 },29 {30 "path": "example/setup_example.py",31 "sha256": "00db612d5bfc69697b51b67b39afd8930191408eca34dc9f98f32b92ce379842",32 "language": "Python",33 "lines": 125,34 "truncated": false,35 "block": 12,36 "row": 1164037 },38 {39 "path": "example/unset_example.py",40 "sha256": "42cc727143e5aa0e0718bd31cdfdd854b32cc943f80b3991e9c0103da04a3f45",41 "language": "Python",42 "lines": 29,43 "truncated": false,44 "block": 12,45 "row": 558246 },47 {48 "path": "scripts/cross_validation/featsel_botura_leave_one_out_crossval.py",49 "sha256": "81c0507480c3f7a6471fc99d59de67654585a395ae25cc4979ddaa9192f997f2",50 "language": "Python",51 "lines": 576,52 "truncated": false,53 "block": 12,54 "row": 2091155 },56 {57 "path": "scripts/cross_validation/featsel_botura_std_crossval_samesplits.py",58 "sha256": "0ae60beb12ebaeafbadf7fa3c50e038d218567902ccdcd19adad610dee24e775",59 "language": "Python",60 "lines": 569,61 "truncated": false,62 "block": 12,63 "row": 2087864 },65 {66 "path": "scripts/cross_validation/featsel_hclustering_std_crossval_samesplits.py",67 "sha256": "d8a3f70590538b7104348f588637d7ab328ace9bc8ad9f5b417888f4171cb895",68 "language": "Python",69 "lines": 506,70 "truncated": false,71 "block": 12,72 "row": 2069573 },74 {75 "path": "scripts/cross_validation/featsel_mannwhitneyu_leave_one_out_crossval.py",76 "sha256": "ee6ca16b1d4cee0004bef78181806b4017ebeb6627e3eaf0b0897f7acd96989b",77 "language": "Python",78 "lines": 604,79 "truncated": false,80 "block": 12,81 "row": 2121082 },83 {84 "path": "scripts/cross_validation/featsel_mannwhitneyu_std_crossval_samesplits.py",85 "sha256": "5492ec7a58196f42baf506dd70cfd042d38bacdd710d04941185a6d9516179f0",86 "language": "Python",87 "lines": 597,88 "truncated": false,89 "block": 12,90 "row": 2118491 },92 {93 "path": "scripts/cross_validation/featsel_mrmr_leave_one_out_crossval.py",94 "sha256": "706b36fdab04aa9b0c0a61b95749ddd95999e6ef42942e6d4521b6b187128361",95 "language": "Python",96 "lines": 701,97 "truncated": false,98 "block": 12,99 "row": 21827100 },101 {102 "path": "scripts/cross_validation/featsel_mrmr_std_crossval_samesplits.py",103 "sha256": "7b48bf9ff97030e72efa6fbddd58b2cff396c414e02b5dd4971e5d8a732f9785",104 "language": "Python",105 "lines": 692,106 "truncated": false,107 "block": 12,108 "row": 21809109 },110 {111 "path": "scripts/evaluations/evaluate_hovernet.py",112 "sha256": "dc56e56aaa20bc20490d26d5ce494261398e55385a477e176301ef0a74e8f286",113 "language": "Python",114 "lines": 432,115 "truncated": false,116 "block": 12,117 "row": 19979118 },119 {120 "path": "scripts/evaluations/test_all_classifiers.py",121 "sha256": "b865006173ab25d2fd8823918fc24e38fe5a015a16dbefdaaa53de1a9ef72051",122 "language": "Python",123 "lines": 243,124 "truncated": false,125 "block": 12,126 "row": 18279127 },128 {129 "path": "scripts/main1_hovernet_inference.sh",130 "sha256": "ee61f6146ef0a00d93d68fababd62f2d67d2976f8971efb05c535f9e09cd1141",131 "language": "Shell",132 "lines": 84,133 "truncated": false,134 "block": 13,135 "row": 5416136 },137 {138 "path": "scripts/main2_segmenter_inference.sh",139 "sha256": "3b2f286c7a7b8dfb5ad7d4f232acf30e91e94e7000ccdd4a1cc233cf3a186ec5",140 "language": "Shell",141 "lines": 150,142 "truncated": false,143 "block": 13,144 "row": 5643145 },146 {147 "path": "scripts/main3_inferences_postproc.py",148 "sha256": "0a6547b58a9c9061297a24b0c5034543ddde45db3e1ccbd18fd96f1804a33b3c",149 "language": "Python",150 "lines": 117,151 "truncated": false,152 "block": 12,153 "row": 12852154 },155 {156 "path": "scripts/main4_tissue_analyser.py",157 "sha256": "d799f61f22c1981f15e1d6930efa8281b51d5b8e19a9469d8aa711b0a604ad87",158 "language": "Python",159 "lines": 220,160 "truncated": false,161 "block": 12,162 "row": 17807163 },164 {165 "path": "scripts/training/training_classifier.py",166 "sha256": "2a08cd37b9b8035e260609a841ee48fc3a1189e8c99dac8bb0391b8dbacc2d1d",167 "language": "Python",168 "lines": 228,169 "truncated": false,170 "block": 12,171 "row": 15983172 },173 {174 "path": "scripts/usecase1_collect_features_consistently.py",175 "sha256": "50300dc6719cc0ca14c598abfeae1750682105c56779a99c3fbf87c3ffd6ddc4",176 "language": "Python",177 "lines": 290,178 "truncated": false,179 "block": 12,180 "row": 18637181 },182 {183 "path": "scripts/usecase2_classification_inference.py",184 "sha256": "c99a2be4c0d6deed2b479c439e9d36d66bbdce22c2de4825964514bb1b0af698",185 "language": "Python",186 "lines": 159,187 "truncated": false,188 "block": 12,189 "row": 13041190 },191 {192 "path": "src/histo_miner/__init__.py",193 "sha256": "27e8febb48ada44153ea2add9969a2c50a9831a74d9755fdd53c549a888b1cc2",194 "language": "Python",195 "lines": 1,196 "truncated": false,197 "block": 9,198 "row": 6093199 },200 {201 "path": "src/histo_miner/dataset_utils.py",202 "sha256": "30da504d0d60350d6671ab7dab357dcc3a267a38a5353e297dfeb0d1f6329ee1",203 "language": "Python",204 "lines": 307,205 "truncated": false,206 "block": 12,207 "row": 19229208 },209 {210 "path": "src/histo_miner/download_rank.py",211 "sha256": "f01e71f6600cd8f369725490b4651807963fe4f8b9df652ac8b8f9287f485d10",212 "language": "Python",213 "lines": 62,214 "truncated": false,215 "block": 12,216 "row": 6956217 },218 {219 "path": "src/histo_miner/download_weights.py",220 "sha256": "e1451cefd7f2f5865e5c7b3a83379f96c4dfa1c8adb1fbb6970b8fb65ba741d1",221 "language": "Python",222 "lines": 67,223 "truncated": false,224 "block": 12,225 "row": 7359226 },227 {228 "path": "src/histo_miner/evaluations.py",229 "sha256": "7866659570237870c48ea4cd236d282a52f112737dc92636a7bf4b8d4fc8fdf5",230 "language": "Python",231 "lines": 353,232 "truncated": false,233 "block": 12,234 "row": 19265235 },236 {237 "path": "src/histo_miner/feature_selection.py",238 "sha256": "c968c1b6661f8150c6bd6ffe26034505f8e381c96d17e7093c320c5ccad2c3d6",239 "language": "Python",240 "lines": 292,241 "truncated": false,242 "block": 12,243 "row": 19186244 },245 {246 "path": "src/histo_miner/hovernet_utils.py",247 "sha256": "51c0989005b983bf823680238e414cdaae4e3bdd1465e56c5a8070c3a92c049e",248 "language": "Python",249 "lines": 338,250 "truncated": false,251 "block": 12,252 "row": 20091253 },254 {255 "path": "src/histo_miner/segmenter_utils.py",256 "sha256": "8a68a4267762d998374d956e52f8bce708ec2fc53531dbd7e98339d44c5bf618",257 "language": "Python",258 "lines": 51,259 "truncated": false,260 "block": 12,261 "row": 8378262 },263 {264 "path": "src/histo_miner/tissue_analyser.py",265 "sha256": "bfc62dd84449fb44a2f01b07a2f46f427167f51a8e99468c393f2c41448bdd67",266 "language": "Python",267 "lines": 2202,268 "truncated": false,269 "block": 13,270 "row": 636271 },272 {273 "path": "src/histo_miner/utils/cellclass_process.py",274 "sha256": "120c029c64cafe4a2882fa0dd2f765856ac7f2eed5769759d73950c4c9be18d6",275 "language": "Python",276 "lines": 102,277 "truncated": false,278 "block": 12,279 "row": 12820280 },281 {282 "path": "src/histo_miner/utils/filemanagment.py",283 "sha256": "bd40968e7fe7fffb0fb6b7c827c86615fd5cc7e69d931e9e12799fe16dfba49e",284 "language": "Python",285 "lines": 282,286 "truncated": false,287 "block": 12,288 "row": 18620289 },290 {291 "path": "src/histo_miner/utils/image_processing.py",292 "sha256": "4c02ee31ecd1990367e97f0017bcc54ac170bbd0e34332eef2f3aaf7dcbffd57",293 "language": "Python",294 "lines": 198,295 "truncated": false,296 "block": 12,297 "row": 15431298 },299 {300 "path": "src/histo_miner/utils/misc.py",301 "sha256": "107d9058ce996778ffae0bcbc91b63e2c4a54cb5f5ed6a0877243892e7804214",302 "language": "Python",303 "lines": 465,304 "truncated": false,305 "block": 12,306 "row": 19579307 },308 {309 "path": "supplements/probability_of_distance_overestimation_notebook.nb",310 "sha256": "c8d1a5445c1e1c5b02814d21b22d122e133586e1a51dbe27b81d681a818af3be",311 "language": "Mathematica",312 "lines": 1329,313 "truncated": false,314 "block": 12,315 "row": 2529316 },317 {318 "path": "tests/test_evaluations.py",319 "sha256": "f9e14c608c9c3c0d46255b32837cb9aa22a2408380acd82642839af7e4962319",320 "language": "Python",321 "lines": 148,322 "truncated": false,323 "block": 12,324 "row": 12972325 },326 {327 "path": "tests/test_imports.py",328 "sha256": "0c3303b44f572589931309d06a879e44c0e3bf9e75a0c581c63504b4ded34d2f",329 "language": "Python",330 "lines": 37,331 "truncated": false,332 "block": 12,333 "row": 6282334 },335 {336 "path": "tests/test_misc_utils.py",337 "sha256": "be99ca53a2c1b559a9863659ee26352c675fd342a2ae88824cf62ebc373e0540",338 "language": "Python",339 "lines": 159,340 "truncated": false,341 "block": 12,342 "row": 14201343 },344 {345 "path": "tests/test_tissue_analyser.py",346 "sha256": "48d52e83ab8ad15cd97402d7937acd2128383dc721b012bad133e7b2bf7fac8c",347 "language": "Python",348 "lines": 400,349 "truncated": false,350 "block": 12,351 "row": 20049352 },353 {354 "path": "visualization/figures/PCA_explorations.py",355 "sha256": "b0d49fb5ec74ff9075893ee3137a109f9c1ac1650d6fc2a671fefbbdca8dd3eb",356 "language": "Python",357 "lines": 445,358 "truncated": false,359 "block": 12,360 "row": 19686361 },362 {363 "path": "visualization/figures/accuracy_among_nbrfeatures.py",364 "sha256": "7fb9c88ce3971f0d3140c74bc228538dbff8a6f49d031822955339046edd215d",365 "language": "Python",366 "lines": 339,367 "truncated": false,368 "block": 12,369 "row": 19764370 },371 {372 "path": "visualization/figures/boxplot_validation.py",373 "sha256": "7e9f9fd9e716ad9406c852ddcafdb81a050620d6cefc1c17c770abe194e5304d",374 "language": "Python",375 "lines": 207,376 "truncated": false,377 "block": 12,378 "row": 15060379 },380 {381 "path": "visualization/figures/correlation_heatmaps_hierarchical_clustering.py",382 "sha256": "8f01df86145fd78552d5a4ca73131d08c538c81319b903cd18a1e4fe2abb7630",383 "language": "Python",384 "lines": 148,385 "truncated": false,386 "block": 12,387 "row": 12109388 },389 {390 "path": "visualization/figures/features_descriptions_allfeat.py",391 "sha256": "2899392924112b9cca152aafdb20c7afbec1d047a47bcc2401ee4a44ec5fb5d2",392 "language": "Python",393 "lines": 753,394 "truncated": false,395 "block": 12,396 "row": 22008397 },398 {399 "path": "visualization/figures/features_descriptions_selfeat.py",400 "sha256": "f15cf14107c2f25b43c58d0d4f954a176e03aacd9f8e23098e92d761f7262e08",401 "language": "Python",402 "lines": 582,403 "truncated": false,404 "block": 12,405 "row": 21284406 },407 {408 "path": "visualization/figures/hovernet_confusion_matrix.py",409 "sha256": "767daacfc371dcddfadc5e8170179a1a88cf4472b2303d5057351de4ad593ae6",410 "language": "Python",411 "lines": 50,412 "truncated": false,413 "block": 12,414 "row": 7088415 },416 {417 "path": "visualization/figures/roc_auc_crossvalidation.py",418 "sha256": "ae9b455e944a1f1217532f97b748fadd959dc5ed4354fa51414e0abfc6cede55",419 "language": "Python",420 "lines": 657,421 "truncated": false,422 "block": 12,423 "row": 21109424 }425 ]426}