sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
d7d320c63890650364f863ec42e4eb79d8334abaedcf388b52a440d3a253763c
Python
50
1
"""Tests for adapters covering multiple tasks."""
41f579911b1ea683b8e33f863980c26005a2ba074f2498290304283e0dcd181a
Python
52
1
from .info import info, is_downloaded, list_datasets
65304984b81dbc362ec2b0a356fb9b111ce1179dc043cffcb8d0f51cf8b5f000
Python
52
5
"""Wrappers to deal with BDF files using MNE """
71b4d2cc02c41e33a725c1702dd5f112a3abe3f790f0e92a937a96719e39d2e4
Python
52
1
"""GIFT-Eval forecasting benchmark entry points."""
1604851ea626d9ea6efd62af7a281c167b87f8b350819097e94576962eeec319
Python
53
6
from .main import * __all__ = [ 'main' ]
8a82db7e5a2f08099f1a447a51d61ecf7b142f59a1576b5d6332c31608c9b884
Python
53
2
#from .test_mtrf import * #from .test_helper import *
8c1e8b4bc47d718a11c19f262848e36a51f8f95371a667c35113fd72c9c12ac6
Python
53
1
"""Tests for shared panel estimator base classes."""
a3c615672353495cc8aa357f19248e527d80237c0c34badf22c9a63dbe737137
Python
53
1
from sns_toolbox.storage_utilities import save, load
60cf5228be9cde27c6b5e412fba2a4559fec3d7b14244e2886b427e3f799240b
Python
54
1
# empty init to make examples importable (for sphinx)
aa517c0cdcdd2db93583bc31c6ed309eb283f8eb4039011fad738552b38f2b17
Python
54
2
from .main import * import smote_cd.dataset_generation
ce85f1e470c47e54e02c847a4654a690234ec0b399a1494f954d7ef6ee0962e8
Python
55
3
__all__ = ['jupyter'] from pyRDTP.operations import *
5bbf659bb6030154905f4f515d8ef50c1c70039ce31e42e94bbacda0b18e7fb2
Python
57
2
"""Set the current pypi version""" __version__ = '1.2.0'
67d8b114b796ebd756eb355cf38f43e4c6cec84fbc4761a105ed43cc3caecdb5
Python
58
3
__all__ = ['radius', 'colors'] from pyRDTP.data import *
7ebf82140b2f51aabe1759c80ac944c6c7cb8207137eb7c2b94fcc501ac765d4
Python
58
4
from . import main if __name__ == '__main__': main()
e6da65a9e6916622b4dcfa27c33f4ed4c2400117e25155e4cf5c91313ae2ec74
Python
58
1
from data_loader.synthetic_dataset import SyntheticDataset
d872f8fdf49a5f10de3982744846e75e0805f19fd8b64570a2bc668d4c606a73
Python
59
1
"""Module: Alignment type checkers and mtype inference."""
409f833b64a91dbc4d2570b570183a39d0476d584f6444d1a76d10a9c145ee42
Python
60
2
from .xkcd_rgb import xkcd_rgb from .crayons import crayons
39774598a78a44ba41805a7e42ae8e432e83db48c3ee964571d37bbdb859d2c2
Python
61
6
"""Builtin Datasets. """ from ._datasets import ( haber )
56617e1f1a76568f117d2dbc9272a640158f739dfa8aa97c857574b89275652b
Python
63
1
from .io import FIG_PATH, OUT_PATH, get_out_dir, glue, savefig
1453118fee5f8101d6523e52f97ca5fa7dc4a7e363cee3b0613526de19729bea
Python
64
1
from .core.normalizers import logcpm_normalizer, cpm_normalizer
dd6a431e15fb055b542e7a489d0a2857371fdfa6db42ee552aa8ecb4b2063b20
Python
64
1
from .loc2seq import download_dataset, remove_dataset_from_disk
eaa722640645de005c0bbfafcb6f04902bf2317b95a4e4cac707fdf3cabe98be
Python
64
1
##doesnt do anything, just here to enable importing across files
01b36f6bf019e0de1945386625b88edaf3677ecb4089d4916ba3915011cd01c3
Python
65
2
from .nonlinear import NotearsNonlinear from .golem import GOLEM
1b3794de296846633582ac5b6d913ac45226659a7342e5565ec389894bcfbaaa
Python
66
1
"""Classification benchmarks for frozen Tabby representations."""
a146db6f17472e2f84c61191ba1def64917e56f34130fa9d16005eb36d9093e8
Python
68
3
"""Bycycle class object.""" from .fit import Bycycle, BycycleGroup
5bedc92df33f841748f378655e504dc36d3ad3ae3b79458c27bb2fd0566f8c26
Python
69
6
"WordSegment CLI" import sys from . import main main(sys.argv[1:])
76729f7fbf084095ad36e12f9933b00eb836deaa0c1abd23dedb2102cd53ee4f
Python
69
5
from graynet.cli import main if __name__ == '__main__': main()
d8f4b13bb5dd0a93974b7b26bb8542bac35ceb07a96de4d8dfa4746fcbfb7236
Python
69
4
from .core import * from .core import __all__ __version__ = '0.1.5'
f2401f3ced9902bf46d8f671cb607b3645fb479c3b8650b88ad1b47becd36d64
Python
69
8
""" Util files for TorchServe """ from . import timeit_decorator
c5e4dfd676632dde3a8204362b776995469f8bf6e90d19ff3ceed7a2b6335366
Python
70
4
from .core import * from .core import __all__ __version__ = '0.1.10'
72a2644bd5810a325e876343b5aca4d8e29c0d416db66b8db1db28a80047585a
Python
71
1
from .dataset_read_data import DataGenerator as DataGenerator_read_data
d0745286e254e4ee0ce5f0e82b1178d0e610a9b83baf977a4088981b3aec7351
Python
72
3
from __future__ import annotations from .losses import * # noqa: F403
7a464ddfb64103d52cdf1a4ac793a42f5d27412a41baea3bd7157494fb6d8ced
Python
74
6
""" This is the current version of TorchServe """ __version__ = '0.0.1'
f9fbc41e70336acb91c2ee7a603021d9a03b102d9527cd16749e6da50913108d
Python
74
5
import torch def pytest_configure(config): torch.set_num_threads(2)
bee2f0fa8085b504b7947b246f9a7c491d5f42ffbef24218cf187a833bfa10af
Python
75
7
import nibabel as nib from bcblib.tools.nifti_utils import load_nifti
2a8b1faecf6fae0cd2a2561980d4dd1e1604e15d8b63891d407e6eff0337525d
Python
76
1
regression_loss = ['mean_square_error', 'mean_absolute_error', 'smooth_L1']
32cce5a46bc7986a4ec6b873f99b1dadd9cf2b67fe11079e7f72ec03365da166
Python
76
1
"""Tests for utilities for checks and conversions for detection outputs."""
3d7b2651efc38a4eb96ba3fa07671b561a7f37f0c102406b5bcf0cec90920b55
Python
77
8
import argparse def main(): pass if __main__ == '__main__': main()
4cf6fcaa457ee183adeeb46df52fa3a118634fe3a7a978dcfb2721cb62ee9505
Python
77
3
from __future__ import annotations from .gen_metrics import * # noqa: F403
c41ec4e008aaa72d395ed74b68fc37de678bdad5f4c7335806ade7db9a0a5b0f
Python
77
1
from .opt import NeuraLVAR, NeuraLVARCV, link_share_memory, create_shared_mem
0ddd25b5754e0c62d6f4679ef0e8ec2f9c3c97b8368d4a2eb368a87e0f804235
Python
78
2
#from .preprocessing import preprocess #from .postprocessing import cell_stats
d6e2d563f846d3fd3204e3b14217fc1ab694e45428e6951235438564c5d48f0e
Python
78
7
""" This is a dummy source fiile """ def handle(): return "Dummy model"
e5dd038a6784ece1950d1d11e17c39f245871c079a405f1f272d78672cfcf8b6
Python
78
2
from .accumulator import Accumulator from .decorators import collect_run_time
01bdfbd405c21cafac2d0f6fa50deacf45a7b8d9b78aaa3f6f37635faceb89b0
Python
81
4
import sys from pathlib import Path sys.path.append(str(Path(__file__).parent))
d267c97938061e3735221bf4880925313c1c418e6b590af5ebb0a84c925cc579
Python
81
3
# Copyright (c) ONNX Project Contributors # SPDX-License-Identifier: Apache-2.0
c7ab610b6ca4767abb1ba849f8435ac62455dd67edb563dc058b24ba9e6c8e28
Python
82
3
# Copyright (c) ONNX Project Contributors # # SPDX-License-Identifier: Apache-2.0
0b7f437f12fff334e6ef02de0e2af036b35042ff0340f153f6edcc7dfd6050dc
Python
83
4
from .serializers import * from .serializers import __all__ __version__ = '1.1.5'
3d457a9acf8fa4acc360936a2bc619d162fc5e81db61e10cebe59c9602c114c9
Python
83
6
"""Tools to analyze and interpret FFR data """ from .utils import set_log_level
d574c62b2e87a31deb315fe8fb04832fc00313e8c6ce121df1f09063b1ac9a8a
Python
83
4
from .serializers import * from .serializers import __all__ __version__ = '1.1.7'
f667de18eab6964bbef16d1d69c754ee6e70af2d48a29f595e9a0ee0cb3f3e65
Python
83
6
""" This is the current version of Model Archiver Tool """ __version__ = '0.1.0'
4c81f439840cfa8221bb7ed0026812cf43940a8de0fb0cdb0a252c744a7758f4
Python
84
1
from .load_data import DATA_PATH, load_split_connectome, load_semipaired_connectome
78be173ef1dd8eb473b4fc4c34fd53c8b18f7323af6f41914379c5528ff29059
Python
84
5
def get_img_shape(coo): w = coo.shape[1] h = coo.shape[0] return [h, w]
426d6abace33de19f6a163b54d384a04522965416bca5c8684bc4f988eccece4
Python
86
6
try: from . import main except ImportError: from __init__ import main main()
cb7c04af8dfc9440be5c17c3443938b29bc4d543f75d172fd62bc03d089275a8
Python
86
1
"""Utilities to handle checks and conversions between output formats of detectors."""
e99cbce640455cd6fe7b0744d936db7054d00e8af6ae2f93e66de5cd224b3d7b
Python
86
3
r""" This package contains utilities used throughout the whole `vp-suite` package. """
0205fb8797d534690ca989ccf527472001548b04bf234d92a3c24f8035f88f07
Python
87
2
from .transformer_encoder import TransformerEncoder from .gat_encoder import GATEncoder
5585daea36b87e8bceebaf61d0fdd4cf47900e0ea2af662d181d7952074c04c8
Python
87
4
__name__ = "pyRDTP" __all__ = ['geometry', 'molecule', 'geomio'] from pyRDTP import *
84d067fcd32ba5bb64304276213999efff5982abd6c507fe963a4bda78cc6036
Python
87
5
from roiloc import __version__ def test_version(): assert __version__ == "0.4.0"
5b661d5c11e553ac4a49ebd818b001900fc28db0ff140a488eca4d0b6be052ce
Python
88
2
from .xkcd_rgb import xkcd_rgb # noqa: F401 from .crayons import crayons # noqa: F401
197b9a66ec71a3e4ead3424a8a9795724d9dd39217639f61faf5309c3bc2894a
Python
89
3
"""Short-read gene expression to long-read isoform allocation.""" __version__ = "0.2.0"
3992b7f1e485c7b631acdec8dcad6d38eaed01851b6db0684b646df79e4b969c
Python
90
2
# Codes under this directory is taken and adapted from ELEKTRONN. # http://elektronn.org/
feb29e85452980b217255b7b7aa1b94331a74f5d78052d2a20ee3767c058fde7
Python
92
5
"""Time-series regression datasets.""" from .tecator import Tecator __all__ = ["Tecator"]
2fd07b1f9edd911ea333d5a920026b54f3d2ce09019270f85f9e52824227fa02
Python
93
3
from .jetnet import JetNet from .toptagging import TopTagging from .qgjets import QuarkGluon
18ecef143c5573b90b05e3a15e6896c8ef66d47899be3a7b6b888755e54af7e5
Python
94
3
from __future__ import division, absolute_import, print_function from .numpydoc import setup
c0bc029a3f8c5bda5ffe0d7b74b4e6bd4fa8413e034900c4f62600cf0c9daf0f
Python
94
2
from .Reward_BIC import get_Reward #from .Reward_by_HSIC_multiprocessing import getReward_HSIC
b9fad82d3ef18875d0ac46ecb28ca23b9ad83549a98c5a9035ac8eb8275f335f
Python
95
3
"""Group feature functions.""" from .features import compute_features_2d, compute_features_3d
e3367d92399a1c05689618a91c77bcafa223aa107dabf0b667b50c5f3d65eb1a
Python
95
3
def pv(variables): print([var.__name__ + ' = ' + str(var) for var in variables].join(', '))
0c670d59a7a439603274c4ae719aaf9cfdb77dedba3eccbb3694b6457bb702b6
Python
96
3
from .experiment import Experiment from .hdf5manager import hdf5manager from .gui import run_gui
1e034dc015796dfc07dd7fb0f048846f96e5bb73a9c9736bfc435de874e8e9fc
Python
96
5
import sys from dataReader import DataReader dataReader = DataReader() dataReader.readAll(sys)
7deb6575e594671926ef6e8bfe2d1516954854646605b0d078f7696171d2ab1d
Python
97
4
# roifile/__init__.py from .roifile import __doc__, __all__, __version__ from .roifile import *
61d058aa1980cc2579592072a09806b3ee51d5d2ed4e1ad50cdfcb4ba0e0ccd3
Python
98
6
from collections import defaultdict def infinite_dict(): return defaultdict(infinite_dict)
64dfb0753fb227e849853af10b7515cf2eca538a3b662ee5933449c0fd7f85eb
Python
98
2
"""AxialTAD: Axial contrast-based TAD boundary detection from Hi-C data.""" __version__ = "1.0.0"
14eb8e604dbf4612eab8ca0ac388b3686328a626cc2914a402063be9fb5482bd
Python
99
3
from .apply import apply_lorentz_transformation from .boost import boost from .rotation import rot
9a6f336611c3b1277e2610a96dd7d1cc2590ca8bfde5f566ef50d7dea06681d6
Python
99
5
import navigome_independent_tests as indep from sys import argv indep.bonferroni_cutoff(argv[1])
de1b205441a3fd73ac074d02287b62af316891809e793c5b84cf4e898abfb961
Python
99
6
#!/usr/bin/env python from onmt.bin.preprocess import main if __name__ == "__main__": main()
b2f94a39d4b02b4c442b9dde530cdb627cc1b2602de4ed4c86354f4067cb9b9e
Python
100
5
import sys from waveFileReader import DataReader dataReader = DataReader() dataReader.readAll(sys)
2b2af0931c1845cb5b90ae42705db24a5e8ebe683a61959d85a4015124db8f0a
Python
102
3
from ._actor import Actor from ._critic import EpisodicCritic, DenseCritic from ._reward import Reward
8956833c39a00d084cf924ae5442900a3e33f33dd42c5bdc6cc963d3e376958c
Python
105
3
import sys import os sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../')))
ad7caf9b30161cc034a0944e89ddaa465f7b88617321fef1a0bc45aac19b996d
Python
106
3
from .dataset import Dataset from .dataprovider import DataProvider from .inference import ForwardScanner
cb027ff20c6a8ffac7961278ef7d22b3caca411ec20dd6c2b4168f1596c8f049
Python
106
4
# tifffile/__init__.py from .tifffile import __doc__, __all__, __version__, main from .tifffile import *
abbdb01abf3b5292c46c60c8d1d8d1e4a50f01d95824b97c64ecd449bbda0f01
Python
109
6
from pyontutils.utils import setPS1 from nifstd_tools.ontree import server setPS1('ontree') app = server()
16a7117d13cdc5d6e0a761a96ac328852de63676e4f92770888af888656276c3
Python
110
4
from .decoder import Decoder from .encoder import Encoder from .graphnet import GraphNet from .const import *
5107d13c8b6cacad6a88d19743c124d1c95982e0c6ce8f9b8376b4828e84316f
Python
110
7
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), ]
333eb0d40af2b162fe0c5553edef086dbb49e4229581b0c795c1ccaea8a39385
Python
111
4
from .activations import Highlighter from .manifold import Visualizer __all__ = ["Highlighter", "Visualizer"]
8bd50efc999551f8a25d957f6dfcea23e40d467ec56ee4b3cee6dbf697a78390
Python
111
4
from clifn import Options, Dispatcher, python_identifier, main, __doc__ if __name__ == '__main__': main()
d457157dfef44efb6fc7f74852cba5e835156d42840999957a6a86251a9e3f0f
Python
111
5
from ffian import zero_flow_model from ffian import flow_model __all__ = ["zero_flow_model", "flow_model"]
ec614d65362d5a01bcc52b22f04a000f504e0bb673b5062e2dd7e3f0064bdadb
Python
111
11
import utils import main import model import PSO __all__ = [ 'utils', 'main', 'model', 'PSO' ]
3483ddca8da574a420dc6b4f2595fee16efe9a7c989b4919a75957bc4b7f320b
Python
112
4
"""Main plotting functions in package.""" from .from_bids import edges_from_bids __all__ = ['edges_from_bids']
5b7736026b9ac7b4d398f028bf07bca8462125e41a7206354e6f39a718dee5fc
Python
112
3
"""Loads NetworkUnit capability classes for NeuronUnit""" from .ProducesSpikeTrains import ProducesSpikeTrains
6f584fa63a27d03adb2fbc98775bdb670b6242624a62d1032e798ad6ed0e89f4
Python
113
3
# Copyright (c) 2021. Martin Haesemeyer. All rights reserved. # # Licensced under the MIT license. See LICENSE
362ef4667bb46dd92ecc83920c9c9d63af92b4c44c805edee4a3f5a4e2bbbb04
Python
114
3
from .utils_fast import * from .asyncd import Async, deferred from .asyncd import async_getter # backward compat
ad0519f28aa0d693702f528ea54fbd019d6365a71a4f4f57f651d65e9d26fd5f
Python
115
7
"""Classifier Base.""" __all__ = [ "BaseClassifier", ] from sktime.classification.base import BaseClassifier
756324fea156d063df0475dcd3dbc9fc66e139dc18e42cc912347309f8f2d8d1
Python
116
4
from __future__ import annotations from .coord_transform import * # noqa: F403 from .utils import * # noqa: F403
8dcfbbf1982fcfb9c972a4012c25999a3bd6cce07c2f2c65b6f7821b53392f5c
Python
116
2
# copyright: sktime developers, BSD-3-Clause License (see LICENSE file) """Base classes for time series forests."""
12f58de22acce1ba7f74fe8fb277da32434fa24ea8fdc64fc38028962438ab1b
Python
118
5
"""Base class for catalogues.""" __all__ = ["BaseCatalogue"] from sktime.catalogues.base._base import BaseCatalogue
aec3421d712cdc67ef301a8982a7966181c54234dae278c439942668cfe56e1b
Python
118
6
# from .wide_resnet import * # from .resnet import * # from .preact_resnet2 import * # from .pyramid_net import * # #
3b4d592ef8eec79381580ad167d7fc0e5114e293c240a21fb2c7807954925a1a
Python
120
5
from __future__ import division, absolute_import, print_function import numpydoc.linkcode # No tests at the moment...
a7c9bd9cfed03e34fac7523663299f627b06e30df0bd806c6d56604278138bd1
Python
120
5
#from tracing import * #from find_cells import * #from depth import * #from celldetect3d import * #from idisco import *
7ed9354a6f922366a967a78b636133b87b32c167d793efde7d501e09e0557c45
Python
121
2
from ._lddmm import lddmm_register, lddmm_transform_image, lddmm_transform_points from ._lddmm_utilities import resample
a8d3c928485f832c7dc279fbe65a76f273106edd34fece404270f17e5689123f
Python
121
6
#from tracing import * #from find_cells import * #from depth import * #from celldetect3d import * #from idisco import *