sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
b8a4d2c9ea8492ae9e85c2410a795a13b3b83f3a5033199531131d45c2c5f856 | Python | 68 | 2 |
from sleepy.processing.algorithms.massimi.massimi import Massimi
|
e90e65f708eae1a5d7e2b65ae5b22dd2bd750bd2a7f5bcc9103b2ee192f06470 | Python | 68 | 5 | from .gspherenet import G_SphereNet
__all__ = [
'G_SphereNet'
] |
b358601ed22f21e6fd3e21d489c6138245a6c84adf86063f144c9d709ac2b655 | Python | 69 | 3 | from .tensorboard import *
from .remote import *
from .data import *
|
745eae8c73429d5775e4a7a494f9800ad37649c27808e0c088ad6bce7c4ba599 | Python | 70 | 5 | from .eval import ThreeDEvaluator
__all__ = [
'ThreeDEvaluator'
] |
7c48fc650daea13bf24d87eac9fd4c04fdc3e5a514b1158c37eb1ad1b640cfe5 | Python | 70 | 2 | RESULT_PATH = "PATH/TO/STORE/RESULTS"
DATASET_PATH = "PATH/TO/DATASET" |
d8f1d8261d7be7faf1c7cc1083d143f11ee6cf1e783c86075422f3126d1454ee | Python | 70 | 2 |
from sleepy.processing.filters.bandpass.core import BandPassFilter
|
e322f41fa8bedb34aa0ef8714b7cd3fd09db1e023922703bff8c05bd7a58ad46 | Python | 70 | 1 | from .identical_murcko_scaffold_rnd import IdenticalMurckoScaffoldRND
|
eba0111d703fe6676a8378ab2e1e70040d588a4329c1e2ecb4f0b0a32a71ad28 | Python | 70 | 6 | from .G_SphereNet import G_SphereNet
__all__ = [
'G_SphereNet'
] |
eba19705a148571db461b07fc5c83fc0ee0c5408cbf6ec72ea568b3dfc33cbc3 | Python | 70 | 6 | __submodules__ = []
# <AUTOGEN_INIT>
__all__ = []
# </AUTOGEN_INIT>
|
010c84ed39dd374e3a6f5929c5a3c8938ad83bc147b3dd25f91cfa812d438cad | Python | 71 | 1 | """Reusable NiceGUI widgets for the standalone DANDI demonstration."""
|
4347d076dac384ee368853c741429885525781e6d0033aa6177d9add89f3e9a0 | Python | 71 | 3 | from .common import *
from .tensorboard import *
from .remote import *
|
73b8b9f2fbae5ebc80c40d03b8fbd4d0b73dfa8913c37dbad12bbcd3515784ff | Python | 71 | 4 | import setuptools
if __name__ == "__main__":
setuptools.setup() |
ddddb428c6befc4aa307dbd51bab8e41f8e57830c581608bfeacc65ceaa6971a | Python | 71 | 2 | from .objhandler import ObjHandler
from .objparser import WavefrontOBJ
|
9e8b55b26f53a71b2115a8f09858bd4bc2ab27e0e9f7b6726cd56cb6a051c587 | Python | 72 | 2 | """Read and write SanPy recordings and analysis state in NWB files."""
|
ff6a0757be7172443e373d3e1364c86f003ba0e19e46da3b49c4a50d40e0d799 | Python | 73 | 3 | from .lmdb_dataset_tools import AseDBDataset
__all__ = ["AseDBDataset"]
|
634c2bc4d33a9c71f1bd548b3babbee62698b58b713fc3209c7de75fbcac7a9c | Python | 74 | 4 | from collections import namedtuple
APCount = namedtuple("APCount", "n")
|
eb64d53651ac92084d32a81679abccf1c851e05c02fde457860f7892e12a9776 | Python | 74 | 1 | """NiceGUI application support for the standalone DANDI demonstration."""
|
793f3ef83f451a38e431226e02cf277a6c677aff19dbd5979110c0e20c4c3edc | Python | 75 | 3 | from geomstats._mesh import Surface
from ._varifold import VarifoldMetric
|
d871cd104b6799cc88e6e0244490306f2ee1b16365b3d6b79ceac2c6a3c56765 | Python | 75 | 2 | from .network import Network, load
from . import nodes, topology, monitors
|
358b141153e00c18b1775a728986196568f71755264dd9bb2ec5c333eb1df890 | Python | 76 | 6 | import experiment as exp
class EmptyExperiment(exp.Experiment):
pass
|
a3444b7e13aaf52a73791a1356f95d50b8b6fb611519591840309fe39dd807cc | Python | 77 | 2 | # Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
|
b4d1786df2cb47f2b785a0d423c2318127336fd20464d6e8f2a776e807956116 | Python | 77 | 3 | from .imgHandling import *
from .patFun import *
from .rawDataClass import *
|
c566282c1da1ea929ed1237fc61adee8ab079741f6277e9cbe3bcc7452c1d03f | Python | 77 | 4 |
import os
SLEEPY_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
e44b776dee88a9abc408a97b95cd884a59ffea23ed01640cd9359bac6487c1d2 | Python | 77 | 2 | from sleepy.processing.algorithms.percentile.percentile import Percentile
|
12edc86c2934f95c6c5ec11548d649c3540b331cd8479fca42f01a3f4e5b94f1 | Python | 78 | 2 | # Copyright 2020-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
|
589cc10ef94da40d2a459f5e1e22d643295925934f3d92e5e51857d71ec78a78 | Python | 78 | 2 | """Focused tests for the standalone DANDI NWB streaming proof of concept."""
|
c675eb8d294a4a8cdd586529028e6caaab601366df68abe90904c066df654442 | Python | 78 | 2 | from .reward_generator import RewardGenModel
from .classifier import GIN, GCN
|
7a2ea2f167081caf63f7164996d0934f9198598ec1598cfca2b0237f30e0562c | Python | 79 | 2 | from src.models.ecg_resnet import *
from src.models.wrapper import ModelWrapper |
dbec70593b5ebe412f945712c07474a6c61a29672e882bf0e17aaa62416ea81a | Python | 79 | 3 | __version_info__ = (0,2,3)
__version__ = ".".join(map(str, __version_info__))
|
ead578a6cc7a6f085041d828d291d32fb4f07fbc12bb8af4dfbb859889c6839e | Python | 79 | 1 | from reinvent.models.linkinvent.networks.encoder_decoder import EncoderDecoder
|
931cff6c12f37b69e7b9558614304148f4fae16f3d3daf8fe93a367863acd28a | Python | 80 | 1 | """Focused tests for standalone SanPy NWB and local-Dandiset export scripts."""
|
ae6b74a077bcde7bbdc7d558f4dba7be2781f743df3486d3a4786c6fe0000b77 | Python | 80 | 6 | number_ind_1 = dict()
number_ind_1['indiv'] = 81
number_ind_1['morfo_n'] = 1
|
b998dd4e5fb11dc3381241ab941256e86840ad63082d6630fa1d4e1ddf202792 | Python | 81 | 1 | from sleepy.processing.algorithms.RandomForest.RandomForest import RandomForest
|
e47191cfddd8c6c4d136aed26b0acee92898c6152a111a8c4d774053e8610358 | Python | 81 | 6 | number_ind_1 = dict()
number_ind_1['indiv'] = 138
number_ind_1['morfo_n'] = 1
|
f321f71db3975f7a20c488380963e52821f2b1b483c700bf69c885083d1c7b3a | Python | 82 | 2 | # Copyright (C) 2020-2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
|
ca503892814a447fda88e617d02292c633780aac960a65ad2016f7b3e864420d | Python | 84 | 6 | # flake8: noqa
__submodules__ = []
# <AUTOGEN_INIT>
__all__ = []
# </AUTOGEN_INIT>
|
0044263ed47d7880f013daadc3204512a44d0ab8188204a34936a2e4458864e2 | Python | 85 | 7 | from .geometric_computing import xyz_to_dat
__all__ = [
'xyz_to_dat'
]
|
ba508d269452a94ec0978b5720ca9b3e04dcc5ebfbbf3715bfbd4af9d77c1302 | Python | 85 | 3 | from .graphflow import *
from .graphflow_con_rl import *
from .graphflow_rl import *
|
60bf9354df7cb1126e6ea9a0630a98542ded9449cba0531bf2e2aeaaebbd09ee | Python | 86 | 1 | TEST_DATA_DIRECTORY = "/home/zhangyu2/projects/toolkits/bam-readcount/repo/test-data"
|
1e53fcb44c96261a352d6c8825ef40ca6566159dde59d7e848b2f74b77d0efa6 | Python | 88 | 7 | from . import GraphAug
from . import SMixup
__all__ = [
'GraphAug',
'SMixup'
]
|
2c855e0ca1d321030cccdc09ea070a85b85ca1c53c189d45fc949cbdfc92e11e | Python | 89 | 1 | from reinvent.models.linkinvent.model_vocabulary.model_vocabulary import ModelVocabulary
|
1f612761165d976be4f7f42163a5e6346b795731e7398d58d345fad43aab34a5 | Python | 91 | 5 | from django.apps import AppConfig
class TcgalistConfig(AppConfig):
name = 'tcgalist'
|
4f15cd73c434671885203fd241d4f10e9fbf13cd5c07e6df4e71371000a0c054 | Python | 91 | 3 | from reinvent.models.transformer.core.vocabulary import Vocabulary
__all__ = [Vocabulary]
|
dbd237d31327eee63b464c6aa71e35ee70a4557b2d8e49038eb0882ef5a326c9 | Python | 91 | 4 | """Data loading and preprocessing."""
from .loaders import *
from .preprocessing import *
|
049d9f1a9fb554e9425aae1d0fbe1d7d8fb56f7cacd2611cea1e1625db84c19e | Python | 92 | 4 | from .regex import *
from .chem import *
from .elements import *
from .deduplicate import *
|
b0b507adc37d46d5b9e6883cbb130a3c8b669882e7cc876dcfe31f16950c277c | Python | 92 | 5 | from .pyqt5 import _BackendPyQt5
try:
from .vispy import _BackendVispy
except:
pass
|
a61e787f1b117434b39e33ce1a2dc406cbdbf3a5dd063e138eb9ab2b9af50358 | Python | 93 | 5 | from django.apps import AppConfig
class labellingConfig(AppConfig):
name = 'labelling'
|
da773a3ab402c7f97344d51a3dae4f539a529fc8ad198a27d39dd40aa128791b | Python | 93 | 5 | from django.apps import AppConfig
class imagelistConfig(AppConfig):
name = 'imagelist'
|
07c77d19d5cdf40562c6da1df20c24151d03a3d97df01dd65bc3f21786e447cc | Python | 94 | 2 | __version__ = '0.2.1'
__author__ = 'Cobrawap authors and contributors <contact@cobrawap.org>'
|
43d8c6e6e04e5cd841a953f924b452e337ffa0227c345e83e58f5e51426eafd2 | Python | 94 | 3 | ISNet=''#ISNet code folder
TrainedPath=''#Where to save DNNs
source=''#MNIST dataset location
|
b4dbe79b20f85d12049a39cf4de50d740d4f2d355d39e217f68e225c4b23800d | Python | 94 | 2 | __version__ = '0.2.3'
__author__ = 'Cobrawap authors and contributors <contact@cobrawap.org>'
|
b9092062cf4769a03eb4e32c45f1f8bc4fdac6f01f76a4598fb12a75d04fe1d5 | Python | 94 | 3 | from .pc_layer import PCLayer
from .pc_trainer import PCTrainer
from .utils import NoneModule
|
e48857051899df15ae2dbfa564afe46d99a50898acba21fdaad87ac13173ec5a | Python | 94 | 6 | from .reg_trainer import RegTrainer, eval_reg
__all__ = [
"RegTrainer",
"eval_reg",
] |
011f5c80b3d3b092b92868d5858daff4a08b292027292dc01a2f56f2953cd599 | Python | 97 | 4 | from .get_bin import *
from .bin_extension import *
from .get_amr import *
__version__ = '0.1.1'
|
375583a9571334cacaf5dea61142b316a33a7042ae46e32f94b90a2cc1be1945 | Python | 97 | 4 | from .tensorboard import *
from .csv_summmary import *
from .remote import *
from .data import *
|
42582f59a7562da54d9d4793a991fcff40212c6a77e552b9aa2412cadde5357b | Python | 98 | 2 | __version__ = '0.1.0'
__author__ = 'Cobrawap authors and contributors <robin.gutzen@outlook.com>'
|
85ac2f70294f8e7f16702ce8cc96f5ab5584150d0b33a4f612dfe00da12246ba | Python | 98 | 2 | __version__ = '0.2.0'
__author__ = 'Cobrawap authors and contributors <robin.gutzen@outlook.com>'
|
b23d7e3caca94efba49731490283d53eadf32d03d95b06b62582406b5a5a216a | Python | 98 | 4 | from .assr import ASSR
from .wn import WhiteNoise
from .tone import Tone
from .sound import Sound
|
b87dc1476a943b9bbb6e0d790429171792799778ba3d873f079e36f859e1c1cc | Python | 98 | 5 | # Copyright 2020-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""CA package."""
|
be1d635066c9f393e0ddefd2096790920c7faf6f661b4771d2d526e7704f3cf0 | Python | 98 | 6 | from .ggraph3D_dataset import QM93DGEN, collate_fn
__all__ = [
"QM93DGEN",
"collate_fn"
] |
05b86d67a918b06f6c1a4041055434c0851b92802a47a30851911b42c69b0b0d | Python | 100 | 5 | import os
__version__ = '0.0.2'
debug = False
ROOT_DIR = os.path.abspath(os.path.dirname(__file__)) |
97440fe889048fb8b05fbf3908b54ac861359d53cc775ede893d8d450af07567 | Python | 100 | 2 | from .version import version as __version__
from .core import get_activation, predict, process_file
|
c1310f4e3a3a9e453fd846f5a26971cd771753cdc456b290b18bf74792099d64 | Python | 101 | 5 | import os
__version__ = '1.0.0'
debug = False
ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
|
05149ced4d8f91296f3a934dfac6f9f5e57e4ae3911aa86ad58270a84a675a13 | Python | 102 | 4 | from .cli import main
# call the CLI handler when the module is executed as `python -m crepe`
main()
|
e552c116b7d2c653f98b01f5c4fd599997f19f669a32bc6bf16396dd9f79365b | Python | 102 | 5 | import os
from .__version__ import __version__
os.environ["TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD"] = "1"
|
0074abc3e55331f30b0909d2aa35ab507038ddd9435c0b4ae296a7f4d186166d | Python | 103 | 3 | # Copyright (C) 2020-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""Tests package."""
|
599866734aa23de570d4a135c995925d69f71c04246515aea8d3ebd3485d36ab | Python | 103 | 7 | from .infonce import NCE_loss
from .jse import JSE_loss
__all__ = [
"NCE_loss",
"JSE_loss",
]
|
667eda3e13b472bdc9e632bc4a4ee845572c4d9af651f12c4e3152b68b7869a1 | Python | 103 | 7 | from .molecule3d import Molecule3D, Molecule3DProps
__all__ = [
'Molecule3D',
]
classes = __all__ |
fd703e449cea332420d6f094100f540f77d018406cb63d9bd244253bee00d452 | Python | 103 | 4 | from geomstats.test.conf import (
pytest_collection_modifyitems,
pytest_make_parametrize_id,
)
|
398bb81da3be9c7fb34593567d3469c6c8a1861c6fefbcf07dc5429e505ffd01 | Python | 105 | 6 | from .dimenetpp import DimeNetPP
from .features import dist_emb, angle_emb
__all__ = [
'DimeNetPP'
] |
621a9024621b9c610ad5cdab558c6d21e6edfbabead9055bebda66ee70ac35fb | Python | 106 | 4 | """Specifies current version of nltools to be used by setup.py and __init__.py
"""
__version__ = "0.4.7"
|
97e84df11b0cbc9f904905243abb16a57234f462dbe71d839fa182c359c61d1b | Python | 106 | 7 | from .encoders import Encoder
from .seed import setup_seed
__all__ = [
"Encoder",
"setup_seed"
]
|
99fd50bdc3a8e8ef54497f160c2f984c8162b4ebd9c35691491f1029a25f58bb | Python | 106 | 5 | # Copyright 2020-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""Optimizers package."""
|
81e8075dee45aa2208111cfff64bb3137682e8ec9ee2e41dd1eb63a7cb528205 | Python | 107 | 7 | """
FileName: __init__.py.py
Description:
Time: 2021/4/5 15:24
Project: DIG
Author: Shurui Gui
"""
|
624a6822617d70ddbaa43e047233d7cfa52c73609c8a0ed46b4007740ac1e777 | Python | 108 | 3 |
#from sleepy.io.matfiles.dataset import MatDataSet
#from sleepy.io.matfiles.loader import MatFileLoader
|
a0e13e7f4ba1aba09afdb6da4975fd85b183806c8a1b529d22475c2fbdefb2e1 | Python | 109 | 7 | from unittest import TestCase
import matplotlib.pyplot as plt
import numpy as np
def test_init():
pass
|
f5e232b426475cb1b2400bf45f552b1ca0d4b2a1d57fb16e195bd04fbadc041c | Python | 110 | 3 | # Copyright (C) 2020-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""tests.openfl package."""
|
01d0c59025a59c4f3662cc2883c34513f54eb825e2eacbe89b87de33dcbef9b2 | Python | 111 | 5 | # Copyright 2020-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""openfl.protocols module."""
|
90b08b26a196c0cb43541025b336a6b850ff16760e3087b1ab93955d26600d30 | Python | 111 | 3 | from tests.models.integration_tests.mol2mol.dataset_tests.test_paireddataset import (
TestPairedDataset,
)
|
c7ec6ee0d650437688c8a02d4e89424957f14b01bf28b8e777ae40ec23911e05 | Python | 111 | 8 | #!/usr/bin/env python
"""
ModelAngelo - Automated Cryo-EM model building toolkit
"""
__version__ = "1.0.18"
|
6d4c025aca491e29be081467c5ba7beddc70da661208786486fdb4f107a3bbba | Python | 112 | 5 | # Copyright 2020-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""openfl.interface package."""
|
8fa9e271020d8dc5d5889066507c9d94ee198adaf75284ba46b4b49eb6ce241e | Python | 112 | 5 | import logging
_logger_name = "hnn_gui"
logger = logging.getLogger(_logger_name)
logger.setLevel(logging.INFO)
|
a85616828427e9cda5eb0c7876de1424a2985f5faac019d7db81b98bf16ed4eb | Python | 112 | 5 | """Analyze outcomes of model estimates."""
from .analyzers import *
from . import addon
from . import postproc
|
ff5e6ab95d5da30d3eb7e449ac6a4cb851c308ba6c9d9b3084220ef42bee5b7b | Python | 112 | 8 | from typing import Any
import jax
Array = Any
@jax.jit
def linear_activation(x: Array) -> Array:
return x
|
794858af754d8e6bf4147bc8b850930eac38037e749ba4c94f92f5287da275f3 | Python | 114 | 3 | # Copyright (C) 2020-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""openfl-workspace package."""
|
a653ebb9e7173ce656114014681e03b73a4a328b69e2fe754b0cc9f0e96e7e1d | Python | 114 | 3 | from .unet_2d import unet_2d
from .att_unet_2d import att_unet_2d
from .discriminator_2d import discriminator_2d |
daa95e70d8f2c4c1baaac45c693b535bf96737e920699f6336afba8feda19dc6 | Python | 114 | 4 | from pynidaqmxegs import do
from pynidaqmxegs import ao
from pynidaqmxegs import ai
from pynidaqmxegs import mixed |
dfb3dfc1711f6b847f0b5528ffaec711edd32f0b8baeaf3ad9ace9e71da29195 | Python | 114 | 2 | from PymoNNto.Exploration.Network_UI.Network_UI import *
from PymoNNto.Exploration.Network_UI.Basic_Tabs import *
|
11120c429234850ac97d43936af19789f46ed63e651a7ccc7641d45ae3c66a96 | Python | 115 | 3 | # Copyright (C) 2020-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""Transport tests package."""
|
28b8c46ed38df09d7469aef16ac185b07a6c4e9e4a108181dc2618b244105048 | Python | 115 | 5 | from . import rpn_head
from . import embedding_rpn_head
from .rpn_head import *
from .embedding_rpn_head import *
|
2aad2be3e9d9944dadc8261a877a6b416545a83b3d91722176a0048c9246adef | Python | 115 | 3 | # pylint: disable=R0903
class UserProperty(property):
"""Simple wrapper around property for typing purposes"""
|
3dd3315fcb28dce05b57b6ff07289ab3315e11f9dff193f7e6e8076c57b927e9 | Python | 115 | 5 | # Copyright 2020-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""openfl.cryptography package."""
|
5aa583338754818a38859fabfb62b97c1b901a265642bdcadd684a5c6dd2eea7 | Python | 115 | 5 | # Copyright 2020-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""openfl experimental package."""
|
1afa4f09edd19883318b4acfab57c89a8bb4d811e2f2f4bf3d60fd83166ad82a | Python | 116 | 2 | from .transform import TransformPred3D, TransformGT3D, TransformRDKit3D
from .train_eval import Mol3DTrainer, eval3d |
4fbeb6c246ed478d6a702bb894cec84c9efde489f8c98c83fee57656edc51866 | Python | 116 | 6 | from .metric import RandGenEvaluator, PropOptEvaluator
__all__ = [
'RandGenEvaluator',
'PropOptEvaluator'
] |
a7a900108530a85a8a569ec7b3f8ba361e90ab0837c8e8859ff34cb397232cb1 | Python | 116 | 3 | # SPDX-FileCopyrightText: 2022-present Chatipat Lorpaiboon <chatipat@uchicago.edu>
#
# SPDX-License-Identifier: MIT
|
a8503cc220894b4678d47e08ed6fa3a5dfc65d5d4cb8c4869d92845060023946 | Python | 116 | 6 | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.result, name='result'),
] |
eaa5e7fb94659f02149e76d8a86761c6895c082ca66a37a7f082e4e116a3bbc1 | Python | 116 | 2 | # from models.actions import SampleModel, Action, TrainModel, CollectStatsFromModel, \
# CalculateNLLsFromModel
|
1464f0fbdccdbc499a3e114299b20100b3c27d5d8d83178c7796b152e7745af8 | Python | 118 | 6 | ## Wrapper for mace.cli.run_train.main ##
from mace.cli.run_train import main
if __name__ == "__main__":
main()
|
1e3e60d768840fd0b4fcc3cf00d5512c674cfd4a5da5b15872a7c803325834c4 | Python | 118 | 1 | # This file is a part of the `nequip` package. Please see LICENSE and README at the root for information on using it.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.