repo_name stringlengths 6 130 | hexsha list | file_path list | code list | apis list |
|---|---|---|---|---|
mmilutinovic1313/zipline-with-algorithms | [
"fb005461670e60e1182a7bd746abf98b54929f69"
] | [
"zipline/test_algorithms.py"
] | [
"#\n# Copyright 2014 Quantopian, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or... | [
[
"numpy.round",
"numpy.random.randint",
"numpy.log",
"numpy.floor"
]
] |
dfm/maelstrom | [
"0085218a22400ae54d8295060489dc3a23f1282a"
] | [
"sb2.py"
] | [
"\n# coding: utf-8\n\n# In[1]\nimport numpy as np\nimport pandas as pd\nimport tensorflow as tf\nimport corner\nimport matplotlib.pyplot as plt\n\nimport hemcee\nfrom hemcee.sampler import TFModel\nfrom maelstrom.kepler import kepler\n\n# In[2]\nkicid=5709664 # PB1/SB1\nrv = False\nHemcee = True\ntd=True\n\ntimes, ... | [
[
"tensorflow.exp",
"matplotlib.pyplot.errorbar",
"numpy.median",
"tensorflow.matmul",
"numpy.exp",
"numpy.mean",
"tensorflow.sqrt",
"tensorflow.zeros_like",
"tensorflow.global_variables_initializer",
"tensorflow.InteractiveSession",
"numpy.log",
"tensorflow.Variable"... |
nakamori1024/WRR | [
"d6595cb5559c76db58dce8c0ae26d2a6c38fe480"
] | [
"1DBedEvolutionModel/SWE-Bed-Exner.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\nCreated on Tue Sep 24 16:13:50 2019\n\n@author: river801\n\"\"\"\n\nfrom numba import njit, jit, f8\nimport matplotlib.pyplot as plt\nimport matplotlib.cm as cm\nimport numpy as np\nimport time\nimport yaml\n\n@jit\ndef momentum2(h,eta,u,wu,q,g,rdx,dt,snm,nx):\n \n for i in n... | [
[
"matplotlib.pyplot.xlim",
"numpy.zeros",
"matplotlib.pyplot.xlabel",
"matplotlib.pyplot.ylim",
"matplotlib.pyplot.plot",
"matplotlib.pyplot.legend",
"matplotlib.pyplot.close",
"numpy.arange",
"matplotlib.pyplot.ylabel"
]
] |
zhyever/SimIPU | [
"5b346e392c161a5e9fdde09b1692656bc7cd3faf"
] | [
"project_cl/tools/visualization.py"
] | [
"\n\nimport random\nfrom .calib_utils import Calibration, get_lidar_in_image_fov, draw_lidar, show_lidar_on_image\nimport torch\nimport cv2\nfrom PIL import Image\nimport time\n\nclass Frustum_Region(object):\n def __init__(self, wr_max=0.7, wr_min=0.4, hr_max=1.0, hr_min=0.4, th=0.7, p=0.5):\n super(Frus... | [
[
"torch.tensor"
]
] |
louisvathan/NSE-Stocks-Strategies-Tester | [
"53d6bfd05cb46ebbdb19f88ed42a8aad4cafdfd8"
] | [
"DEMA.py"
] | [
"import pandas as pd\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\nplt.style.use('seaborn')\r\n\r\nfrom Status import *\r\nfrom BackTest import BackTest\r\n\r\n\r\ndef plot_dema(stock, plt_df, plot_full_location, cur_descp):\r\n plt_df = plt_df.set_index(pd.DatetimeIndex(plt_df['Date'].values))\r\n... | [
[
"pandas.DatetimeIndex",
"matplotlib.pyplot.xlabel",
"matplotlib.pyplot.savefig",
"matplotlib.pyplot.plot",
"matplotlib.pyplot.legend",
"matplotlib.pyplot.close",
"pandas.DataFrame",
"matplotlib.pyplot.figure",
"matplotlib.pyplot.style.use",
"matplotlib.pyplot.ylabel",
"... |
jzjosuerivera71/pysindy-1 | [
"6ed02140c3e255c8bb69b19a7d9452930bd3253d"
] | [
"test/test_pysindy.py"
] | [
"\"\"\"\nUnit tests for SINDy class.\n\nNote: all tests should be encapsulated in functions whose\nnames start with \"test_\"\n\nTo run all tests for this package, navigate to the top-level\ndirectory and execute the following command:\npytest\n\nTo run tests for just one file, run\npytest file_to_test.py\n\n\"\"\"... | [
[
"numpy.array",
"numpy.count_nonzero",
"sklearn.utils.validation.check_is_fitted",
"sklearn.linear_model.Lasso",
"sklearn.linear_model.ElasticNet"
]
] |
TormodLandet/Ocellaris | [
"6b4b2515fb881b1ed8d8fd8d8c23a8e1990ada58"
] | [
"scripts/plot_dam_break.py"
] | [
"# Copyright (C) 2017-2019 Tormod Landet\n# SPDX-License-Identifier: Apache-2.0\n\n# encoding: utf-8\nfrom __future__ import division, print_function\nimport os\nimport numpy\nfrom matplotlib import pyplot\nfrom matplotlib.ticker import MultipleLocator\n\n\ndef read_iso_surface_file(file_name):\n with open(file_... | [
[
"numpy.max",
"matplotlib.pyplot.show",
"matplotlib.ticker.MultipleLocator",
"matplotlib.pyplot.figure"
]
] |
guojiahuiEmily/PaddleGAN | [
"9fa708ffad23a96b0d0faeac0742909136618438"
] | [
"ppgan/apps/first_order_predictor.py"
] | [
"# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve.\n#\n#Licensed under the Apache License, Version 2.0 (the \"License\");\n#you may not use this file except in compliance with the License.\n#You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n#Unless require... | [
[
"numpy.array",
"numpy.zeros",
"numpy.abs",
"numpy.sqrt",
"scipy.spatial.ConvexHull"
]
] |
Adamantcat/IMS-Toucan | [
"1ae02026a2a3233aaacc9d3a63d391918a2581e8"
] | [
"TrainingInterfaces/Text_to_Spectrogram/FastSpeech2/PitchCalculator_Dio.py"
] | [
"# Copyright 2020 Nagoya University (Tomoki Hayashi)\n# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)\n# Adapted by Florian Lux 2021\n\nimport numpy as np\nimport pyworld\nimport torch\nimport torch.nn.functional as F\nfrom scipy.interpolate import interp1d\n\nfrom Utility.utils import pad_list\n\n\ncla... | [
[
"scipy.interpolate.interp1d",
"torch.stack",
"numpy.log",
"numpy.where",
"numpy.arange",
"torch.tensor"
]
] |
brentyi/hfdsajk | [
"2888aa5d969824ac1e1a528264674ece3f4703f9"
] | [
"tests/scripts/test_buddy_cli.py"
] | [
"import os\nimport subprocess\nfrom typing import List, Tuple, Union\n\nimport torch\n\nimport fannypack\n\n\ndef _run_command(command: Union[str, List[str]]) -> Tuple[str, str, int]:\n \"\"\"Helper for running a command & returning results.\"\"\"\n proc = subprocess.Popen(\n command,\n stdout=s... | [
[
"torch.nn.Linear"
]
] |
pratyuksh/xtDgWave | [
"4b3bf60fe5f974a9d166f3553c64c8ee4f1721d9",
"4b3bf60fe5f974a9d166f3553c64c8ee4f1721d9"
] | [
"src/functions.py",
"output/waveO1/utilities.py"
] | [
"#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n\nimport numpy as np\nimport src.legendre as legendre\n\n\n# uniform time series: h_t = T/ne_t\ndef get_uniform_time_series(T, ne_t):\n tMesh = np.zeros(ne_t + 1)\n for k in range(0, ne_t + 1):\n tMesh[k] = k * T / ne_t\n\n return tMesh\n\n\n# Affine... | [
[
"numpy.zeros"
],
[
"numpy.zeros",
"matplotlib.pyplot.xlabel",
"matplotlib.pyplot.subplots",
"matplotlib.rc",
"matplotlib.pyplot.gcf",
"matplotlib.pyplot.ylabel",
"matplotlib.pyplot.show"
]
] |
orange-eng/internship | [
"c8c566df453d3a4bdf692338f74916ae15792fa1"
] | [
"Tencent/Human Pose Estimation/models/loss_model_parallel.py"
] | [
"import time\nimport torch\nfrom torch import nn\nimport torch.nn.functional as F\n\n\nclass MultiTaskLossParallel(nn.Module):\n def __init__(self, opt, config, heatmap_weight=1, offset_weight=1, **kwargs):\n super(MultiTaskLossParallel, self).__init__()\n self.nstack = opt.nstack\n self.bat... | [
[
"torch.abs",
"torch.nn.functional.interpolate",
"torch.ge",
"torch.nn.functional.adaptive_avg_pool2d"
]
] |
shivamswarnkar/Image-Generator | [
"55b6d066c84c615403e48c27e77ee017cf260955"
] | [
"utils/data.py"
] | [
"import torch\nimport torchvision.transforms as transforms\nimport torchvision.datasets as dset\n\n\ndef create_data_loader(args):\n\tdataset = dset.ImageFolder(root=args.dataroot,\n\t\ttransform=transforms.Compose(\n\t\t\t[\n\t\t\ttransforms.Resize(args.image_size),\n\t\t\ttransforms.CenterCrop(args.image_size),\n... | [
[
"torch.utils.data.DataLoader"
]
] |
iagorosa/Pattern_Recognition | [
"29998e67e8313504651ccb58f99a36606e855fe1"
] | [
"em desuso/leitura.py"
] | [
"#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n\"\"\"\nCreated on Thu Dec 05 12:15:33 2019\n\n@author: iagorosa\n\"\"\" \n\nimport scipy.io as scio\nfrom PIL import Image as pil\nimport numpy as np\nimport pandas as pd\n\n#mat = scio.loadmat('Yale_32x32.mat') #leitura de arquivo .mat no python.\n ... | [
[
"numpy.concatenate",
"scipy.io.loadmat",
"numpy.savetxt"
]
] |
dileeshvar/deeplearning4j | [
"973ebc9fd3522c3d725b81f0caaebeadb46481ad"
] | [
"deeplearning4j-modelimport/src/test/java/org/deeplearning4j/nn/modelimport/keras/weights/scripts/embedding_conv1d_extended.py"
] | [
"import keras\nfrom keras.models import Sequential, save_model\nfrom keras.layers import Embedding, Convolution1D, Flatten, Dense, Dropout\nimport keras.backend as K\nimport numpy as np\n\nbase_path = \"../../../../../../../../resources/weights/\"\nbackend = K.backend()\nversion = keras.__version__\nmajor_version =... | [
[
"numpy.random.randint"
]
] |
AtlasGooo2/WoodScape | [
"597d9dda472c09bafea58ea69853948d63197eca"
] | [
"omnidet/losses/distance_loss.py"
] | [
"\"\"\"\nLoss function for Distance Estimation for OmniDet.\n\n# author: Varun Ravi Kumar <rvarun7777@gmail.com>\n\nParts of the code adapted from https://github.com/nianticlabs/monodepth2\nPlease refer to the license of the above repo.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT... | [
[
"torch.cat",
"torch.min",
"torch.nn.AvgPool2d",
"torch.clamp",
"torch.abs",
"torch.nn.ReflectionPad2d",
"torch.exp",
"torch.randn"
]
] |
felixsc1/nipype | [
"e722d6170593583f16ddfcb95473e5d30b5f1d7c",
"e722d6170593583f16ddfcb95473e5d30b5f1d7c"
] | [
"nipype/interfaces/tests/test_nilearn.py",
"nipype/interfaces/niftyseg/stats.py"
] | [
"# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-\n# vi: set ft=python sts=4 ts=4 sw=4 et:\nimport os\n\nimport numpy as np\n\nfrom ...testing import utils\n\nfrom .. import nilearn as iface\nfrom ...pipeline import engine as pe\n\nimport pytest\nimport numpy.testing as npt\n\nno_nilearn = ... | [
[
"numpy.testing.assert_almost_equal",
"numpy.array"
],
[
"numpy.array"
]
] |
biosustain/multitfa | [
"ab5a9bf6c19a94a221c9a137cccfcacdc2c1cb50"
] | [
"tests/test_unit/test_compound.py"
] | [
"import numpy as np\nimport pytest\nfrom numpy.testing._private.utils import assert_approx_equal\n\nfrom multitfa.core import Thermo_met\n\nfrom .load_test_model import build_test_model\n\n\n@pytest.fixture\ndef tfa_met():\n tfa_model = build_test_model()\n return tfa_model.metabolites.get_by_id(\"atp_c\")\n\... | [
[
"numpy.log",
"numpy.any",
"numpy.testing._private.utils.assert_approx_equal"
]
] |
Assimila/sense | [
"332852bf781620a5cc714efb2d86ffaff5275955",
"62dc29a619b7e110f42fe599c20dc1070b812250",
"332852bf781620a5cc714efb2d86ffaff5275955"
] | [
"doc/d_sensitivity.py",
"sense/surface/i2em.py",
"versuch.py"
] | [
"\"\"\"\ncompare results of implemented models\nagainst Fig 11.07 from Ulaby (2014) and\ncompare own results against references\nfrom the Ulaby example codes provided\nhttp://mrs.eecs.umich.edu/codes/Module11_1/Module11_1.html\n\nUlaby uses for online code and book figure the reflectivity without the roughness corr... | [
[
"numpy.log10",
"matplotlib.pyplot.savefig",
"matplotlib.pyplot.close",
"matplotlib.pyplot.figure",
"numpy.arange",
"numpy.deg2rad",
"matplotlib.pyplot.show",
"numpy.linspace"
],
[
"numpy.sin",
"numpy.zeros",
"numpy.sum",
"numpy.exp",
"numpy.mean",
"numpy... |
yychuang/109-2-compchem-lite | [
"cbf17e542f9447e89fb48de1b28759419ffff956"
] | [
"Example/Psi4Numpy/13-GeometryOptimization/opt_helper/stre.py"
] | [
"import numpy as np\n\nfrom . import covRadii\nfrom . import optExceptions\nfrom . import v3d\nfrom .misc import delta, ZtoPeriod, HguessLindhRho\nfrom .simple import *\n\nfrom psi4 import constants\nBOHR2ANGSTROMS = constants.bohr2angstroms\nHARTREE2AJ = constants.hartree2aJ\n\nclass STRE(SIMPLE):\n def __init_... | [
[
"numpy.exp"
]
] |
YianZhang/jiant-v1-legacy-online-code | [
"b6b1066de7cdbe1b95ca1ae3de6989d07b2e9629",
"b6b1066de7cdbe1b95ca1ae3de6989d07b2e9629"
] | [
"tests/test_write_preds.py",
"tests/test_nli_metric.py"
] | [
"import csv\nimport os\nimport os.path\nimport shutil\nimport tempfile\nimport unittest\nfrom unittest import mock\nimport torch\nimport pandas as pd\n\nfrom jiant import evaluate\nimport jiant.tasks.tasks as tasks\nfrom jiant.models import MultiTaskModel\nfrom jiant.__main__ import evaluate_and_write\n\nfrom jiant... | [
[
"pandas.DataFrame",
"pandas.read_json",
"torch.LongTensor",
"pandas.read_csv",
"torch.Tensor"
],
[
"torch.Tensor"
]
] |
johnmgregoire/JCAPdatavis | [
"6d77a510e00acf31de9665828d27ea33aba6ab78"
] | [
"plot_combinedfom_selectsamples_custom.py"
] | [
"import numpy, pylab, os, sys, csv\nfrom echem_plate_fcns import *\nfrom echem_plate_math import *\nPyCodePath=os.path.split(os.path.split(os.path.realpath(__file__))[0])[0]\nsys.path.append(os.path.join(PyCodePath,'ternaryplot'))\nfrom myternaryutility import TernaryPlot\nfrom myquaternaryutility import Quaternary... | [
[
"numpy.array",
"numpy.arange",
"numpy.linspace"
]
] |
wei1tang/nncf | [
"dcf966e5ffbdababb0e1b39942c9e10193487cbf"
] | [
"beta/tests/tensorflow/test_sanity_sample.py"
] | [
"\"\"\"\n Copyright (c) 2020 Intel Corporation\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n http://www.apache.org/licenses/LICENSE-2.0\n Unless required by applicable law or agr... | [
[
"tensorflow.train.latest_checkpoint",
"tensorflow.io.gfile.isdir"
]
] |
Gltina/OpenPCDet | [
"e32dc7f8f903a3f0e1c93effc68d74dbe16766e2",
"e32dc7f8f903a3f0e1c93effc68d74dbe16766e2"
] | [
"pcdet/models/dense_heads/point_intra_part_head.py",
"pcdet/models/detectors/detector3d_template.py"
] | [
"import torch\n\nfrom ...utils import box_coder_utils, box_utils\nfrom .point_head_template import PointHeadTemplate\n\n\nclass PointIntraPartOffsetHead(PointHeadTemplate):\n \"\"\"\n Point-based head for predicting the intra-object part locations.\n Reference Paper: https://arxiv.org/abs/1907.03670\n F... | [
[
"torch.sigmoid"
],
[
"torch.zeros",
"torch.device",
"torch.cat",
"torch.sigmoid",
"torch.arange",
"torch.max",
"torch.LongTensor",
"torch.load"
]
] |
giumas/kluster | [
"40abd266551a56b693132a7cb12471601f5a02b4",
"40abd266551a56b693132a7cb12471601f5a02b4",
"40abd266551a56b693132a7cb12471601f5a02b4"
] | [
"HSTB/kluster/dms.py",
"HSTB/kluster/draw_calcs.py",
"HSTB/kluster/fqpr_project.py"
] | [
"import re\nimport numpy as np\n\n\ndef dms2dd(d: float, m: float, s: float):\n \"\"\"\n convert between deg-min-sec and decimal degrees\n\n Parameters\n ----------\n d\n degrees\n m\n minutes\n s\n seconds\n\n Returns\n -------\n float\n decimal degrees\n\n... | [
[
"numpy.ceil"
],
[
"numpy.rad2deg",
"numpy.tan",
"matplotlib.pyplot.subplots",
"numpy.deg2rad",
"matplotlib.pyplot.show",
"matplotlib.pyplot.gca"
],
[
"numpy.max",
"numpy.min"
]
] |
COVID-IWG/epimargin-studies | [
"7d4a78e2e6713c6a0aea2cd2440529153e9a635d"
] | [
"vaccine_allocation/constant_hazard.py"
] | [
"import numpy as np\nimport pandas as pd\nfrom studies.vaccine_allocation.commons import *\nfrom tqdm import tqdm\nMay15 = 30 # days since April 15\n\nsimulation_initial_conditions = pd.read_csv(data/f\"all_india_coalesced_initial_conditions{simulation_start.strftime('%b%d')}.csv\")\\\n .drop(columns = [\"Unname... | [
[
"numpy.median",
"pandas.read_csv",
"numpy.load"
]
] |
Sakib1263/1D-2D-Segmentation-AutoEncoder-TF2-KERAS | [
"bdeeed8913686d5141a5178bddc0137cce3f7212"
] | [
"Codes/2DCNN/Models/UNet3P.py"
] | [
"# Import Necessary Libraries\nimport numpy as np\nimport tensorflow as tf\n\n\ndef Conv_Block(inputs, model_width, kernel, multiplier):\n # 2D Convolutional Block\n x = tf.keras.layers.Conv2D(model_width * multiplier, kernel, padding='same')(inputs)\n x = tf.keras.layers.BatchNormalization()(x)\n x = t... | [
[
"tensorflow.keras.layers.add",
"tensorflow.keras.layers.UpSampling2D",
"tensorflow.keras.layers.Flatten",
"tensorflow.keras.layers.Activation",
"tensorflow.keras.losses.MeanAbsoluteError",
"tensorflow.keras.layers.Reshape",
"tensorflow.keras.layers.Dense",
"tensorflow.keras.layers.... |
GavrilovMike/EnsembleLearning | [
"6badedf2b6e9f2d3b01c11246c32916864ad3848"
] | [
"play/play_bagging_on_main.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\nhttps://github.com/oxwhirl/smac\n\n\"\"\"\nfrom smac.env import StarCraft2Env\nimport numpy as np\n# import sys\nimport random\nimport pickle\n\n# from gym.spaces import Discrete, Box, Dict\n\n\n# Вывод массива целиком\nnp.set_printoptions(threshold=np.inf)\n\n\n# определяем может ... | [
[
"numpy.set_printoptions",
"numpy.argmax",
"numpy.nonzero"
]
] |
younesslanda/MLops-on-GCP | [
"430a453389fc23e19bd6f7585e08fdce511b8920"
] | [
"pipeline/helper_components.py"
] | [
"\"\"\"Helper components.\"\"\"\nfrom googleapiclient import discovery\nfrom googleapiclient import errors\n \n#import joblib\nimport pickle\nimport json\nimport pandas as pd\nimport subprocess\nimport sys\n\nfrom sklearn.metrics import accuracy_score, recall_score\n\nfrom typing import NamedTuple\n\n\ndef retri... | [
[
"pandas.read_csv",
"sklearn.metrics.recall_score",
"sklearn.metrics.accuracy_score"
]
] |
1989Ryan/GPro | [
"368ac6b349f83287cc683b4d50b77036cc9deafa"
] | [
"GPro/validations.py"
] | [
"import numpy as np\n\n\ndef assert_array(x):\n \"\"\"Throw a TypeError if X is not array-like.\"\"\"\n if not (isinstance(x, np.ndarray) or isinstance(x, list)):\n raise TypeError('Only lists and numpy arrays are supported.')\n\n\ndef convert_array(x):\n \"\"\"Convert a list to a numpy array.\"\"\"... | [
[
"numpy.subtract",
"numpy.iterable",
"numpy.asarray",
"numpy.isscalar"
]
] |
linkehub/linkehub_api | [
"b5579a6156d6ae01f0cbd8526c8ed8264b5deeb5"
] | [
"webapp/ENV/lib/python3.6/site-packages/dask/dataframe/io/hdf.py"
] | [
"from __future__ import absolute_import, division, print_function\n\nfrom fnmatch import fnmatch\nfrom glob import glob\nimport os\nimport uuid\nfrom warnings import warn\n\nimport pandas as pd\nfrom toolz import merge\n\nfrom .io import _link\nfrom ..core import DataFrame, new_dd_object\nfrom ... import multiproce... | [
[
"pandas.HDFStore",
"pandas.read_hdf"
]
] |
samuelfneumann/RLControl | [
"71430b1de2e4262483908932eb44579c2ec8216d"
] | [
"agents/network/base_network.py"
] | [
"import tensorflow as tf\n\n\nclass BaseNetwork(object):\n def __init__(self, sess, config, learning_rate):\n \"\"\"\n base network for actor and critic network.\n Args:\n sess: tf.Session()\n config: Configuration object\n learning_rate: learning rate for tr... | [
[
"tensorflow.contrib.layers.layer_norm"
]
] |
vansjyo/NeuroKit | [
"238cd3d89467f7922c68a3a4c1f44806a8466922",
"238cd3d89467f7922c68a3a4c1f44806a8466922"
] | [
"tests/tests_emg.py",
"neurokit2/rsp/rsp_clean.py"
] | [
"import numpy as np\nimport pandas as pd\nimport neurokit2 as nk\nimport matplotlib.pyplot as plt\n\nimport scipy.stats\nimport biosppy\n\n# =============================================================================\n# EMG\n# =============================================================================\n\n\ndef ... | [
[
"numpy.array",
"pandas.DataFrame",
"matplotlib.pyplot.close",
"numpy.where",
"matplotlib.pyplot.gcf"
],
[
"numpy.array"
]
] |
jkooy/darts_ignoring | [
"7ae7c769cffe81441af9e1a0e0b92552245ae1d1"
] | [
".ipynb_checkpoints/augment-ignore-checkpoint.py"
] | [
"\"\"\" Training augmented model \"\"\"\nimport os\nimport torch\nimport torch.nn as nn\nimport numpy as np\nfrom tensorboardX import SummaryWriter\nfrom config import AugmentConfig\nimport utils\nfrom models.augment_cnn import AugmentCNN\nimport copy\n\n\nconfig = AugmentConfig()\n\ndevice = torch.device(\"cuda\")... | [
[
"torch.device",
"torch.sigmoid",
"torch.cuda.manual_seed_all",
"torch.isnan",
"numpy.random.seed",
"torch.optim.lr_scheduler.CosineAnnealingLR",
"torch.no_grad",
"torch.optim.SGD",
"torch.manual_seed",
"torch.cuda.set_device",
"torch.utils.data.DataLoader",
"torch.i... |
ACIL-Group/NuART-Py | [
"36011432f6da9b87452c25cb1911a742f353bc49"
] | [
"nuart/biclustering/bartmap.py"
] | [
"\"\"\"\n Copyright 2019 Islam Elnabarawy\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicabl... | [
[
"numpy.concatenate",
"numpy.array_equal",
"numpy.zeros",
"numpy.ones",
"numpy.nonzero",
"numpy.mean",
"numpy.multiply",
"numpy.any",
"numpy.argmax",
"sklearn.preprocessing.MinMaxScaler"
]
] |
swasun/Yet-Another-AlphaZero | [
"dc9fc185ecb1ba345be1c2b79bd0898c820d4d0c"
] | [
"yaaz/src/optimisation.py"
] | [
" #####################################################################################\n # MIT License #\n # #\n # Copyright (C) 2019 Charly Lamothe ... | [
[
"numpy.array",
"numpy.reshape",
"numpy.zeros",
"numpy.mean",
"numpy.ndarray.flatten"
]
] |
pavelg087/hcrystalball | [
"25f186dc72d4e273c6696a5c822f601d54bab734"
] | [
"tests/unit/wrappers/ensembles/test_ensembles.py"
] | [
"import pytest\nimport pandas as pd\nimport numpy as np\nfrom sklearn.linear_model import LinearRegression\nfrom sklearn.pipeline import Pipeline\nfrom pandas.testing import assert_frame_equal\n\nfrom hcrystalball.ensemble import StackingEnsemble, SimpleEnsemble\nfrom hcrystalball.exceptions import DuplicatedModelN... | [
[
"pandas.testing.assert_frame_equal",
"pandas.DatetimeIndex",
"sklearn.linear_model.LinearRegression",
"pandas.DataFrame",
"pandas.date_range",
"numpy.arange"
]
] |
block1o1/CryptoPredicted | [
"7f660cdc456fb8252b3125028f31fd6f5a3ceea5"
] | [
"backtest/algos/trash/algo_ema_v1.py"
] | [
"\nimport json\nimport sys\nsys.dont_write_bytecode = True\n\nimport numpy as np\nimport datetime\nimport random\nimport math\nimport core\n\ndef run(debug):\n\n base = \"BTC\"\n #base = \"ETH\"\n #base = \"LTC\"\n\n quote = \"USDT\"\n historymins = 60*24*30*1 #60*24*30*4\n interval = 60\n dten... | [
[
"numpy.average",
"numpy.std"
]
] |
diamondjems016/galaxy_analysis | [
"fa1367085a6b9870de2546daf3163aaa41129ea0"
] | [
"misc/process_boundary_flux.py"
] | [
"\"\"\"\n process_boundary_flux\n\n Author: A. Emerick\n\n Notes: script and functions to process output \n from domain boundary mass flux computation\n\"\"\"\n\nimport numpy as np\nimport os\nimport subprocess\n\n__all__ = ['process_boundary_flux']\n\ndef process_boundary_flux(data = None, filen... | [
[
"numpy.array",
"numpy.savetxt",
"numpy.genfromtxt",
"numpy.mean",
"numpy.size",
"numpy.cumsum",
"numpy.unique"
]
] |
mrkarna/shogun | [
"dc4b41d8e3cdaecf39c59d2414d68b424a448da7"
] | [
"examples/undocumented/python/evaluation_cross_validation_mkl_weight_storage.py"
] | [
"#!/usr/bin/env python\n\n# This software is distributed under BSD 3-clause license (see LICENSE file).\n#\n# Authors: Heiko Strathmann\n\nfrom numpy.random import randn\nfrom numpy import *\n\n# generate some overlapping training vectors\nnum_vectors=5\nvec_distance=1\ntraindat=concatenate((randn(2,num_vectors)-ve... | [
[
"numpy.random.randn",
"numpy.log"
]
] |
exaV/molanet | [
"cb226d3866f86b030fa3951eefdba0da85f0dd92"
] | [
"molanet/run/base_architecture.py"
] | [
"import argparse\nimport logging\nimport os\nimport shutil\nfrom datetime import datetime\n\nimport tensorflow as tf\n\nfrom molanet.base import NetworkTrainer, TrainingOptions\nfrom molanet.input import TrainingPipeline, \\\n EvaluationPipeline, random_rotate_flip_rgb, random_contrast_rgb, random_brightness_rgb... | [
[
"tensorflow.truncated_normal_initializer",
"tensorflow.ConfigProto",
"tensorflow.reset_default_graph"
]
] |
Veluga/agents | [
"c9c690841cd188a2d2d10a4e586a990c075e887d"
] | [
"tf_agents/bandits/agents/examples/v2/train_eval_stationary_linear.py"
] | [
"# coding=utf-8\n# Copyright 2020 The TF-Agents Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required ... | [
[
"tensorflow.compat.v1.enable_v2_behavior",
"tensorflow.compat.v1.train.AdamOptimizer",
"tensorflow.device"
]
] |
XuezheMax/rtg | [
"a4bfc81dc1874c6f43765eb588d1026a2296aa2f"
] | [
"rtg/decode_pro.py"
] | [
"# CLI interface to decode task\nimport argparse\nimport sys\nfrom argparse import ArgumentDefaultsHelpFormatter as ArgFormatter\nimport torch\nfrom pathlib import Path\n\nfrom rtg import TranslationExperiment as Experiment, log, yaml\nfrom rtg.module.decoder import Decoder, ReloadEvent\nfrom rtg.utils import IO\n\... | [
[
"torch.set_grad_enabled"
]
] |
sdamadi/image-classification | [
"2f38dc3c64c733f1ce820d09fe9d5f6dbf988f97"
] | [
"models/bare/conv4.py"
] | [
"import torch\nimport torch.nn as nn\n\nclass Conv4(nn.Module):\n def __init__(self, in_ch, imgsz, num_classes=10):\n super(Conv4, self).__init__()\n self.conv1 = nn.Conv2d(in_ch, 64, kernel_size=(3, 3), stride=1, padding=1)\n self.conv2 = nn.Conv2d(64, 64, kernel_size=(3, 3), stride=1, padding=1)\n se... | [
[
"torch.nn.ReLU",
"torch.nn.Conv2d",
"torch.nn.Linear",
"torch.nn.MaxPool2d"
]
] |
PeterChauYEG/spinningupImplementations | [
"d521d27df17bf77b087da09adff2a49fc1588a9f"
] | [
"spinupImplementation/utils/plot.py"
] | [
"import seaborn as sns\nimport pandas as pd\nimport matplotlib.pyplot as plt\nimport json\nimport os\nimport os.path as osp\nimport numpy as np\n\nDIV_LINE_WIDTH = 50\n\n# Global vars for tracking and labeling data at load time.\nexp_idx = 0\nunits = dict()\n\ndef plot_data(data, xaxis='Epoch', value=\"AverageEpRet... | [
[
"numpy.asarray",
"numpy.ones",
"matplotlib.pyplot.legend",
"matplotlib.pyplot.figure",
"matplotlib.pyplot.tight_layout",
"pandas.concat",
"matplotlib.pyplot.show",
"matplotlib.pyplot.ticklabel_format",
"numpy.convolve"
]
] |
b00f/g2p-seq2seq | [
"96c3e36754b9a4571d6416446a24c5eef2171128"
] | [
"g2p_seq2seq/g2p_problem.py"
] | [
"# Copyright 2016 AC Technologies LLC. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless require... | [
[
"tensorflow.data.TFRecordDataset",
"tensorflow.data.Dataset.from_tensor_slices",
"tensorflow.contrib.slim.tfexample_decoder.Tensor",
"tensorflow.logging.info",
"tensorflow.python_io.TFRecordWriter",
"tensorflow.python.data.ops.dataset_ops.Dataset.from_generator",
"tensorflow.gfile.GFil... |
greedpejo/FER_SPRING | [
"622d093da579d17e167f2771da4fb3365824cdd3"
] | [
"landmark/models/mobilefacenet.py"
] | [
"from torch.nn import Linear, Conv2d, BatchNorm1d, BatchNorm2d, PReLU, ReLU, Sigmoid, Dropout2d, Dropout, AvgPool2d, MaxPool2d, AdaptiveAvgPool2d, Sequential, Module, Parameter\nimport torch.nn.functional as F\nimport torch\nimport torch.nn as nn\nfrom collections import namedtuple\nimport math\nimport pdb\n\n#####... | [
[
"torch.nn.Linear",
"torch.nn.Sequential",
"torch.norm",
"torch.nn.BatchNorm2d",
"torch.nn.init.kaiming_normal_",
"torch.nn.Conv2d",
"torch.nn.PReLU",
"torch.nn.BatchNorm1d",
"torch.nn.AdaptiveAvgPool2d",
"torch.mean"
]
] |
OmidPoursaeed/Self_supervised_Learning_Point_Clouds | [
"4f684cc761347f329eb967823f80522a8a3aedc0",
"4f684cc761347f329eb967823f80522a8a3aedc0"
] | [
"models/pointnet_seg_svm.py",
"transfer.py"
] | [
"import tensorflow as tf\nimport numpy as np\nimport math\nimport sys\nimport os\nBASE_DIR = os.path.dirname(os.path.abspath(__file__))\nsys.path.append(BASE_DIR)\nsys.path.append(os.path.join(BASE_DIR, '../utils'))\nimport tf_util\nfrom transform_nets import input_transform_net, feature_transform_net\n\ndef placeh... | [
[
"tensorflow.zeros",
"tensorflow.concat",
"tensorflow.expand_dims",
"tensorflow.summary.scalar",
"tensorflow.Graph",
"tensorflow.matmul",
"tensorflow.nn.l2_loss",
"tensorflow.transpose",
"numpy.eye",
"tensorflow.constant",
"tensorflow.variable_scope",
"tensorflow.squ... |
vishalbelsare/pytorch_sparse | [
"efc98089dde782f3600a60265c1013e0f002465d"
] | [
"test/test_matmul.py"
] | [
"from itertools import product\n\nimport pytest\nimport torch\n\nfrom torch_sparse.matmul import matmul\nfrom torch_sparse.tensor import SparseTensor\nimport torch_scatter\n\nfrom .utils import reductions, devices, grad_dtypes\n\n\n@pytest.mark.parametrize('dtype,device,reduce',\n product(gr... | [
[
"torch.allclose",
"torch.randn_like",
"torch.tensor",
"torch.randn"
]
] |
ntenenz/MONAI | [
"e7bdea0934ad08ef47de183eaa558942962fbaf4",
"e7bdea0934ad08ef47de183eaa558942962fbaf4",
"e7bdea0934ad08ef47de183eaa558942962fbaf4"
] | [
"monai/config/deviceconfig.py",
"monai/networks/nets/regressor.py",
"monai/handlers/tensorboard_handlers.py"
] | [
"# Copyright 2020 MONAI Consortium\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# http://www.apache.org/licenses/LICENSE-2.0\n# Unless required by applicable law or agreed to i... | [
[
"torch.__version__.split"
],
[
"torch.nn.Sequential",
"numpy.product",
"numpy.asarray",
"torch.nn.Flatten"
],
[
"torch.is_tensor"
]
] |
bdevl/PGMCPC | [
"63ec383da0f2dbf0d8ffbbb44a670e90d07c132e",
"63ec383da0f2dbf0d8ffbbb44a670e90d07c132e"
] | [
"fawkes/BoundaryConditions.py",
"bottleneck/ROM.py"
] | [
"import numpy as np\nfrom dolfin import DirichletBC\nimport dolfin as df\n\nclass BoundaryEncodingEnsemble(object):\n\n def __init__(self, boundary_encodings):\n self._boundary_encodings = boundary_encodings\n\n def __getitem__(self, item):\n return self._boundary_encodings[item]\n\n def __it... | [
[
"numpy.unique"
],
[
"torch.device",
"torch.tensor",
"torch.solve"
]
] |
yingranbc/Double-Pendulum-Motion-Animation | [
"22895c835e023b51be7d8c3e2f82e484e642469c"
] | [
"Python Code/Double_Pendulum_v1.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\nCreated on Mon Apr 13 20:40:06 2020\n\n@author: Mohammad Asif Zaman\nDouble pendulum motion animation using FuncAnimation()\n\"\"\"\n\nfrom __future__ import print_function \nfrom scipy.integrate import odeint \n\nimport time\nimport math\nimport numpy as np\nimport pylab as py\n... | [
[
"scipy.integrate.odeint",
"numpy.sin",
"matplotlib.animation.FuncAnimation",
"numpy.zeros",
"matplotlib.pyplot.figure",
"numpy.cos",
"matplotlib.pyplot.show",
"numpy.linspace",
"matplotlib.pyplot.axes"
]
] |
kevslinger/bot-be-named | [
"a476598044a06e446e5d0a52da66fff1d7b69a27"
] | [
"modules/music_race/cog.py"
] | [
"import constants\nimport discord\nimport re\nfrom discord.ext import commands\nfrom utils import discord_utils, logging_utils\nfrom modules.music_race import music_race_constants\nimport os\nimport numpy as np\nimport string\n\n\ndef get_partition_mapping():\n map = {}\n for answer in music_race_constants.AN... | [
[
"numpy.random.choice"
]
] |
GBERESEARCH/tradingsystems | [
"5158d41d32b48d35db34a6e132c7fa2f259987c1"
] | [
"tradingsystems/marketdata.py"
] | [
"\"\"\"\nMarket Data functions\n\"\"\"\nimport os\nimport norgatedata\nimport numpy as np\nimport pandas as pd\nimport requests\nfrom yahoofinancials import YahooFinancials\n\nclass Markets():\n \"\"\"\n Methods for collecting data from Norgate Data, Yahoo Finance and\n AlphaVantage and extracting the long... | [
[
"pandas.to_datetime",
"pandas.DataFrame.from_dict",
"pandas.DataFrame",
"numpy.round"
]
] |
gsiddhant/raisimLib | [
"ad844774595189d5d432a5631c05884af4adebdb"
] | [
"raisimGymTorch/raisimGymTorch/env/envs/rsg_anymal/runner.py"
] | [
"from ruamel.yaml import YAML, dump, RoundTripDumper\nfrom raisimGymTorch.env.bin import rsg_anymal\nfrom raisimGymTorch.env.RaisimGymVecEnv import RaisimGymVecEnv as VecEnv\nfrom raisimGymTorch.helper.raisim_gym_helper import ConfigurationSaver, load_param, tensorboard_launcher\nimport os\nimport math\nimport time... | [
[
"torch.cuda.is_available",
"torch.from_numpy",
"torch.ones"
]
] |
CrispyHarder/deep-weight-prior | [
"b87e61d6ad590c61b90e188ec86bfb956073be65"
] | [
"train-net.py"
] | [
"import torch\nfrom torch import nn\nimport utils\nimport numpy as np\nimport os\nimport time\nfrom models.lenet import FConvMNIST\nfrom models.cifarnet import CIFARNet, CIFARNetNew\nfrom models.cifar import ResNet\nimport utils\nfrom logger import Logger\nfrom utils import tonp\nfrom torch.optim.lr_scheduler impor... | [
[
"numpy.concatenate",
"torch.cuda.manual_seed_all",
"numpy.minimum",
"numpy.random.seed",
"torch.FloatTensor",
"torch.manual_seed",
"torch.nn.functional.cross_entropy",
"torch.cuda.is_available",
"torch.utils.tensorboard.SummaryWriter",
"torch.sum"
]
] |
willw625731/torchdyn | [
"7a13ff3e7d2314ab98c41ebdd8654ac2ca48fca0"
] | [
"torchdyn/layers/utility.py"
] | [
"import torch\nimport torch.nn as nn\n\nclass Augmenter(nn.Module):\n \"\"\"Augmentation class. Can handle several types of augmentation strategies for Neural DEs.\n\n :param augment_dims: number of augmented dimensions to initialize\n :type augment_dims: int\n :param augment_idx: index of dimension to ... | [
[
"torch.zeros",
"torch.cat",
"torch.ones"
]
] |
souviksn7/Graphly | [
"3055be4d11e74b8ef2156afdd93ca4cc4859643f"
] | [
"Graphly_v1.py"
] | [
"from tkinter import*\nimport numpy as np\nimport matplotlib.pyplot as plt\nfrom matplotlib.figure import Figure \nfrom matplotlib.backends.backend_tkagg import (FigureCanvasTkAgg, \nNavigationToolbar2Tk)\nroot=Tk()\nroot.title('Graphly')\nroot.geometry(\"700x850\")\n\ndef eq_maker(ls1,ls2):\n fin='y= '\n fo... | [
[
"numpy.add",
"numpy.zeros",
"numpy.ones",
"numpy.multiply",
"matplotlib.backends.backend_tkagg.FigureCanvasTkAgg",
"numpy.arange",
"numpy.power",
"matplotlib.figure.Figure",
"matplotlib.backends.backend_tkagg.NavigationToolbar2Tk"
]
] |
steveknipmeyer/ModelRelief | [
"a3d067e0ed39a3a8ca78896c21eaa3e7293b15a2"
] | [
"Explorer/widgets.py"
] | [
"#!/usr/bin/env python\n\"\"\"\n.. module:: widgets\n :synopsis: QT UI controls for Explorer.\n\n.. moduleauthor:: Steve Knipmeyer <steve@modelrelief.org>\n\"\"\"\n\nimport os\n# First, and before importing any Enthought packages, set the ETS_TOOLKIT environment variable to qt4 to tell Traits that we will use Qt.... | [
[
"matplotlib.use",
"matplotlib.pyplot.setp",
"numpy.empty",
"matplotlib.backends.backend_qt5agg.FigureCanvasQTAgg",
"matplotlib.pyplot.close",
"matplotlib.pyplot.figure",
"numpy.flipud",
"matplotlib.backends.backend_qt5agg.NavigationToolbar2QT",
"numpy.arange",
"matplotlib.p... |
AlbertiPot/unnas | [
"f0df44634ae300a52adc25b7fb24f4b089655680"
] | [
"pycls/models/nas_bench/graph_util.py"
] | [
"# Copyright (c) Facebook, Inc. and its affiliates.\n#\n# This source code is licensed under the MIT license found in the\n# LICENSE file in the root directory of this source tree.\n\n# Copyright 2019 The Google Research Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not... | [
[
"numpy.array",
"numpy.array_equal",
"numpy.vectorize",
"numpy.sum",
"numpy.shape",
"numpy.any",
"numpy.all"
]
] |
HLTCHKUST/ke-dialogue | [
"cb73237889860adedcfd381b28813feb267cef81"
] | [
"modeling/smd/evaluate.py"
] | [
"import os\nimport os.path\nimport sys\nsys.path.append('../..')\n\nfrom utils.preprocessSMD import load_SMD\nfrom transformers import (AdamW,WEIGHTS_NAME, CONFIG_NAME)\nfrom utils.hugging_face import load_model,get_parser,top_filtering, SPECIAL_TOKENS, add_special_tokens_, average_distributed_scalar, make_logdir, ... | [
[
"torch.cuda.manual_seed",
"torch.random.manual_seed",
"torch.multinomial",
"torch.tensor",
"torch.nn.functional.softmax",
"torch.topk"
]
] |
jasonb5/xcdat | [
"4a35d6a6131fe3fec22593f54a9e48b640ceac4f"
] | [
"tests/test_temporal.py"
] | [
"from datetime import datetime\n\nimport cftime\nimport numpy as np\nimport pandas as pd\nimport pytest\nimport xarray as xr\nfrom xarray.tests import requires_dask\n\nfrom tests.fixtures import generate_dataset\nfrom xcdat.temporal import TemporalAccessor\n\n\nclass TestTemporalAccessor:\n def test__init__(self... | [
[
"numpy.array",
"numpy.array_equal",
"numpy.zeros",
"pandas.DataFrame",
"numpy.ones",
"pandas.MultiIndex.from_tuples",
"numpy.allclose"
]
] |
enthought/nevergrad | [
"2a0f778aa316264e785d0e6305a897679b3b97f7"
] | [
"nevergrad/instrumentation/core.py"
] | [
"# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n#\n# This source code is licensed under the MIT license found in the\n# LICENSE file in the root directory of this source tree.\n\nimport uuid\nimport copy\nfrom typing import Any, Tuple, Optional, Dict, Set, TypeVar\nimport typing as tp\nimp... | [
[
"numpy.array",
"numpy.zeros"
]
] |
MartenSkogh/qiskit-aqua | [
"4a997e6328e06e250212ef82c9414ad16834b7c6",
"4a997e6328e06e250212ef82c9414ad16834b7c6"
] | [
"qiskit/aqua/components/neural_networks/pytorch_discriminator.py",
"qiskit/optimization/converters/integer_to_binary.py"
] | [
"# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2019, 2020.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modificatio... | [
[
"torch.autograd.variable.Variable",
"torch.manual_seed",
"torch.tensor",
"torch.load",
"torch.nn.BCELoss"
],
[
"numpy.log2"
]
] |
Alvinwuzw/pandas | [
"2d4372111e1a79058faa5ddd6bc0a9a73648a33a"
] | [
"pandas/io/excel/_base.py"
] | [
"import abc\nimport datetime\nfrom io import BufferedIOBase, BytesIO, RawIOBase\nimport os\nfrom textwrap import fill\nfrom typing import Any, Mapping, Union\n\nfrom pandas._config import config\n\nfrom pandas._libs.parsers import STR_NA_VALUES\nfrom pandas._typing import StorageOptions\nfrom pandas.errors import E... | [
[
"pandas.io.excel._util.get_writer",
"pandas.io.common.IOArgs",
"pandas.io.parsers.TextParser",
"pandas.io.common.urlopen",
"pandas.io.common.validate_header_arg",
"pandas.io.excel._util.maybe_convert_usecols",
"pandas.util._decorators.deprecate_nonkeyword_arguments",
"pandas.core.d... |
andreaconti/face_recognition_cam | [
"2f9d95d982bb12dadbe8d933c6548244745aa2af"
] | [
"face_recognition_cam/recognition.py"
] | [
"\"\"\"\nModule containing person recognition\n\"\"\"\n\nfrom typing import Dict, List, Tuple\n\nimport mxnet as mx # type: ignore\nimport numpy as np # type: ignore\nfrom numpy import ndarray\nfrom pkg_resources import resource_filename\nfrom scipy.spatial.distance import cdist # type: ignore\n\n\nclass FaceRec... | [
[
"numpy.moveaxis",
"numpy.arange",
"scipy.spatial.distance.cdist",
"numpy.argmax"
]
] |
Jeffrey-Ede/partial-STEM | [
"916766091b81b54cacde85a319f34a47d50bce48",
"916766091b81b54cacde85a319f34a47d50bce48"
] | [
"pstem/stem-random-walk-nin-20-74/stem-random-walk-nin-20-74_examples.py",
"pstem/stem-random-walk-nin-20-77/stem-random-walk-nin-20-77_examples.py"
] | [
"from __future__ import absolute_import\r\nfrom __future__ import division\r\nfrom __future__ import print_function\r\n\r\nimport os\r\nos.environ[\"CUDA_VISIBLE_DEVICES\"] = \"0\"\r\n\r\nimport argparse\r\n\r\nimport numpy as np\r\nimport tensorflow as tf\r\n\r\nimport cv2\r\nfrom scipy.misc import imread\r\n\r\nf... | [
[
"tensorflow.nn.conv2d",
"tensorflow.ones",
"tensorflow.random_normal_initializer",
"numpy.empty",
"tensorflow.to_double",
"tensorflow.train.Saver",
"tensorflow.contrib.layers.max_pool2d",
"tensorflow.constant",
"tensorflow.pad",
"tensorflow.nn.conv2d_transpose",
"tensor... |
hanhha/ACTS | [
"dca59ed487cd1581b54e510cc286bd3482d1cb0a"
] | [
"Agents/seeker.py"
] | [
"#!/usr/bin/env python3\nfrom pandas import DataFrame\n\nfrom . import misc_utils as misc\nfrom . import ta\n\nclass BaseSeeker (misc.BPA):\n\tdef __init__ (self, source, params):\n\t\tmisc.BPA.__init__ (self, source = source, params = params)\n\t\tself.archive = list ()\n\t\tself.pdarchive = DataFrame ()\n\t\tself... | [
[
"pandas.DataFrame"
]
] |
vene/prototype-lp-sparsemap | [
"0a3320ebafa2269a400293f63892d18dd76a3801"
] | [
"protolpsmap/dense.py"
] | [
"# dense factor\nimport numpy as np\n\nclass DenseFactor(object):\n\n def __init__(self, m, n):\n self.m = m\n self.n = n\n\n def vertex(self, y):\n i, j = y\n um = np.zeros(self.m)\n un = np.zeros(self.n)\n um[i] = 1\n un[j] = 1\n\n U = np.concatenate([... | [
[
"numpy.concatenate",
"numpy.dot",
"numpy.zeros",
"numpy.ones",
"numpy.random.randn",
"numpy.eye",
"numpy.outer",
"numpy.column_stack"
]
] |
sutormin94/N-to-C_asymmetry | [
"ed4f9d6ed6c202a46d619d9ebec097134ee04985"
] | [
"DSSP_statistics.py"
] | [
"###############################################\n##Dmitry Sutormin, 2020##\n##N-to-C-terminus assymetry in protein domain secondary structure elements composition##\n\n#Pareses DSSP output generated for representative structures with Run_DSSP.py\n#Get statistics of secondary structure elements at N- and C-termini ... | [
[
"numpy.divide",
"numpy.array",
"numpy.ones_like",
"matplotlib.pyplot.subplots",
"matplotlib.pyplot.tight_layout",
"matplotlib.pyplot.show"
]
] |
Mckiev/homework | [
"f2e05dce1571d3398c148376f1f31a28ef8f2c2f"
] | [
"hw3/dqn.py"
] | [
"import uuid\nimport os, inspect\nimport time\nimport pickle\nimport sys\nimport gym.spaces\nimport itertools\nimport numpy as np\nimport random\nimport tensorflow as tf\nimport tensorflow.contrib.layers as layers\nfrom collections import namedtuple\nfrom dqn_utils import *\nimport logz\n\nOptimizerS... | [
[
"tensorflow.trainable_variables",
"tensorflow.shape",
"tensorflow.group",
"numpy.sum",
"tensorflow.global_variables",
"numpy.mean",
"numpy.random.uniform",
"tensorflow.placeholder",
"tensorflow.math.reduce_max",
"numpy.random.randint",
"numpy.argmax",
"tensorflow.Ru... |
Superomeg4/pyleecan | [
"2b695b5f39e77475a07aa0ea89489fb0a9659337",
"2b695b5f39e77475a07aa0ea89489fb0a9659337",
"2b695b5f39e77475a07aa0ea89489fb0a9659337"
] | [
"Methods/Slot/HoleM50/comp_radius.py",
"Methods/Slot/SlotMPolar/build_geometry.py",
"Methods/Slot/SlotW24/_comp_point_coordinate.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"@package Methods.Slot.HoleM50.comp_radius\nCompute the radius of the Slot method\n@date Created on Fri Mar 18 09:51:15 2016\n@copyright (C) 2015-2016 EOMYS ENGINEERING.\n@author pierre_b\n@todo unittest it\n\"\"\"\n\nfrom numpy import angle, arcsin, arctan, array, cos, exp\n\n\ndef c... | [
[
"numpy.array",
"numpy.angle",
"numpy.arcsin",
"numpy.arctan",
"numpy.cos"
],
[
"numpy.exp"
],
[
"numpy.exp"
]
] |
asnt/Pyrr | [
"4bc98bc1abc72f860f97563e2a4459813d0bfd88"
] | [
"pyrr/geometric_tests.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"Defines a number of functions to test interactions between\nvarious forms data types.\n\"\"\"\nfrom __future__ import absolute_import, division, print_function\nimport math\nimport numpy as np\nfrom . import rectangle, vector, vector3\nfrom .utils import all_parameters_as_numpy_array... | [
[
"numpy.divide",
"numpy.count_nonzero",
"numpy.dot",
"numpy.empty"
]
] |
jonghyunharrylee/PCGA | [
"ed1b46f33847eafde685c97ef28d473baf63cf2f"
] | [
"examples/tough_heat/tough.py"
] | [
"import matplotlib\r\n#matplotlib.use('Agg')\r\n\r\nimport math\r\nimport os\r\nimport pandas as pd\r\nimport matplotlib.pyplot as plt\r\nimport sys\r\nimport pandas as pd\r\n\r\n# PyTOUGH specific modules\r\nfrom mulgrids import *\r\nfrom t2thermo import *\r\nfrom t2data import *\r\nfrom t2incons import *\r\nfrom ... | [
[
"numpy.tile",
"numpy.exp",
"numpy.size",
"pandas.concat",
"pandas.read_csv",
"matplotlib.pyplot.colorbar",
"matplotlib.pyplot.clim",
"matplotlib.pyplot.savefig",
"numpy.arange",
"matplotlib.pyplot.axis",
"numpy.array",
"scipy.interpolate.interp1d",
"numpy.reshap... |
staplezz/datathon2020 | [
"476bdc85c3152cf1ed2aa1769ed0e4624eb5ca44"
] | [
"paso4/edgesAuthors.py"
] | [
"import pandas as pd\nimport itertools\n\n'''\nParte 4: Construcción de las aristas usando el catálogo\nde autores filtrados.\n'''\n\n#Importamos el catálogo de autores.\nfiltered_authorships = pd.read_csv('filtered_authorships.csv')\n\n#Diccionario para ir guardando los autores de cada artículo.\narticle_dict = di... | [
[
"pandas.DataFrame",
"pandas.read_csv"
]
] |
dberga/MineGAN | [
"36b048c2fcaeb80b22f3c03288e33d862d7e3113"
] | [
"train_fns.py"
] | [
"''' train_fns.py\nFunctions for the main loop of training different conditional image models\n'''\nimport torch\nimport torch.nn as nn\nimport torchvision\nimport os\n\nimport utils\nimport losses\nimport pdb\n\n\n# Dummy training function for debugging\ndef dummy_training_function():\n def train(x, y):\n retu... | [
[
"torch.nn.parallel.data_parallel",
"torch.split",
"torch.no_grad"
]
] |
maheshkarriisb/MLBox | [
"2e5e8eb488531b4cdbbe202dd6f70bba0ae3bebd"
] | [
"python-package/mlbox/model/supervised/classification/feature_selector.py"
] | [
"\n# coding: utf-8\n# Author: Axel ARONIO DE ROMBLAY <axelderomblay@gmail.com>\n# License: BSD 3 clause\n\nimport numpy as np\nimport pandas as pd\nfrom sklearn.linear_model import LogisticRegression\nfrom sklearn.ensemble import RandomForestClassifier\nimport warnings\n\n\n\nclass Clf_feature_selector():\n \n ... | [
[
"sklearn.ensemble.RandomForestClassifier",
"numpy.percentile",
"numpy.abs",
"sklearn.linear_model.LogisticRegression"
]
] |
pckennethma/NeuralD | [
"226d7ea5c715c3fe29b311e896268462a4727713"
] | [
"candidate/Cuckoo.py"
] | [
"import numpy as np\nfrom util.solution_util import *\nfrom logging import debug, info, error\nimport logging, time\n\nlogging.basicConfig(level=logging.ERROR)\n\nclass CuckooSimulator:\n def __init__(self, table_size, keys, hash_func1, hash_func2):\n self.hash_table = [-1 for i in range(table_size)]\n ... | [
[
"numpy.log2",
"numpy.arange",
"numpy.random.choice"
]
] |
wook3024/fsdl-text-recognizer-2021-labs | [
"06ccc875eaa22971a9c3e78785566739ec75702a"
] | [
"lab2/text_recognizer/data/mnist.py"
] | [
"\"\"\"MNIST DataModule\"\"\"\nimport argparse\n\nfrom torch.utils.data import random_split\nfrom torchvision.datasets import MNIST as TorchMNIST\nfrom torchvision import transforms\n\nfrom text_recognizer.data.base_data_module import BaseDataModule, load_and_print_info\n\nDOWNLOADED_DATA_DIRNAME = BaseDataModule.d... | [
[
"torch.utils.data.random_split"
]
] |
RogerFu18/drunken-monkey | [
"2f8498a83105481d0d189b20407f6e3f658b1053"
] | [
"ESN/EchoTorch-master/examples/models/NilsNet_example.py"
] | [
"# -*- coding: utf-8 -*-\n#\n# File : examples/timeserie_prediction/switch_attractor_esn\n# Description : NARMA 30 prediction with ESN.\n# Date : 26th of January, 2018\n#\n# This file is part of EchoTorch. EchoTorch is free software: you can\n# redistribute it and/or modify it under the terms of the GNU General Pu... | [
[
"numpy.array",
"torch.autograd.Variable",
"matplotlib.pyplot.title",
"torch.utils.data.DataLoader",
"numpy.clip",
"matplotlib.pyplot.show",
"matplotlib.pyplot.imshow"
]
] |
hayko1995/JHU-CROWD-Detection | [
"68808b90a0af168a38743389313ea0e1d28e1a28"
] | [
"local_eval/eval_qnrf.py"
] | [
"import os\nimport sys\nimport numpy as np\nfrom scipy import spatial as ss\nimport pdb\n\nimport cv2\nfrom utils import hungarian, read_pred_and_gt, AverageMeter, AverageCategoryMeter\nimport argparse\nimport scipy.io\nimport math\n\nflagError = False\n# id_std = [i for i in range(3110,3610,1)]\n# id_std[59] = 309... | [
[
"scipy.spatial.distance_matrix",
"numpy.mean",
"numpy.zeros"
]
] |
krisjb/MHDataLearn | [
"59dcd4a6c3945b4ae6d6777834cbc801cbbf3dab"
] | [
"tests/preprocessing/test_clean.py"
] | [
"import pandas as pd\n# import numpy as np\n# from datetime import timedelta\n# from datetime import datetime\nfrom MHDataLearn.preprocessing.clean import age_check, \\\n gender_replace, \\\n marital_replace, \\\n ... | [
[
"pandas.read_csv"
]
] |
Aixile/pytoshop | [
"2cc090dff8ef00ce8cfb97bf7a5fdde34b7f4cd4"
] | [
"pytoshop/image_resources.py"
] | [
"# -*- coding: utf-8 -*-\n\n\n\"\"\"\nThe `ImageResources` section.\n\nImage resource blocks are the basic building unit of several file\nformats, including Photoshop's native file format, JPEG, and\nTIFF. Image resources are used to store non-pixel data associated with\nimages, such as pen tool paths.\n\"\"\"\n\n\... | [
[
"numpy.array",
"numpy.frombuffer"
]
] |
zfang-slim/PysitForPython3 | [
"dc60537b26018e28d92b7a956a2cf96775f0bdf9",
"dc60537b26018e28d92b7a956a2cf96775f0bdf9"
] | [
"pysit/gallery/marmousi2.py",
"Demo/InversionHorizontalReflector2D_FrequencyDomain_VariableDensity_Parallel.py"
] | [
"import numpy as np\r\n\r\nfrom pysit import *\r\n\r\nfrom pysit.gallery.gallery_base import PrecomputedGalleryModel\r\n\r\n__all__ = ['MarmousiModel2', 'marmousi2']\r\n\r\nclass MarmousiModel2(PrecomputedGalleryModel):\r\n\r\n \"\"\" Marmousi II community velocity model.\r\n \"\"\"\r\n\r\n # Names\r\n ... | [
[
"matplotlib.pyplot.show",
"numpy.array",
"matplotlib.pyplot.figure"
],
[
"matplotlib.pyplot.colorbar",
"numpy.reshape",
"matplotlib.pyplot.xlabel",
"numpy.ones",
"matplotlib.pyplot.title",
"matplotlib.pyplot.semilogy",
"matplotlib.pyplot.figure",
"matplotlib.pyplot.... |
ori-drs/solo-rbprm | [
"2c8ade18f36a691b9e432302ae6af0724fa2d0f2"
] | [
"script/relativeFootPositionQuasiFlat.py"
] | [
"from hpp.gepetto import Viewer\nfrom hpp.gepetto import ViewerFactory\nfrom numpy import array, zeros, ones\nfrom numpy.linalg import norm\n\nfrom solo_rbprm.solo import Robot\nfrom hpp.corbaserver.rbprm.tools.display_tools import *\n\n#from plot_polytopes import *\nfrom pinocchio import Quaternion\n\nNUM_SAMPLES ... | [
[
"numpy.array",
"numpy.zeros",
"numpy.ones",
"matplotlib.pyplot.figure",
"scipy.spatial.ConvexHull",
"matplotlib.pyplot.show"
]
] |
OneraHub/openmdao_extensions | [
"4d67315db71a572c1807c2e3fb24e176c3dab845"
] | [
"openmdao_extensions/salib_doe_driver.py"
] | [
"\"\"\"\nDriver for running model on design of experiments cases using Salib sampling methods\n\"\"\"\nimport numpy as np\n\nfrom openmdao.api import DOEDriver, OptionsDictionary\nfrom openmdao.drivers.doe_generators import DOEGenerator\n\nSALIB_NOT_INSTALLED = False\ntry:\n from SALib.sample import morris as ms... | [
[
"numpy.array"
]
] |
jianguoz/DNNC-few-shot-intent | [
"ea6f39a225d62f87c05f3628206b06dcaeb56f01"
] | [
"models/tfidf_knn.py"
] | [
"# Copyright 2020, Salesforce.com, Inc.\n# \n# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publis... | [
[
"torch.cat",
"torch.FloatTensor",
"sklearn.feature_extraction.text.TfidfVectorizer",
"sklearn.metrics.pairwise.cosine_similarity"
]
] |
zelo2/EduCDM | [
"d725dc50ec677dfe409d88a3ffea6dce8effad62"
] | [
"examples/IRT/EM/IRT.py"
] | [
"# coding: utf-8\n# 2021/5/2 @ liujiayu\nimport logging\nimport numpy as np\nimport pandas as pd\nfrom EduCDM import EMIRT\n\ntrain_data = pd.read_csv(\"../../../data/a0910/train.csv\")\nvalid_data = pd.read_csv(\"../../../data/a0910/valid.csv\")\ntest_data = pd.read_csv(\"../../../data/a0910/test.csv\")\n\nstu_num... | [
[
"pandas.read_csv",
"numpy.ones",
"numpy.random.randint"
]
] |
morgangiraud/PySyft | [
"79e0505a6e9ec2d78287d8c19b27bbac28455780"
] | [
"syft/nn.py"
] | [
"import syft.controller as controller\nfrom syft.utils import Progress\nfrom syft import FloatTensor\nimport sys, time\nimport numpy as np\nimport syft.metrics\n\nclass Model():\n\tdef __init__(self, id=None):\n\t\tself.sc = controller\n\t\tself.params = False\n\t\tself.type = None\n\t\tself._layer_type = None\n\t\... | [
[
"numpy.array"
]
] |
stephenwithav/DexiNed | [
"3bd8a79c6a6673d2c4e2d0f69b84b7796c924e3b",
"3bd8a79c6a6673d2c4e2d0f69b84b7796c924e3b"
] | [
"run_model.py",
"DexiNed-Pytorch/dexi_utils.py"
] | [
"\"\"\" DexiNed main script\n\nThis code is based on DexiNed (Dense Extreme Inception Network for Edge Detection),\nPlease pay attention in the function config_model() to set any parameter before training or\ntesting the model.\n\"\"\"\n__author__ = \"Xavier Soria Poma, CVC-UAB\"\n__email__ = \"xsoria@cvc.uab.es / ... | [
[
"tensorflow.ConfigProto",
"tensorflow.GPUOptions"
],
[
"numpy.max",
"numpy.uint8",
"numpy.zeros",
"numpy.min",
"numpy.float32",
"numpy.squeeze"
]
] |
bbfrederick/rapidtide | [
"190d79ae4c19317dfce38a528e43fd05459f29a5",
"190d79ae4c19317dfce38a528e43fd05459f29a5",
"190d79ae4c19317dfce38a528e43fd05459f29a5"
] | [
"rapidtide/dlfilter.py",
"rapidtide/tests/test_fullrunhappy_v1.py",
"rapidtide/tests/test_fullrunrapidtide_v4.py"
] | [
"#!/usr/bin/env python\n# -*- coding: latin-1 -*-\n#\n# Copyright 2016-2021 Blaise Frederick\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.or... | [
[
"tensorflow.compat.v1.disable_v2_behavior",
"numpy.min",
"numpy.mean",
"numpy.exp",
"numpy.where",
"numpy.max",
"numpy.angle",
"matplotlib.pyplot.savefig",
"numpy.fabs",
"numpy.arange",
"matplotlib.use",
"numpy.square",
"numpy.zeros",
"matplotlib.pyplot.titl... |
jjshoots/PettingZoo | [
"398209c22bb43dd165932310c91e41c38ddcf49c"
] | [
"pettingzoo/butterfly/pistonball/pistonball.py"
] | [
"import math\nimport os\n\nimport gym\nimport numpy as np\nimport pygame\nimport pymunk\nimport pymunk.pygame_util\nfrom gym.utils import EzPickle, seeding\n\nfrom pettingzoo import AECEnv\nfrom pettingzoo.utils import agent_selector, wrappers\nfrom pettingzoo.utils.conversions import parallel_wrapper_fn\n\nfrom .m... | [
[
"numpy.rot90",
"numpy.array",
"numpy.sin",
"numpy.asarray",
"numpy.arange",
"numpy.transpose",
"numpy.cos",
"numpy.fliplr"
]
] |
shpach/ssd_keras | [
"08aca69e8cc1b1917aaec78d4c34a5cde22f404a"
] | [
"train_ssd.py"
] | [
"from tensorflow.python.lib.io import file_io\nfrom keras.optimizers import Adam, SGD\nfrom keras.callbacks import ModelCheckpoint, LearningRateScheduler, TerminateOnNaN, CSVLogger\nfrom keras import backend as K\nimport tensorflow as tf\nfrom keras.models import load_model\nfrom keras.utils import plot_model\nfrom... | [
[
"tensorflow.python.client.device_lib.list_local_devices",
"tensorflow.python.lib.io.file_io.FileIO",
"tensorflow.device"
]
] |
jniehues-kit/NMTGMinor | [
"7631ce9c4f19fc7d0ebf475860fa60e681847969"
] | [
"onmt/inference/fast_translator.py"
] | [
"import onmt\nimport onmt.modules\nimport torch.nn as nn\nimport torch\nimport math\nfrom torch.autograd import Variable\nfrom onmt.model_factory import build_model\nimport torch.nn.functional as F\nfrom onmt.inference.search import BeamSearch, DiverseBeamSearch\nfrom onmt.inference.translator import Translator\n\n... | [
[
"torch.masked_select",
"torch.arange",
"torch.gather",
"torch.no_grad",
"torch.FloatTensor",
"torch.index_select",
"torch.topk"
]
] |
botplex/pandas | [
"be569627346bce10ffec205ffff26c5628a5bb9b",
"be569627346bce10ffec205ffff26c5628a5bb9b",
"be569627346bce10ffec205ffff26c5628a5bb9b"
] | [
"pandas/tests/io/formats/test_to_string.py",
"pandas/tests/indexing/multiindex/test_loc.py",
"pandas/tests/test_join.py"
] | [
"from datetime import datetime\nfrom io import StringIO\n\nimport numpy as np\nimport pytest\n\nfrom pandas import DataFrame, Series, option_context, to_datetime\n\n\ndef test_repr_embedded_ndarray():\n arr = np.empty(10, dtype=[(\"err\", object)])\n for i in range(len(arr)):\n arr[\"err\"][i] = np.ran... | [
[
"pandas.to_datetime",
"numpy.empty",
"pandas.DataFrame",
"numpy.random.randn",
"pandas.option_context",
"numpy.arange",
"pandas.Series"
],
[
"pandas.Timestamp",
"pandas._testing.assert_series_equal",
"pandas.period_range",
"pandas.read_csv",
"pandas.DataFrame",
... |
MockyJoke/numbers | [
"53b0a8e5c5f0edbf01b86fe5968ef02d8d938438"
] | [
"ex6/code/create_data.py"
] | [
"\n# coding: utf-8\n\n# In[1]:\n\nimport sys\nimport pandas as pd\nimport numpy as np\nimport difflib\nimport gzip\nfrom scipy import stats\nimport time\nfrom implementations import all_implementations\nfrom random import randint\n\n\n# In[ ]:\n\ndef main():\n ARR_SIZE = 18000\n SORT_TRIALS = 50\n random_a... | [
[
"numpy.random.randint"
]
] |
mlindauer/asapy | [
"ec1f202b5f612a366f1e4aee7badc55798bdc67d"
] | [
"asapy/out_builder/html_builder.py"
] | [
"import argparse\nimport logging\nimport sys\nimport os\nimport shutil\nimport inspect\nfrom traceback import print_exc\nfrom collections import namedtuple\n\nimport numpy as np\n\nimport matplotlib\nmatplotlib.use('Agg')\nimport matplotlib.pyplot as plt\n\n\n\n__author__ = \"Marius Lindauer\"\n__copyright__ = \"Co... | [
[
"matplotlib.use"
]
] |
south-coast-science/scs_core | [
"81ad4010abb37ca935f3a31ac805639ef53b1bcf"
] | [
"src/scs_core/data/lin_regress.py"
] | [
"\"\"\"\nCreated on 18 Sep 2021\n\n@author: Bruno Beloff (bruno.beloff@southcoastscience.com)\n\nA high-performance linear regression utility requiring scipy\n\nhttps://www.w3schools.com/python/python_ml_linear_regression.asp\n\"\"\"\n\nfrom collections import OrderedDict\nfrom scipy import stats\n\nfrom scs_core.d... | [
[
"scipy.stats.linregress"
]
] |
hex-plex/GNN-MARL | [
"ebe964a4eb749fd8d2780af18aead85e342d2988"
] | [
"src/run.py"
] | [
"import datetime\nimport os\nimport pprint\nimport time\nimport threading\nimport torch as th\nfrom types import SimpleNamespace as SN\nfrom utils.logging import Logger\nfrom utils.timehelper import time_left, time_str\nfrom os.path import dirname, abspath\n\nfrom learners import REGISTRY as le_REGISTRY\nfrom runne... | [
[
"torch.cuda.is_available"
]
] |
souravsingh/probability | [
"0519b63094fdaa4e326357a0cdff056d5ef76cd8"
] | [
"tensorflow_probability/python/distributions/gamma_gamma_test.py"
] | [
"# Copyright 2018 The TensorFlow Probability Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by a... | [
[
"numpy.array",
"tensorflow.TensorShape",
"tensorflow.Session",
"tensorflow.constant",
"numpy.arange",
"tensorflow.test.main"
]
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.