sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
6d1c8551da7e5826356152b00b16316e5fb51876cf129129a97e681ce30a5673 | Python | 58 | 5 | from .pair_potential import ZBLE
__all__ = [
ZBLE,
]
|
6fece07528aa5d5fc04b8f67ac86c28af8260755285fd0e591c330dc6c11aba2 | Python | 58 | 1 | """Calculation-focused validation helpers and runners."""
|
753b6fdd2fdd8bbfe7183dbd334c6dc3fe91331428dea6347ba496579d65a700 | Python | 58 | 2 | from . import test_bruteforce
from . import test_validate
|
1cf089196369645fde62c1bd2c7d24f0f09dc7ecdfa17faaaaaea73735ff1faf | Python | 59 | 3 | from .base import WaveFunction
__all__ = ["WaveFunction"]
|
2bc425b264eb34b71d4ea9f2921f661f4fc3f42ffed674b6a4cb8fdf121d4807 | Python | 59 | 4 | from __future__ import annotations
__version__ = "1.2.3"
|
4be56749d895caad88c581998979d7512dfeeb7739f055b8951fca8fa1ae4bcb | Python | 59 | 1 | from .cell_emb import get_batch_cell_embeddings, embed_data |
4edf9e70582eda8762b30e59ff97f4d0df2d0f813797c9041d3f17d2eb9c0e71 | Python | 59 | 3 | from . import help_functions
__all__ = ["help_functions"]
|
ac320217431c8d2d4b12b88a9d51873f86a0d4990283f5ab35f6df68687135a7 | Python | 59 | 4 | from __future__ import annotations
__version__ = "0.1.0"
|
262f9759e6eb82878e8444b3d1ce1937577ffa642356d1ee4ad21b6b6a2ad855 | Python | 60 | 1 | """Documentation build and notebook-maintenance helpers."""
|
36c43bf3d3def8aca9eb84f6ee64086581fd4014c15175269f154b7f3feeb0a5 | Python | 61 | 3 | from tasks.runner import run_task
__all__ = ["run_task"]
|
5f781fd0d7ddbf58cd64f1228743185f38fb71c468d62c7adecdc071adc771a5 | Python | 61 | 1 | """kanfood: leakage-free FTIR food-adulteration pipeline."""
|
55d870f180352b7c0f3256c94182f95aabd1cc0295799d7a9994053bd551982a | Python | 62 | 4 | from .main import main
if __name__ == "__main__":
main()
|
8668cf5d186245b3efea763ab74b2df825bbd80ebe97c84c343e8c952ab7aa40 | Python | 62 | 1 | """Visualization of aspects of the compositionality study."""
|
21bfcc788dfcc40e204cd634ce5839b0a3d87b8931398ffc8130375a0fc23df7 | Python | 63 | 3 | from .bruteforce import brute_force
__all__ = ["brute_force"]
|
542d4fd95e9d33d82865affecc4368322ded0173322676cff40171a2b989ba4a | Python | 64 | 1 | """Exploratory data analysis for the compositionality study."""
|
8377e0f80abc96ad23c0812b645d74da40902bc1f72b9b46604c72abaf94a8ea | Python | 65 | 3 | from .orbformer_se import OrbformerSE
__all__ = ["OrbformerSE"]
|
7a3b22dd075c4da917cb31b95bd7def7073bfdbd5a1b53a6d566c51e32803b92 | Python | 66 | 1 | """Utility functions for NIRS cluster-based power simulations."""
|
bb6a45f46c0cde0cf5954fe9bdf08a2b1fda44c961ecdc0fc1fad99d55525d7f | Python | 66 | 2 | from .config import Config
from .rejection import RejectionPolicy
|
632aa82ac92cbc7a273a745e156ccde87d18623ff0799d37ba95d10a79b84488 | Python | 67 | 5 | import pytest
def validate_and_get_frame_dur():
assert False
|
71bdf742252bb9e1c8022eaa6d3824e7b8fc81e721b2dcf1391cf6c5143f0350 | Python | 67 | 5 | from s2_GOF_AD import main
if __name__ == "__main__":
main()
|
6e8df9c0ceb1a4473d1f50f7cb56263fdd986e6d171892ec791a38ae3808f981 | Python | 68 | 5 | from .classification import Accuracy
__all__ = [
"Accuracy",
]
|
0d9f4257abfe16af2184a19b74ced0e54301abdcc067741ee327ce23639fdaf1 | Python | 69 | 3 | from .mobile_unet_v3 import MobileUNetV3
__all__ = ["MobileUNetV3"]
|
422b1d762c9cb1df85f36ed48d89b55ae4120c14d335f88565a2116ab920485a | Python | 69 | 1 | """Data loading and preprocessing for the compositionality study."""
|
fe58f190c85b09e016da56a6335ade7ab9a46bed68d4db43d038501036ce7269 | Python | 69 | 3 | from .criterions import *
from .models import *
from .tasks import *
|
41bd6e4105fd36c7baafd7d87f83d8b7647f2acb9a42639ff124f726d2c65bd7 | Python | 70 | 2 | from __future__ import print_function
from __future__ import division
|
a101c0237ee30c22f0dbda1c56406ca88982f9499b17758ab24f4f375bf385e7 | Python | 70 | 5 | from merge_GOF_AD import main
if __name__ == "__main__":
main()
|
f71ac3bfa32ce5e51bdf727efed13db0857f54f2abe544511e8a2b61fb6bafe3 | Python | 70 | 3 | from .FunctionalCPD import FunctionalCPD
__all__ = ["FunctionalCPD"]
|
44eedfebb2f20131cbae6daa994cc3e23616a4b6e5ec9dd30818fd6b43af242b | Python | 71 | 3 | from . import frame_classification
__all__ = ["frame_classification"]
|
69c0d14c6f35b10f9d8f662e4ded47595f5b7d2c578cf023ffcdebdcb6d4549c | Python | 71 | 2 | from .modeling import *
from ._deeplab import convert_to_separable_conv |
e668d6977e1df3bf0c177883fcef480916741a22e7e45b131cc90fcab9621b50 | Python | 72 | 3 | from .engine import *
from .utils import log_print
from .model import *
|
36f1e6abc10cb82d8d993e48b97d84ffa37e2f57910cecb3ed3fa1302fc138ff | Python | 73 | 2 | from .dimenet import DimeNetppEncoder
from .gemnet import GemNetTEncoder
|
dc3f1c0b060c1998df620dc0bbdfe76a17cf824ac6445551ddddc44aa6ff3fed | Python | 73 | 1 | from .utils import is_valid_cmd, get_mount_docker, get_directory # noqa
|
e2fc5bd0b06cdeffd585b8b68a4044cce432ea5453f7cad6ccdde4693904c925 | Python | 73 | 3 | # models/__init__.py
from .ConvMLP import ConvMLP
from .CNN import CNN |
f6e515dada38175e69eae50c4fb4702da1cb06ffb0eb329f244eb3bb3a192777 | Python | 73 | 5 | from __future__ import annotations
def main() -> None:
return None
|
235fdf8df7992ab33d497ac38f2666e63718fdb4a224f81c9883b1e43d54e65d | Python | 74 | 3 | from .fasta_tools import fasta_extraction
__all__ = ["fasta_extraction"]
|
b9ece60abf558172083b5299f651f9a263b5d481fc67f7d954964ce8ba7cb771 | Python | 76 | 5 | from .allegro_models import AllegroModelE
__all__ = [
AllegroModelE,
]
|
ccae5f1e56d1020b6cc8ca7a049f425968bd2f6dc513ca4c7f3c98475e8f4bfa | Python | 76 | 5 | from __future__ import annotations
class PoetryError(Exception):
pass
|
0d3c15ae739e9b5d844953a21478b8f15e6d9852e343b10a46f621d1482fd40c | Python | 77 | 2 | from .split_subset import split_subset
from .merge_subset import merge_subset |
d93fede0e602d53cc42c1d54926de9e1160d3bb241d6280588a9482a925090aa | Python | 77 | 4 | import pathlib
from typing import Union
PathLike = Union[str, pathlib.Path]
|
1c1685a60599a40371d8bedf2160077b5d0ba6ab1b94afd5c3727ba1584d08c2 | Python | 78 | 5 | from s2_GOF_pTau_ratio import main
if __name__ == "__main__":
main(0.7)
|
a6750c630a3460fbf038695bc8beca9a459e03baf1f13d036980e6748d8616cd | Python | 78 | 5 | from s2_GOF_pTau_ratio import main
if __name__ == "__main__":
main(0.3)
|
bd05fa63082168889ca955f907604c12dd00bca7011c30c2069e5928cc2a7554 | Python | 78 | 5 | from s2_GOF_pTau_ratio import main
if __name__ == "__main__":
main(0.4)
|
df1c92afc25afbee3e9a6ec9a8b3f95e0a97f6a2ad4e4b9c670efb994cd4023d | Python | 78 | 5 | from s2_GOF_pTau_ratio import main
if __name__ == "__main__":
main(0.6)
|
f4f2cad163e94fdc298dcf75fc397e267fcba938acab806626903b787e77f513 | Python | 78 | 1 | """Core implementation for deep learning-enhanced Raman microspectroscopy."""
|
343ff9330b84f7de4e73087f8828767886ddd099b607d89c25849035943a7d65 | Python | 79 | 6 | """Example module"""
from __future__ import annotations
__version__ = "0.1"
|
7a01d3b95b416bc4a66ceedc58a624903792da6f7ee4dc592b5961330e8e3385 | Python | 79 | 2 | from .scatter import scatterc, scatterm, scattern
from .colors import Colorizer |
762cd4640d3431c65ff2196148588909a6947782e071cd542ea4da257ed8ce91 | Python | 80 | 5 | """UNet segmentation model."""
from .unet import UNet
__all__ = ["UNet"]
|
d24326c8dae3d9da35b1090bdeda0aa3505d1c70551f1e3807471b781647c1e3 | Python | 80 | 1 | from .cnn import CNNBinaryClassifierV3, CNNBinaryClassifier2V1, BINND, BINNDLite |
f32075bc2df0a9e8f20df35aee33c44d02c97559a0b68bec14f57a308e03b1d2 | Python | 80 | 6 | # encoding: utf-8
"""
@author: Jiayang Chen
@contact: yjcmydkzgj@gmail.com
"""
|
40afe33e9461a043b773aa939b3ec32715d0031bc64114839ffc1607af407fa8 | Python | 81 | 1 | # this file is needed here to include configs when building project as a package
|
aff8229ea3f067884060c54f6a6be8e15d3620018ac6fee91e5a53085fc6754d | Python | 81 | 4 | from ._model import GIMVI
from ._module import JVAE
__all__ = ["GIMVI", "JVAE"]
|
d0599178cf19513010a76c2458e3e996de3a350a5bb0c241694e45fda64a6c9a | Python | 81 | 6 | # encoding: utf-8
"""
@author: sherlock
@contact: sherlockliao01@gmail.com
"""
|
c17a3ae274e5abe7af425d3507d20732291a09714eaa9bf0c4d57b0d9b81658e | Python | 82 | 1 | # NPZ datasets: ``WMB``, ``CA1``; ``DLBaseDataModule``; ``datasets.preprocess``.
|
fe3734be2b9839d9fa8c2c6cdbd1a7434e3fa70301cc59aca0e85018b1d3ecf7 | Python | 82 | 2 | from .multires_hubert import * # noqa
from .multires_hubert_asr import * # noqa
|
76849f374f85844542c97c749f6f79bd47ce2ebf376dec7b126df8109437bb37 | Python | 83 | 5 | ori = "_original"
ali = "_aligned"
nii = ".nii.gz"
hdf = ".hdf5"
dtype = "float32"
|
65d10e9690be3979409bd8583b425daa9511691be5916fd3d4f56d33580698aa | Python | 84 | 2 | from .datasets import load_openneuro_bids
from .simulated import load_simulated_raw
|
877c1396569daf32f1332b87a3d0ca48e438927241d857abd84a28ae777d61ce | Python | 85 | 5 | from . import __meta__
from .core import Experiment
__version__ = __meta__.version
|
f4af859bbb48279d826dd2012adea82562d17332de6b1f3715e8325131f618ec | Python | 85 | 4 | from ._model import SysVI
from ._module import SysVAE
__all__ = ["SysVI", "SysVAE"]
|
8f5e7035e9ca899253d3f8a42a77a022b9a25366c72f09a51aa66820ed1b195b | Python | 86 | 1 | """Code for the preparation and analysis of the planned functional MRI experiment."""
|
2278c44c90e78e61350c7450bf249e2ccf0597b7582382e51e5f7daaeb659654 | Python | 87 | 4 | from enigmatoolbox._version import __version__
# Default rendering
OFF_SCREEN = False
|
2a670612feec905d43a019fbe9bc0ac6c341c801d1be127537791f92654941ef | Python | 87 | 4 | from ._model import SCAR
from ._module import SCAR_VAE
__all__ = ["SCAR", "SCAR_VAE"]
|
30c0e868f5990fd99833bb813f4f8b1db63fc84f75bab7132acd8bc3a13da670 | Python | 87 | 3 | from .cross_disorder import cross_disorder_effect
__all__ = ['cross_disorder_effect']
|
4952cb1f89c252079058fbb6e86fa70ce689bc484233054ecbf2903122319a7e | Python | 87 | 2 | from .draw_confusion_matrix import plot_confusion_matrix
from .draw_roc import plot_roc |
5f2b71da8f6362425593634a63316bfd94074caf988097e0f60fbb983c20591c | Python | 87 | 6 |
def silentRm(filename):
try:
os.unlink(filename)
except:
pass
|
69fa7ce0ff16c1e51548740a22d246e842f8d228bd4818fe6e5685f7eb279da7 | Python | 88 | 1 | """Training-time utilities: Lightning stack, callbacks, facets, seed, LR schedulers."""
|
25365dff1e6eb5c0598f0b58df92c3260338372816a4d7703cdff743ae884470 | Python | 89 | 5 | from .LinearGaussianCPD import LinearGaussianCPD
__all__ = [
"LinearGaussianCPD",
]
|
27f5741170e740f95e627e2415a540312a07195b09bf845886d8b4822c254c6f | Python | 89 | 4 | from ._model import VELOVI
from ._module import VELOVAE
__all__ = ["VELOVI", "VELOVAE"]
|
c91cc436f31dedcfd8cb4b8e96ce334452832055095d399f0b749d2f7ab9d057 | Python | 91 | 2 | from .grn import GeneEmbedding
from .cell_emb import get_batch_cell_embeddings, embed_data
|
1fd02082660f63a06b9bb2cd283042f9257355d841df375afa17bcd64ebabdcb | Python | 92 | 4 | from .embed import has_sklearn
if has_sklearn:
from .embed import DiffusionMapEmbedding |
4866b35109262f5d9a8c8d71908d63e5dd3cbf07cf4ffa30f8cc538c62e57e20 | Python | 92 | 2 | # -*- coding: utf-8 -*-
"""Reusable analysis helpers for the working-memory EEG project."""
|
e4c4348ce31ca33dc6f9d8440c2423324b9455664fede783e0c07a21c987c5c9 | Python | 92 | 6 | from setuptools import setup
setup(
version='1.0',
packages=['src'], #same as name
) |
f069f3c7e865b5be2f4fc17ffc6a294778bab243adcc44851b71826f02891604 | Python | 92 | 3 | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
__version__ = "0.1"
|
f6a1b4bf50ba44fff39f300751096ce064091fc17f9413047ef4959a100363da | Python | 92 | 4 | from . import resnet
from . import mobilenetv2
from . import hrnetv2
from . import xception
|
86f34d2bd80956e6fe5aef27a6efd4ec02d03200590ce9929d25f9700e144121 | Python | 93 | 4 | import sys
for idx, line in enumerate(sys.stdin):
print(f"utt{idx:010d} {line}", end='') |
b8dd6dfefa885e7d181c9aea8d5422e4392102bb0f4fbfa015514f141aa26278 | Python | 93 | 2 | from . import defaults, frame_labels # noqa : F401
from .transforms import * # noqa : F403
|
bdec82f41fc23efcf1cacb5ffce0bd429ea3144b15bbf883b3456cf2db585c81 | Python | 93 | 1 | """Legacy StructureScore coverage does not contain discrete LogLikeliHood-specific tests."""
|
d59c39406a780aae74fa80a9fd5d2b272234b0ba10cf63e7034625aa837fecc6 | Python | 93 | 4 | from ._model import RESOLVI
from ._module import RESOLVAE
__all__ = ["RESOLVAE", "RESOLVI"]
|
d7aa1820e825246e10712d89bd1d29b86243594b627eb67c4854e90286410fef | Python | 93 | 4 | from __future__ import annotations
__import__("pkg_resources").declare_namespace(__name__)
|
20c081f12abcbfaa9d8426229a718d65746b3f6ce8701a63f6407cc62402e04e | Python | 94 | 5 | from fitter import Fitter
import scipy.stats as stats
import numpy as np
import pandas as pd
|
aecede589a3bd15e034089b2e99cb0045138b34f6ccbc528f9f447745a974cd2 | Python | 94 | 3 | from .ranger import Ranger
from .ranger913A import RangerVA
from .rangerqh import RangerQH
|
21c690a25d6e59498b61cd5dd072f3a1fc2e4cb9d9f4aff71a68ea775c6f5057 | Python | 95 | 6 | from __future__ import annotations
from poetry.vcs.git.backend import Git
__all__ = ["Git"]
|
44aab3147193076b308667aa4e6e44d2f9319c5ee553399959049de7f579198f | Python | 95 | 3 | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
__version__ = "0.1.0"
|
d4deb9722fdba024ab1512c68f88ae9aa481c230666167e97afec618c93a9b6c | Python | 95 | 3 | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
__version__ = "1.0.0"
|
bf47f8af0e968a77c64e76c7f5b689afab71e294cd65df842c5de09b732c8dd8 | Python | 97 | 5 | """
Genetically informed spatial mapping of cells for complex traits
"""
__version__ = "1.73.8"
|
c3b11de226fc4fdb43d55883b42cc92fc947eb3e8508b8ef554e38eff3174c19 | Python | 98 | 6 | """Enable ``python -m crossda``."""
from .cli import main
if __name__ == "__main__":
main()
|
40d52eb43cbe7ead95ae5d63fbcc6f561240644f0b63516b618e769b24902238 | Python | 99 | 5 | import os
os.environ["SEGREF3D_DISABLE_SAM2"] = "1"
os.environ["SEGREF3D_EDITION"] = "local-cpu"
|
65253f35a333579fb5fbc9dca7e45a22220bb62f44aa40930e303b88b0a888d6 | Python | 99 | 6 | from fitter import Fitter
import scipy.stats as stats
import numpy as np
import pandas as pd
from. |
8854fccc360b1e5ea23fe80dfd2e4e9c208cd6414ad3a17d182270c134e8de05 | Python | 99 | 6 | from __future__ import annotations
import logging
POETRY_FILTER = logging.Filter(name="poetry")
|
a7395acc2469a984c4c92bf627ef1d4e9f02e7bf4d53c982463331978ef48f47 | Python | 99 | 6 | from fitter import Fitter
import scipy.stats as stats
import numpy as np
import pandas as pd
from |
d13fbfaa2902484b4c6fc87e959ae69a1314a3917eb9d81ec455ffecbd0f7051 | Python | 99 | 6 | from setuptools import find_packages, setup
setup(
name='src',
packages=find_packages(),
) |
e802b0fa74d60cca2dd72f1abd73bd18d95ff74ff9150026d094a04929b85120 | Python | 99 | 6 | from __future__ import annotations
from poetry.puzzle.solver import Solver
__all__ = ["Solver"]
|
f4a07ab63ce3562b5723b5506f2395c9556842fad900cda3f520fc3b3dc46ead | Python | 99 | 3 | from .multi_system_sampler import StreamMultiSystemSampler
__all__ = ["StreamMultiSystemSampler"]
|
17220720fab43297d0a16be743661e7843be629fa741e9bb653044ac019eb55d | Python | 100 | 6 | from setuptools import find_packages, setup
setup(
name='code',
packages=find_packages(),
) |
31f15f198c98660f02ed49fabd0a3212e8cf93bf5625702286665868bc0b120e | Python | 100 | 7 | from .molecule import Molecule
from .train import train
__all__ = [
"Molecule",
"train",
]
|
c6cee54ba5c513dfccf970586be665c1aa332f061e7a006f066b71f0d2cf7d11 | Python | 100 | 6 | from fitter import Fitter
import scipy.stats as stats
import numpy as np
import pandas as pd
from . |
71b739f50ef8073d3b6ed58d192e6a230bb4f796e1219308aa3d906a3494cc67 | Python | 101 | 1 | from performer_pytorch.performer_pytorch import PerformerLM, Performer, FastAttention, SelfAttention
|
af6bd52be4264227b879a90e010c1fb3bc5a388ef7c7d922981809d1431ed68f | Python | 101 | 4 | from ._model import TOTALANVI
from ._module import TOTALANVAE
__all__ = ["TOTALANVI", "TOTALANVAE"]
|
f2f30a122dcd3ca2af083a3dc0d08c4a0b363a25bc99b9326798bd665baed87f | Python | 102 | 3 | # global parameters for drawing pulse colours
c_list = ['w', 'r', 'b', 'm', 0.75, 'g', 'c', 'y', 0.5] |
203858b21b051d5b22b7e95ed9972e57539f3155998c55188f24b60cc5d3c1a5 | Python | 103 | 4 | from ._model import Tangram
from ._module import TangramMapper
__all__ = ["Tangram", "TangramMapper"]
|
780682dfb9a1265ca1038c68503369e09fff98e0561c72e0a9b82be2435894a5 | Python | 103 | 3 | from .distance import CharacterErrorRate, Levenshtein
__all__ = ["Levenshtein", "CharacterErrorRate"]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.