sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
d203d60e184a9b37eaa0aaba65101857738c712478a5625f67c483beede54523 | Python | 345 | 7 | """Analysis utils"""
from .calc_niches_marker import (calc_marker_stats, filter_marker_stats,
aggregate_top_markers)
from .calc_niches_enrich import (get_enrichr_geneset, get_niche_enrichr,
get_fast_niche_enrichr, get_niche_gsea)
from .calc_neighbor_prop ... |
ed849f38cce70306db4ada5350ed5ff6f6bf01b9f94c37f249cd3159b800c752 | Python | 345 | 15 | from .._base import BaseExampleModel, BIFMixin
class Theft2(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/theft2",
"n_nodes": 5,
"n_edges": 4,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
data_... |
15d42e6b5e2a50d61a29353268cd08bee176fed2a5bd51a646e4992291b40106 | Python | 346 | 15 | from .._base import BaseExampleModel, BIFMixin
class Coral3(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/coral3",
"n_nodes": 8,
"n_edges": 12,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
data... |
3be24c80be3ff83fca8ee44cbeca5235b1a7f6ff9e09e4aba6dd66ae42186642 | Python | 346 | 15 | from .._base import BaseExampleModel, BIFMixin
class Coral5(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/coral5",
"n_nodes": 8,
"n_edges": 12,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
data... |
562be031e2f4e90ae3d68a72e71d69ecaa57ff3b82b33a633fac5e8fc96d96e2 | Python | 346 | 15 | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import re
SPACE_NORMALIZER = re.compile(r"\s+")
def tokenize_line(line):
line = SPACE_NORMALIZER.sub(" ", line)
line = line.strip(... |
80c5133a308b6bcdc1f71147c56ba1a4e41b0a6388530bfcfb1a021f1cf89010 | Python | 346 | 15 | from .._base import BaseExampleModel, BIFMixin
class Coral4(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/coral4",
"n_nodes": 8,
"n_edges": 12,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
data... |
8d4f6ff2a9ec9502af03ab502953ab455c9d1cd55b5ea28b3ade1f8329a12d50 | Python | 346 | 15 | from .._base import BaseExampleModel, BIFMixin
class Coral1(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/coral1",
"n_nodes": 8,
"n_edges": 12,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
data... |
998d0e3daf1e2dd45495b7b51cf88e137ae7b313ad6f081da5782cc6388e24b6 | Python | 346 | 15 | from .._base import BaseExampleModel, BIFMixin
class Coral2(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/coral2",
"n_nodes": 8,
"n_edges": 12,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
data... |
079c94bebc26ae3a63f75183a11defbe9e155b073bf1a6cdbdd5e9bca02c16e1 | Python | 347 | 15 | from .._base import BaseExampleModel, BIFMixin
class Covid1(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/covid1",
"n_nodes": 12,
"n_edges": 11,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
115ec5ee8b0c6fb1a5bcb490f961cd0151729eaa6eee138473c683c4fdb5d4bf | Python | 347 | 15 | from .._base import BaseExampleModel, BIFMixin
class Covid2(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/covid2",
"n_nodes": 12,
"n_edges": 21,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
6324d419a3a1a1b2d9bca40a922a54c58a6fd3b347d763398aa406961ce74120 | Python | 347 | 15 | from .._base import BaseExampleModel, BIFMixin
class Oxygen(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/oxygen",
"n_nodes": 31,
"n_edges": 32,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
8fbf93e2086e5e6379dd15043a2bc868da3de154f80313f140fb912f2eaacc3e | Python | 347 | 15 | from .._base import BaseExampleModel, BIFMixin
class Covid3(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/covid3",
"n_nodes": 12,
"n_edges": 30,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
e8c59ea9140b7803b6f3ac89fbbbd008c166f3e72b118f9e4f34e17f6a9a1705 | Python | 347 | 15 | from .._base import BaseExampleModel, BIFMixin
class Income(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/income",
"n_nodes": 13,
"n_edges": 20,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
187d278da21726334f784d2482bbccd263f2394adccd8062dc8f0a6b22d825a6 | Python | 348 | 15 | from .._base import BaseExampleModel, BIFMixin
class Burglar(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/burglar",
"n_nodes": 3,
"n_edges": 2,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
2a7920ad5e1bbaa574d073fc3e16247e11f242d4002edd5f52e5468cf0088093 | Python | 348 | 6 | from .convert import ZScoreTorch, EmbeddingTorch, get_torch_converter
from .dataset import NovaeDataset
from .datamodule import NovaeDatamodule
from ._embeddings._histo import compute_histo_embeddings, compute_histo_pca
from ._load import _load_wandb_artifact, load_dataset, toy_dataset, load_local_dataset
from .preproc... |
35600d9da51f11a3599875983faa16724696abae1a90b75be545b95995388169 | Python | 348 | 15 | from .._base import BaseExampleModel, BIFMixin
class Beatles(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/beatles",
"n_nodes": 5,
"n_edges": 4,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
41c1f138ed1a314ce39cb4830d95b21e2fe55cb4c1c3a7dc47eb68aa3f041c3b | Python | 348 | 15 | from .._base import BaseExampleModel, BIFMixin
class Fluids1(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/fluids1",
"n_nodes": 4,
"n_edges": 4,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
5dde3cd954047598e280aaae663121d154adfca19962d3e04ea8c7dc82fa5e66 | Python | 348 | 15 | from .._base import BaseExampleModel, BIFMixin
class Fluids2(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/fluids2",
"n_nodes": 5,
"n_edges": 4,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
7ee29d2def2f829267f4656f1cdeee102b9d239ef21c9a35b892265fc11ba4fe | Python | 348 | 15 | from .._base import BaseExampleModel, BIFMixin
class Vaccine(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/vaccine",
"n_nodes": 3,
"n_edges": 3,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
9798b2aabbd9e2849367381d4f3d4cb9f87c4eca832c0a8fa8be4c73e19368cd | Python | 348 | 15 | from .._base import BaseExampleModel, BIFMixin
class Forest(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/forest",
"n_nodes": 80,
"n_edges": 121,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
da... |
a8f93ef9d8c2c53de214ffca56ebc7d8e2e371ca3aeeda08e492042e5ee3c4e1 | Python | 348 | 15 | from .._base import BaseExampleModel, BIFMixin
class Witness(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/witness",
"n_nodes": 6,
"n_edges": 5,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
c3a8e549d832604e101e1e9b445a5f1a70f88345fcf8f5deeddfd1043f61cf5c | Python | 348 | 15 | from .._base import BaseExampleModel, BIFMixin
class Titanic(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/titanic",
"n_nodes": 4,
"n_edges": 5,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
dat... |
49d28554cd715d2318e7181fc79beea3a4ba17c793c257f95936841ba0c92efc | Python | 349 | 15 | from .._base import BaseExampleModel, BIFMixin
class Dioxins(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/dioxins",
"n_nodes": 9,
"n_edges": 15,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
da... |
5e44895424ce446b1baee9f46bfa110231a5e7fcf1cb11fbbbd472391e7f5985 | Python | 349 | 15 | import os, sys
import nibabel as nib
import numpy as np
file_in = sys.argv[1] # T1 or DWI
file_out = sys.argv[2] # out
mask_in = sys.argv[3] # brain_mask
img = nib.load(file_in)
img_data = img.get_fdata()
mask = nib.load(mask_in).get_fdata() < 0.5
img_data[mask] = 0
nib.save(nib.Nifti1Image(img_data.astype(np.in... |
80d9a0c9a9f1c2d5b4f70cb22ce2940e941541b74e438770d62fc0402568f430 | Python | 349 | 9 | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from .s2s_conformer import * # noqa
from .s2s_conformer_translatotron2 import * # noqa
from .s2s_conformer_unity import * # noqa
from .s2s_... |
a15c06eb6db1b257737007683e369473da40eedab16ad53f3f832704a3b9d527 | Python | 349 | 15 | from .._base import BaseExampleModel, BIFMixin
class Fluids3(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/fluids3",
"n_nodes": 9,
"n_edges": 11,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
da... |
d0b90b227ff4d1a9640e0220307484d4b7bab7e6ebc7483d5449d120ab95d68a | Python | 349 | 10 | from batchgenerators.dataloading.nondet_multi_threaded_augmenter import NonDetMultiThreadedAugmenter
class LimitedLenWrapper(NonDetMultiThreadedAugmenter):
def __init__(self, my_imaginary_length, *args, **kwargs):
super().__init__(*args, **kwargs)
self.len = my_imaginary_length
def __len__(se... |
197aaaf210a28594f74d6309283597ea3fb8c1b30621e3e7b39a80488d8fc341 | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Redmeat(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/redmeat",
"n_nodes": 11,
"n_edges": 11,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
3643f0d08ed61553e120830038a1ab216c22245d9042b833bce07c57ac2e6146 | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Vessel1(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/vessel1",
"n_nodes": 16,
"n_edges": 17,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
3b60c842f29cffa6336b3d27a432d67a4b22be365b0ad2522d6afba0d2bad61a | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Poultry(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/poultry",
"n_nodes": 47,
"n_edges": 41,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
3cd611348f2b1b06cde3a10be06143c877500a4f45f54e24160adf51a0671d8b | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Engines(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/engines",
"n_nodes": 12,
"n_edges": 18,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
4c5a6e6d51214684b642cfc51c5f407e103d903a38852f52fc49b59f6880755b | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Corical(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/corical",
"n_nodes": 20,
"n_edges": 26,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
68c30720ee9caaebd4af4caa7a636ef6ebaa7720b340bf7ef0ba656e3a0f1e36 | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class PermaBN(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/permaBN",
"n_nodes": 14,
"n_edges": 27,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
6b2b2b7d8435bac0084d0ea885c2853a7a340eb87519dbdff36703344a3c71b4 | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Lithium(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/lithium",
"n_nodes": 45,
"n_edges": 44,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
7bb1519b90256795cc3e8b4b5ab22870177a2bba6c404d946b4954c8a6289238 | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Orbital(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/orbital",
"n_nodes": 60,
"n_edges": 59,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
86cb4f43938ebadfcb28b63e34b5bb9133af8278c76ab358f20d90fb3d65767a | Python | 350 | 13 | from .metrics import eval_metrics, plot_eval_metrics
from .trainer import GarfieldTrainer
from .utils import EarlyStopping, print_progress
from .lightning_module import GarfieldLightningModule
__all__ = [
"eval_metrics",
"plot_eval_metrics",
"GarfieldTrainer",
"EarlyStopping",
"print_progress",
... |
a765c80889f818fc4bfaf86d1fdb33ebcd0a2b1532ef5903329ec6cd74087c6a | Python | 350 | 17 | try:
from termcolor import cprint
except ImportError:
cprint = None
try:
from pycrayon import CrayonClient
except ImportError:
CrayonClient = None
def log_print(text, color=None, on_color=None, attrs=None):
if cprint is not None:
cprint(text, color=color, on_color=on_color, attrs=attrs)
... |
b23ef688822d218df9e9634d01b55357abe5b007d900c9ffa0374f24d6e167c8 | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Yangtze(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/yangtze",
"n_nodes": 31,
"n_edges": 54,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
b6d603c86b6a68223541cc1c4326e52d84ee46784d9d8b79c5111bb5ec6427b6 | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Vessel2(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/vessel2",
"n_nodes": 13,
"n_edges": 18,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
c031767199ce035dbf6eb71aeaea971890c1b3090ca1263c6eaaecf1ee609009 | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Estuary(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/estuary",
"n_nodes": 30,
"n_edges": 44,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
caa366b0072019f90027930b1faf600fc67345096aa6c5775952b714a01b8cfd | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Project(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/project",
"n_nodes": 21,
"n_edges": 21,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
d1b5c7cc4cc741cb302ac282d5a3abea2770e1088dabcfb3670442738dd8aaca | Python | 350 | 15 | from .._base import BaseExampleModel, BIFMixin
class Seismic(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/seismic",
"n_nodes": 10,
"n_edges": 12,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
022e59072785cac3206683c1a017e740d43b662a3b21dbf3fb9f1755f5e8e2c3 | Python | 351 | 15 | from .._base import BaseExampleModel, BIFMixin
class Urinary(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/urinary",
"n_nodes": 36,
"n_edges": 109,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
26fed3b39b96ef87d23ed922a0f088ded690b0b66c8eebc1765e5bbaeabd8348 | Python | 351 | 15 | from .._base import BaseExampleModel, BIFMixin
class Aircrash(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/aircrash",
"n_nodes": 9,
"n_edges": 8,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
5520d1c5a474b661d89eab4b9ff7ef54e751372fa5ce6384f8638cc4ae137b1e | Python | 351 | 15 | from .._base import BaseExampleModel, BIFMixin
class Diabetes(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/diabetes",
"n_nodes": 9,
"n_edges": 8,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
d... |
8399c82d1193ee5c7d1f2188a8fb4b8d567fc32c3b941095026a38973eb6f014 | Python | 351 | 17 | from .._base import BaseExampleModel, DAGMixin
class Schipf2010(DAGMixin, BaseExampleModel):
"""
References
----------
- :footcite:t:`schipf_2010`
"""
_tags = {
"name": "dagitty/schipf_2010",
"n_nodes": 7,
"n_edges": 14,
"is_parameterized": False,
}
dat... |
370abe50ecba6295fa0ee27896d47cd1a9498e54c1fda921316b38d9f4f168a4 | Python | 352 | 15 | from .._base import BaseExampleModel, BIFMixin
class Soillead(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/soillead",
"n_nodes": 9,
"n_edges": 22,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
617ad98e58f2a4a30883ded3855daa66d44d11bb7dbcbdc805b9bace273e515d | Python | 352 | 17 | from .._base import BaseExampleModel, DAGMixin
class Shrier2008(DAGMixin, BaseExampleModel):
"""
References
----------
- :footcite:t:`shrier_2008`
"""
_tags = {
"name": "dagitty/shrier_2008",
"n_nodes": 13,
"n_edges": 19,
"is_parameterized": False,
}
da... |
9d4c596af2c64e495c11790750ecc8ee5025c8c4e9d80b59decc1afb477b8e3a | Python | 352 | 17 | from .._base import BaseExampleModel, DAGMixin
class Polzer2012(DAGMixin, BaseExampleModel):
"""
References
----------
- :footcite:t:`polzer_2012`
"""
_tags = {
"name": "dagitty/polzer_2012",
"n_nodes": 14,
"n_edges": 69,
"is_parameterized": False,
}
da... |
c53d840c47446d2d702d1f0ddb9588de73511786e9c7648f83a03694e865d64e | Python | 352 | 12 | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
from pathlib import Path
import torch
from torch_geometric.data import Batch
def get_mp_20_debug_batch() -> Batch:
# loads a batch containing the first 64 crystals of the mp_20 training set.
return torch.load(Path(__file__).resolve().p... |
0a08127ac402457928c5d53443a59ad0dd62cfb45df407c2888462c5e822efd4 | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Oildepot(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/oildepot",
"n_nodes": 41,
"n_edges": 40,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
11ab9ef4094042a4ba633b51a7d23f8b9f021582161803a94861b1b23611fe7c | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Curacao4(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/curacao4",
"n_nodes": 13,
"n_edges": 12,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
12260a6a16133f0867b585657089088d17bb1b6a308e7789a143c1940182f885 | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Student2(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/student2",
"n_nodes": 26,
"n_edges": 23,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
14ed5468ddc8b1e0edb6b13b6e0dfd77f40614be694823ef2e94e99ac55415ad | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Curacao3(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/curacao3",
"n_nodes": 19,
"n_edges": 18,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
294942871cfa736bbd9d14da6c9efb41106b6c4e8cc3b2fb1657f25e437d85a9 | Python | 353 | 17 | from .._base import BaseExampleModel, DAGMixin
class Acid1996(DAGMixin, BaseExampleModel):
"""
References
----------
- :footcite:t:`acid_decampos_1996`
"""
_tags = {
"name": "dagitty/acid_1996",
"n_nodes": 18,
"n_edges": 22,
"is_parameterized": False,
}
... |
30e0e7df0c1d4739085a73012134836ba6d7712adfe2a6ba0165a7a3fdaf6a23 | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Curacao2(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/curacao2",
"n_nodes": 13,
"n_edges": 12,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
40a8516396d08e5afd0aade23619b107c5f5620ff40b23602fdd68c16bfeda4a | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Gasifier(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/gasifier",
"n_nodes": 40,
"n_edges": 39,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
41dba694a0fed14ec4269a645a2d4d9287a7767d4b0c9e71089690b89cf326d0 | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Blacksea(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/blacksea",
"n_nodes": 48,
"n_edges": 87,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
61b268c39e3aa068d683641b783f2b6eec13c42097bc5facd74956f125364708 | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Firerisk(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/firerisk",
"n_nodes": 23,
"n_edges": 26,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
7b2517bacf630f9e377e1c8b32723f5507b7015d1bad18804af935ba80c3970c | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Curacao5(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/curacao5",
"n_nodes": 13,
"n_edges": 12,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
89b5ea7f1186d186bae241f0f40d40ebd44b8ad28657ad7fe5e3e33f818d8747 | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Curacao1(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/curacao1",
"n_nodes": 13,
"n_edges": 12,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
9db2dc537b7840501ce9b391b54e44fb9bd9511f7719d10e5f60d5c857084419 | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Argument(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/argument",
"n_nodes": 10,
"n_edges": 11,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
aa8d20d56ff50e90446cb2d85b536c1f0dd605b48251ef495b7e4d85cec621e1 | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Student1(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/student1",
"n_nodes": 26,
"n_edges": 27,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
aecc22dd94e2a9c4e8fc035ff0ba272ba91c9a83ae1439ee84730f1d5854d72d | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Drainage(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/drainage",
"n_nodes": 11,
"n_edges": 10,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
d2984fffbd41d0e34308ebc7e604df1f91cedfb68ac1aeb39af4b674b7971fd3 | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Dragline(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/dragline",
"n_nodes": 51,
"n_edges": 50,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
de037effe9201d5db9d677dfaf5dd50c9c68975d6ad46648cd95503525433660 | Python | 353 | 15 | from .._base import BaseExampleModel, BIFMixin
class Shipping(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/shipping",
"n_nodes": 36,
"n_edges": 35,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
094c55f1ac873b382b7c58d42f899ef2bcf13b4bfb66ec05314ed5e472e88b28 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Concrete2(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/concrete2",
"n_nodes": 4,
"n_edges": 4,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
264211e08094e2204cb35641c3f8da5f8ef570f5e43eb550432d4bcdff0db964 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Rainwater(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/rainwater",
"n_nodes": 6,
"n_edges": 6,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
2f45583d231dfb914b8209cdfeaaf8b0ede0162da82546063c0d5b9f9a5ee6f8 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Criminal4(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/criminal4",
"n_nodes": 8,
"n_edges": 9,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
47c193657b87f0eec30612c3e06ae45b2aae56c7aa4069f9d49fcf1012535e72 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Moodstate(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/moodstate",
"n_nodes": 7,
"n_edges": 6,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
612ad62d1b45258715f61f43f7ae8efbefe5e2beae59cc998f76872b4c5c6acc | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Rockburst(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/rockburst",
"n_nodes": 6,
"n_edges": 9,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
6b38ec8660e34901456e0a2671e7fd545761cd8b3a968b3a8b4b6a2934a0998a | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Concrete1(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/concrete1",
"n_nodes": 4,
"n_edges": 4,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
6c53ec8b7423dce6be86f287ab54149a0dc194210173d3ae89a21d30132e97e5 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Criminal3(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/criminal3",
"n_nodes": 8,
"n_edges": 9,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
6fade8e8debf6941be7d1c1bfd9b69a51106de9f2628275d0f003c4f0ac07d2c | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Concrete7(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/concrete7",
"n_nodes": 5,
"n_edges": 4,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
7dbb18b4141cef6a5da24a9f0938d9a3226c9740f445ef2098e403c48f906ba3 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Firealarm(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/firealarm",
"n_nodes": 6,
"n_edges": 5,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
81327b945cbf0a63ed5a7dc857a8b5ccbcdc8911dc52ccfc281f50b4645aee31 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Transport(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/transport",
"n_nodes": 6,
"n_edges": 6,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
8a2b7b0cd0f7f2efbc43adcf37548cbf6ebdeb5662ca0aff25b75d468dcf1e9f | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Concrete6(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/concrete6",
"n_nodes": 3,
"n_edges": 2,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
8ace9faff1ebf23c13f368fe57833770238c1883a7c26eb74014f95701ffe75f | Python | 354 | 12 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""analyzes images of microscope slides"""
try:
import numpy as _
from scipy import ndimage as _ # noqa F811
import matplotlib as _ # noqa F811
import skimage as _ # noqa F401 F811
except ImportError:
raise ImportError("numpy, scipy, matplotlib, and... |
a12aa2c4e3dcf1f9cdc4c49f115c17f185626d303a2d74172c2090efa2f93241 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Covidfear(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/covidfear",
"n_nodes": 9,
"n_edges": 6,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
a2b79a34dd0d6d89a3d89b2a4068d699f9fb05f329f0bbf176ce188cd7671901 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Conasense(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/conasense",
"n_nodes": 4,
"n_edges": 6,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
aa022ee8d151a4c2d37699829b54fb6ac572a3fc144448536f60552fabeea5d0 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Concrete5(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/concrete5",
"n_nodes": 3,
"n_edges": 2,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
c719530ef7224167ea1ee4736c92a45073a5bfc3be1a28b09a3dd6cfc59359de | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Concrete4(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/concrete4",
"n_nodes": 4,
"n_edges": 3,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
fab7a4573eb3a50d1e95b395cf3ff5f650194c8a1686c12774421b075bc02de3 | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Concrete3(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/concrete3",
"n_nodes": 3,
"n_edges": 2,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
ff8e59300cd0c038c7843c68fd68015582e19b2f7e9d306e168b3603d818748a | Python | 354 | 15 | from .._base import BaseExampleModel, BIFMixin
class Knowledge(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/knowledge",
"n_nodes": 6,
"n_edges": 5,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
18564b5120adc65869ebc511f3a1c678aa8df24c8f7df384d2523d6942ea2210 | Python | 355 | 17 | from .._base import BaseExampleModel, DAGMixin
class Didelez2010(DAGMixin, BaseExampleModel):
"""
References
----------
- :footcite:t:`didelez_2010`
"""
_tags = {
"name": "dagitty/didelez_2010",
"n_nodes": 7,
"n_edges": 11,
"is_parameterized": False,
}
... |
2ef41d4adc120883a504fa83552721769a4135d0a1ead544ce20835fe81e0ea8 | Python | 355 | 17 | from .._base import BaseExampleModel, DAGMixin
class Kampen2014(DAGMixin, BaseExampleModel):
"""
References
----------
- :footcite:t:`vankampen_2014`
"""
_tags = {
"name": "dagitty/kampen_2014",
"n_nodes": 12,
"n_edges": 24,
"is_parameterized": False,
}
... |
2f011a1d67da7f333781297fd6bf888fab5deaed5dccf927f81702275e02ad9d | Python | 355 | 15 | from .._base import BaseExampleModel, BIFMixin
class APSsystem(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/APSsystem",
"n_nodes": 10,
"n_edges": 9,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
dfc20d91c898887bb9e5d01130c1d6f2afb9af092b23aa013f7a66f657f4dd45 | Python | 355 | 15 | from .._base import BaseExampleModel, BIFMixin
class Covidrisk(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/covidrisk",
"n_nodes": 9,
"n_edges": 13,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
263359c55656b5bdf269e6b2d8fadf760ff4011c615fda88153c96677cefa0a4 | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Corrosion(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/corrosion",
"n_nodes": 22,
"n_edges": 24,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
2a457898affd5038951c8bc5019a4ed83aeac1b2e6ee171e375c47d169b5790e | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Rainstorm(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/rainstorm",
"n_nodes": 34,
"n_edges": 33,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
31bff8ce99cd63b25aaf544262a58bbbca6043b448988b016845b68c32e7fc8b | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Accidents(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/accidents",
"n_nodes": 17,
"n_edges": 16,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
380db651c5ce2a6d379d182ddd359c2f856b3c061d3ba74ded8e3c8c895b2ff4 | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Criminal2(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/criminal2",
"n_nodes": 12,
"n_edges": 14,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
42dee34afb81f66a58116b4e907d2e2b7fa63ca6e5caac42f437c251d938c601 | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Criminal1(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/criminal1",
"n_nodes": 12,
"n_edges": 14,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
462c9b3fc2512a145fa0ddb4c990d0a900d02dee4bb6bae04c24b64f0f151198 | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Catchment(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/catchment",
"n_nodes": 19,
"n_edges": 26,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
4d96f94e691e9f661afc727451927fd5e02268f18ac56dcece81f5e4e1fa5454 | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Covidtech(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/covidtech",
"n_nodes": 18,
"n_edges": 18,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
57023ce84e85bff89f440b065ebb6137993d2319adabd2372a0272ebcd442756 | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Disputed2(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/disputed2",
"n_nodes": 17,
"n_edges": 19,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
6299a4cb86ce9b16a0461db57087b57e977b71aac10246d74ab7f0c362a76aaf | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Waterlead(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/waterlead",
"n_nodes": 17,
"n_edges": 31,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
6cbe2c87c9e4ca727582ed27af8ac4df016fbb3ac120472d3ed68afce80d9983 | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Disputed3(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/disputed3",
"n_nodes": 27,
"n_edges": 34,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
7f6ca42419a2d1c703ec1c4f0e6303ab106dde2e45ed7f6e9cbc9aa10028da5f | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Emergency(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/emergency",
"n_nodes": 17,
"n_edges": 16,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
909f8a17f69af1bb5f3fd2b79d48835d99192da4d67a6ebc1335268b826a8e2b | Python | 356 | 15 | from .._base import BaseExampleModel, BIFMixin
class Liquidity(BIFMixin, BaseExampleModel):
_tags = {
"name": "bnrep/liquidity",
"n_nodes": 10,
"n_edges": 13,
"is_parameterized": True,
"is_discrete": True,
"is_continuous": False,
"is_hybrid": False,
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.