repo_name stringlengths 6 130 | hexsha list | file_path list | code list | apis list |
|---|---|---|---|---|
michiru123/lane-change-prediction-lstm | [
"f6f067e07a0f211d48ec980074c452aec0d2b18d"
] | [
"rnn_model.py"
] | [
"import numpy\nimport pickle\nimport random\nimport torch\nimport torch.nn as nn\nimport torch.nn.functional as F\nimport torch.optim as optim\nimport time\n\ntorch.manual_seed(1)\n\n\n# load data into pytorch tensor\ninput_data = []\nfor i in range(1, 61):\n idx_str = '{0:02}'.format(i)\n pickle_in = open(\"... | [
[
"torch.nn.NLLLoss",
"torch.nn.Dropout",
"torch.nn.LSTM",
"torch.no_grad",
"torch.nn.functional.log_softmax",
"torch.manual_seed",
"torch.tensor",
"torch.tanh"
]
] |
vageeshSaxena/TX-Ray | [
"80f96012bd7ab4c789b037bbfa996fa26c160701"
] | [
"Objectives/utilities.py"
] | [
"########################################################################################################################\n\"\"\"\nDescription : Contains the utility functions for the module.\nPython version : 3.7.3\n\"\"\"\n##########################################################################################... | [
[
"numpy.array",
"matplotlib.pyplot.xlabel",
"torch.no_grad",
"matplotlib.pyplot.title",
"matplotlib.pyplot.plot",
"torch.FloatTensor",
"matplotlib.pyplot.figure",
"torch.LongTensor",
"matplotlib.pyplot.ylabel",
"torch.nn.BCEWithLogitsLoss"
]
] |
scaomath/kaggle-riiid-test | [
"6c99deccc33def7e5d0c982b0a9a19612138e893"
] | [
"sakt/iter_env_sakt_new.py"
] | [
"#%%\nimport os\nos.environ[\"CUDA_LAUNCH_BLOCKING\"] = \"1\"\nimport sys\nimport psutil\nimport pandas as pd\nimport numpy as np\nfrom tqdm import tqdm\nimport time\nfrom sklearn.metrics import roc_auc_score\nimport torch\n\nHOME = \"/home/scao/Documents/kaggle-riiid-test/\"\nDATA_DIR = '/home/scao/Documents/kagg... | [
[
"pandas.read_pickle",
"torch.sigmoid",
"numpy.append",
"torch.no_grad",
"torch.cuda.is_available",
"pandas.concat",
"pandas.read_csv",
"pandas.read_parquet",
"sklearn.metrics.roc_auc_score"
]
] |
OblackatO/PV204-Security-Technologies | [
"1b91b8de760dc2e2c0265d04069e26893f524f49"
] | [
"Seminar1/pwned_v2.py"
] | [
"# https://haveibeenpwned.com/API/v2\r\n\r\nimport pwnedpasswords\r\nimport requests\r\nimport hashlib\r\nimport matplotlib.pyplot as plt\r\n\r\n\r\ndef load_passwords(file_name: str) -> dict:\r\n \"\"\"\r\n Function that loads most common passwords to memory.\r\n \"\"\"\r\n with open(file_name, 'r') as... | [
[
"matplotlib.pyplot.show"
]
] |
mnc/arrow | [
"5cda6934999f9f79368f3fc3f68895fc0f4e0b24"
] | [
"python/pyarrow/tests/test_hdfs.py"
] | [
"# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); y... | [
[
"numpy.arange"
]
] |
fhapocryphal-sigma/Thermodynamics.jl | [
"6aaaba44f8f608ccc62c8bc8f11e854fc4d805f7"
] | [
"src/python_implementations/pr_mix.py"
] | [
"import numpy as np\r\nimport scipy.optimize as opt\r\nimport scipy.integrate as intg\r\nimport matplotlib.pyplot as plt\r\nfrom scipy.misc import derivative\r\n\r\n\r\ndef R():\r\n return 8.31446\r\n\r\n\r\nclass pengRobinson:\r\n def __init__(self, Tc, Pc, omega, Cp_func):\r\n self.Tc = Tc\r\n ... | [
[
"numpy.array",
"numpy.log",
"numpy.roots",
"scipy.optimize.fsolve",
"numpy.exp",
"scipy.misc.derivative",
"numpy.sqrt",
"scipy.integrate.quad"
]
] |
GvandeSteeg/pipelines | [
"9e10e8edf1397d09a92761bc764acfec6006dd67"
] | [
"dockerfiles/CohortVcfToZarr/test_cohort_vcf_to_zarr.py"
] | [
"import unittest\nimport subprocess\nimport shutil\nimport os\nimport zarr\nimport numpy as np\n\n\nclass TestScript(unittest.TestCase):\n\n def setUp(self):\n shutil.rmtree(\"output\", ignore_errors=True)\n os.mkdir(\"output\")\n\n def check_example_callset(self, callset):\n assert \"2R\... | [
[
"numpy.all",
"numpy.any"
]
] |
fusefactory/muse-lsl | [
"b713b32e93b0ed13b6ffd4d431bb29450ec0db54",
"b713b32e93b0ed13b6ffd4d431bb29450ec0db54"
] | [
"muselsl/record.py",
"examples/neurofeedback.py"
] | [
"import numpy as np\nimport pandas as pd\nimport os\nfrom typing import Union, List, Optional\nfrom pathlib import Path\nfrom pylsl import StreamInlet, resolve_byprop\nfrom sklearn.linear_model import LinearRegression\nfrom time import time, strftime, gmtime\nfrom .stream import find_muse\nfrom . import backends\nf... | [
[
"numpy.concatenate",
"numpy.array",
"sklearn.linear_model.LinearRegression",
"pandas.DataFrame",
"numpy.abs"
],
[
"numpy.array",
"numpy.asarray",
"numpy.zeros",
"numpy.mean",
"numpy.floor"
]
] |
BigDataSystemTHU2018/Project-Unicom | [
"eef8302a0213cf1709fbeb76ac7e0360be3cf79f"
] | [
"Code/PostProcesssor/Visualization/heatmap_gif.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\nSpyder Editor\n\nThis is a temporary script file.\n\"\"\"\n# -*- coding: utf-8 -*-\n\"\"\"\nCreated on Sun Dec 9 20:57:19 2018\n\n@author: xiaofeiyu\n\"\"\"\nimport pandas as pd\nimport numpy as np\nimport os\nimport imageio\nimport seaborn as sns\nfrom matplotlib import pyplot as... | [
[
"pandas.DataFrame",
"matplotlib.pyplot.title",
"matplotlib.pyplot.close",
"matplotlib.pyplot.figure",
"pandas.read_csv",
"numpy.meshgrid"
]
] |
burakekici/Naive-Bayes-and-KNN | [
"6d6a309b01802298e81bf29ff1515d532b0dbc71"
] | [
"part2.py"
] | [
"\"\"\"\n Introduction to Artificial Intelligence\n K-Nearest Neighbors\n Due: 18.05.2017\n\"\"\"\nfrom collections import Counter\n\nimport numpy as np\nfrom scipy.spatial import distance\nfrom sklearn import metrics\nfrom sklearn.datasets import load_iris\nfrom sklearn.utils import shuffle\n\n\ndef main(... | [
[
"numpy.delete",
"scipy.spatial.distance.euclidean",
"sklearn.datasets.load_iris",
"sklearn.metrics.accuracy_score",
"numpy.hstack",
"numpy.vstack",
"sklearn.utils.shuffle"
]
] |
jairotunior/gym-trading | [
"d4ccd33db600328bcc99e255bf0ec52ff9ab03f6"
] | [
"utils/plot.py"
] | [
"import numpy\n\n\ndef fig2data(fig):\n \"\"\"\n @brief Convert a Matplotlib figure to a 4D numpy array with RGBA channels and return it\n @param fig a matplotlib figure\n @return a numpy 3D array of RGBA values\n \"\"\"\n # draw the renderer\n fig.canvas.draw()\n\n # Get the RGBA buffer fro... | [
[
"numpy.roll"
]
] |
Novare/pytorch_scatter | [
"6733f0e290797267df92eacd38914d093f679e73"
] | [
"torch_scatter/composite/softmax.py"
] | [
"import torch\n\nfrom torch_scatter import scatter_add, scatter_max\nfrom torch_scatter.utils.gen import broadcast\n\n\ndef scatter_softmax(src, index, dim=-1, eps=1e-12):\n r\"\"\"\n Softmax operation over all values in :attr:`src` tensor that share indices\n specified in the :attr:`index` tensor along a ... | [
[
"torch.log",
"torch.is_floating_point"
]
] |
jsztompka/DuelDQN | [
"3b1234425b66034ef233ac988305dc13ffbf7ace"
] | [
"per.py"
] | [
"import numpy as np\nfrom collections import namedtuple, deque\nimport torch \nimport config\n\ndevice = config.device\n\nclass SumTree():\n \"\"\"\n This SumTree code is modified version and the original code is from: \n https://github.com/jaara/AI-blog/blob/master/SumTree.py\n Store the data with its ... | [
[
"numpy.max",
"numpy.empty",
"numpy.zeros",
"numpy.minimum",
"numpy.random.seed",
"numpy.min",
"numpy.random.uniform",
"numpy.power",
"numpy.vstack"
]
] |
OVVO-Financial/precise | [
"ce744cadfca18f4ab77c68cc27bf8d712561127f"
] | [
"precise/skaters/covariance/bufskfactory.py"
] | [
"import numpy as np\nfrom precise.skaters.covarianceutil.conventions import X_TYPE, X_DATA_TYPE, is_data\nfrom precise.skaters.covariance.buffactory import buf_pcov_factory\nfrom precise.skaters.covarianceutil.datacovfunctions import pcov_of_columns\nimport warnings\n\n\ndef buf_sk_factory(cls, y:X_TYPE=None, s:dic... | [
[
"numpy.array",
"numpy.nanmean"
]
] |
AndreWohnsland/CocktailBerry | [
"60b2dfc3a4a6f3ef9ab2d946a97d14829e575a9d"
] | [
"dashboard/frontend/treemap.py"
] | [
"import json\nimport os\nimport warnings\nimport requests\nimport plotly.express as px\nimport pandas as pd\nfrom language import language\nfrom store import store\n\n# something from plotly triggers pandas warnign\nwarnings.filterwarnings(\"ignore\")\n\n\nDF_START = pd.DataFrame(\n [(language.DEFAULT_MESSAGE, l... | [
[
"pandas.DataFrame"
]
] |
vamsi3/pix2pix | [
"379577417d7b7e5141147ad66db7a1cede27debe"
] | [
"src/main.py"
] | [
"import argparse\nimport csv\nimport os\nimport time\nimport torch\nimport torchvision\n\nfrom data import dataloader\nfrom model import Pix2Pix\n\n\nEXECUTION_ID = time.strftime('%m_%d_%H_%M_%S')\n\nparser = argparse.ArgumentParser()\n\n# Data\nparser.add_argument('--data_root', required=True, type=str)\nparser.ad... | [
[
"torch.cat",
"torch.cuda.is_available"
]
] |
obrien-lab/cg_simtk_protain_folding | [
"c64aa49696afe6fc1680c083cda556697d937f52"
] | [
"Analysis_protocol/post_trans_JS_divergence.py"
] | [
"#!/usr/bin/env python3\nimport sys, getopt, math, os, time, traceback\nimport numpy as np\nfrom scipy.stats import entropy\n\n################################# Arguments ###################################\n# Default parameters\ndt = 0.015/1000\nnsave = 5000\nalpha = 4331293.0\nn_window = 200\nn_traj = 100\nnum_re... | [
[
"numpy.max",
"numpy.array",
"numpy.zeros",
"numpy.sum",
"numpy.copy",
"scipy.stats.entropy",
"numpy.load",
"numpy.arange"
]
] |
jawadbabar/nums-custom-add | [
"28bf2982f404ef7754cc27f1b0697bdd436d6ad1",
"28bf2982f404ef7754cc27f1b0697bdd436d6ad1"
] | [
"tests/models/test_glms.py",
"nums/models/glms.py"
] | [
"# coding=utf-8\n# Copyright (C) 2020 NumS Development Team.\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 requir... | [
[
"numpy.concatenate",
"numpy.product",
"numpy.array",
"numpy.dot",
"sklearn.linear_model.PoissonRegressor",
"sklearn.linear_model.LinearRegression",
"numpy.random.RandomState",
"numpy.ones",
"numpy.allclose",
"sklearn.linear_model.LogisticRegression",
"numpy.arange"
],... |
fperezgamonal/flownet2-tf | [
"fd7cde8af1cb15fa1d4cc5ab0fe40f3c8c06b227"
] | [
"scripts/caffe/convert_caffe_weights_to_npy.py"
] | [
"\"\"\"\nPlease read README.md for usage instructions.\n\nExtracts Caffe parameters from a given caffemodel/prototxt to a dictionary of numpy arrays,\nready for conversion to TensorFlow variables. Writes the dictionary to a .npy file.\n\"\"\"\nimport argparse\nimport caffe\nimport numpy as np\nimport os\nimport tem... | [
[
"numpy.save"
]
] |
evgenevolkov/Automated-car-tracker-and-plates-reader | [
"5cee11b654bb8cfd20d081198af43b56811d2107"
] | [
"tfyolov4/core/utils_plates.py"
] | [
"import cv2\nimport random\nimport colorsys\nimport numpy as np\nimport tensorflow as tf\nfrom core.config_plates import cfg\n\ndef load_freeze_layer(model='yolov4', tiny=False):\n if tiny:\n if model == 'yolov3':\n freeze_layouts = ['conv2d_9', 'conv2d_12']\n else:\n freeze_l... | [
[
"numpy.concatenate",
"numpy.full",
"numpy.array",
"numpy.product",
"tensorflow.minimum",
"tensorflow.concat",
"tensorflow.math.divide_no_nan",
"numpy.exp",
"numpy.float32",
"numpy.argmax",
"numpy.fromfile",
"tensorflow.maximum"
]
] |
grtzsohalf/SpeechNet-codebase | [
"cb88100a427e699a88a1ff303b6821a1d50e9415",
"cb88100a427e699a88a1ff303b6821a1d50e9415"
] | [
"bin/se/objective.py",
"bin/verifi/train_verifi.py"
] | [
"import torch\nimport torch.nn as nn\nimport torch.nn.functional as F\nimport math\nimport numpy as np\nimport scipy\nfrom scipy.signal.windows import hann as hanning\nfrom torch import Tensor\nfrom functools import partial\nfrom utils import *\nfrom asteroid.losses.sdr import SingleSrcNegSDR\nfrom asteroid.losses.... | [
[
"torch.sum",
"torch.nn.MSELoss",
"torch.nn.L1Loss"
],
[
"torch.cuda.set_device",
"torch.nn.parallel.DistributedDataParallel"
]
] |
pantelisantonoudiou/sake-plot | [
"94485497f07fb097db6fbc246f62e16c02a631f7"
] | [
"facet_plot_gui.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\nCreated on Tue Aug 10 14:53:48 2021\n\n@author: gweiss01\n\"\"\"\nimport pandas as pd\nimport seaborn as sns\nfrom matplotlib import pyplot as plt\nimport numpy as np\nimport os\nimport PyQt5\n# mpl.use('TkAgg')\n\nclass GridGraph:\n def __init__(self,path,filename,data):\n ... | [
[
"pandas.DataFrame",
"numpy.ones",
"numpy.linspace",
"matplotlib.pyplot.figtext",
"pandas.concat",
"matplotlib.pyplot.show",
"pandas.read_csv"
]
] |
nlptrinh/merlot_reserve | [
"008c3c100651556fc63065a694b07515a207d909"
] | [
"pretrain/dataloader.py"
] | [
"\"\"\"\nPretraining dataloader\n\"\"\"\nimport sys\n\nsys.path.append('../')\nimport time\nfrom pretrain.data_utils import resize_and_pad, get_shape_list, pad_to_fixed_size, \\\n uniform_random_select, random_categorical_without_replacement, sample_bernoulli, batch_index_iterator, \\\n sample_bernoullis, cum... | [
[
"tensorflow.config.experimental.set_visible_devices",
"tensorflow.data.TFRecordDataset",
"tensorflow.cumsum",
"tensorflow.ones",
"tensorflow.logical_not",
"tensorflow.reshape",
"tensorflow.zeros_like",
"tensorflow.stack",
"tensorflow.greater",
"tensorflow.tile",
"tensor... |
RichardChangCA/word-embeddings-benchmarks | [
"4755ec8aa1e01db2241a5d009de5c7a598c82cb4",
"4755ec8aa1e01db2241a5d009de5c7a598c82cb4"
] | [
"web/embeddings.py",
"web/datasets/similarity.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\n Fetchers for publicly available pretrained embeddings\n\"\"\"\nfrom six.moves import cPickle as pickle\nfrom os import path\nimport numpy as np\nfrom .datasets.utils import _get_dataset_dir, _fetch_file\nfrom .embedding import Embedding\n\ndef load_embedding(fname, format=\"word2v... | [
[
"numpy.array"
],
[
"numpy.std",
"numpy.mean"
]
] |
ArgentumWalker/dreamer | [
"42da69aab52674c36de0ac6a35aa9c08e791da4f"
] | [
"models.py"
] | [
"import numpy as np\nimport tensorflow as tf\nfrom tensorflow.keras import layers as tfkl\nfrom tensorflow_probability import distributions as tfd\nfrom tensorflow.keras.mixed_precision import experimental as prec\n\nimport tools\n\n\nclass RSSM(tools.Module):\n\n def __init__(self, stoch=30, deter=200, hidden=2... | [
[
"tensorflow.zeros",
"tensorflow.shape",
"tensorflow.concat",
"tensorflow.keras.layers.GRUCell",
"numpy.exp",
"tensorflow.transpose",
"tensorflow.reshape",
"tensorflow.keras.mixed_precision.experimental.global_policy",
"tensorflow.nn.softplus",
"numpy.prod",
"tensorflow.... |
manjeetbhatia/models | [
"dcda7a9dfaaf9f21ecb9571ff9f5fe2e34f65ff3"
] | [
"models/image_recognition/tensorflow/resnet50/inference/eval_image_classifier_inference.py"
] | [
"#\n# -*- coding: utf-8 -*-\n#\n# Copyright (c) 2018 Intel Corporation\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# Unle... | [
[
"tensorflow.compat.v1.gfile.FastGFile",
"tensorflow.compat.v1.ConfigProto",
"tensorflow.Graph",
"tensorflow.import_graph_def",
"tensorflow.random.uniform",
"tensorflow.compat.v1.GraphDef",
"tensorflow.compat.v1.Session",
"tensorflow.constant",
"numpy.argmax",
"tensorflow.py... |
RTIInternational/gobbli | [
"d9ec8132f74ce49dc4bead2fad25b661bcef6e76"
] | [
"gobbli/test/experiment/test_classification_experiment.py"
] | [
"import tempfile\nimport warnings\nfrom pathlib import Path\n\nimport pandas as pd\nimport pytest\n\nfrom gobbli.dataset.cmu_movie_summary import MovieSummaryDataset\nfrom gobbli.dataset.newsgroups import NewsgroupsDataset\nfrom gobbli.experiment.classification import (\n ClassificationExperiment,\n Classific... | [
[
"pandas.DataFrame"
]
] |
cynricshu/faiss | [
"908812266c4472b0ab07ac46a5a65635cdad8bb5"
] | [
"tests/test_index.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\"\"\"this is a basic test script for simple indices work\"\"\"\nfrom __future__ import absolute_import, division, print_function\n#... | [
[
"numpy.dot",
"numpy.linalg.norm",
"numpy.zeros",
"numpy.random.RandomState",
"numpy.testing.assert_almost_equal",
"numpy.ascontiguousarray",
"numpy.median",
"numpy.testing.assert_equal",
"numpy.allclose",
"numpy.where",
"numpy.arange",
"numpy.abs",
"numpy.all"
... |
marcin-sielski/keras-yolo3 | [
"cbde1c8d7daf0c7f710d06d55535ed8fe6bded20"
] | [
"yolo.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\nClass definition of YOLO_v3 style detection model on image and video\n\"\"\"\n\nimport colorsys\nimport os\nfrom timeit import default_timer as timer\n\nimport numpy as np\nfrom keras import backend as K\nfrom keras.models import load_model\nfrom keras.layers import Input\nfrom PIL... | [
[
"numpy.array",
"numpy.asarray",
"numpy.random.seed",
"numpy.random.shuffle",
"numpy.expand_dims",
"numpy.floor"
]
] |
KirillPushkarev/valuenet | [
"54ff6351e55d0b7c74b3d9db9ea8f686e3d855d9"
] | [
"src/tools/is_cuda_working.py"
] | [
"# setting device on GPU if available, else CPU\nimport torch\n\ndevice = torch.device('cuda' if torch.cuda.is_available() else 'cpu')\nprint('Using device:', device)\nprint()\n\n# Additional Info when using cuda\nif device.type == 'cuda':\n print(torch.cuda.get_device_name(0))\n print('Memory Usage:')\n p... | [
[
"torch.cuda.memory_cached",
"torch.cuda.is_available",
"torch.cuda.memory_allocated",
"torch.cuda.get_device_name"
]
] |
usbulat/alphafold | [
"9d5377ba42282ec430145cba19d3a5a5aabf10bb"
] | [
"run_alphafold.py"
] | [
"# Copyright 2021 DeepMind Technologies Limited\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 applic... | [
[
"numpy.repeat"
]
] |
liujiaxing7/mmdetection | [
"ca1def4bf01aaad59768f94c47cd89fd92b36167"
] | [
"mmdet/models/dense_heads/yolo_head.py"
] | [
"# Copyright (c) OpenMMLab. All rights reserved.\n# Copyright (c) 2019 Western Digital Corporation or its affiliates.\n\nimport warnings\n\nimport torch\nimport torch.nn as nn\nimport torch.nn.functional as F\nfrom mmcv.cnn import (ConvModule, bias_init_with_prob, constant_init, is_norm,\n norm... | [
[
"torch.zeros",
"torch.sigmoid",
"torch.cat",
"torch.nn.functional.one_hot",
"torch.nn.ModuleList",
"torch.max",
"torch.arange",
"torch.unsqueeze",
"torch.nn.Conv2d",
"torch.tensor"
]
] |
Meso272/PyTorch-VAE | [
"b1f80082a92c706969a63162ae083b9f7d15d9aa"
] | [
"experiment.py"
] | [
"import math\nimport torch\nfrom torch import optim\nfrom models import BaseVAE\nfrom models.types_ import *\nfrom utils import data_loader\nimport pytorch_lightning as pl\nfrom torchvision import transforms\nimport torchvision.utils as vutils\nfrom torchvision.datasets import CelebA\nfrom torch.utils.data import D... | [
[
"torch.optim.lr_scheduler.ExponentialLR",
"torch.stack",
"torch.utils.data.DataLoader"
]
] |
saintube/rails_sample_app | [
"ccbd7b7c1cb0b7d2a34eac5e61e2eeed1fe1c85b"
] | [
"algorithm/model_manage.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\nCreated on Sun Dec 23 15:22:34 2018\n\n@author: WangWenming\n\"\"\"\nfrom sklearn.externals import joblib\n\nclass TrainData(object):\n default_path = './model/train_data.pkl'\n\n @staticmethod\n def save(model, filename=None):\n joblib.dump(model, filename if filen... | [
[
"sklearn.externals.joblib.load",
"sklearn.externals.joblib.dump"
]
] |
JackBurdick/dataduit | [
"b6fdc00c4638e4c41cf4fd824ddedcc19ce8ac8a"
] | [
"dataduit/dataset/io/read/location/local/records/read.py"
] | [
"import pathlib\n\nimport tensorflow as tf\nimport tensorflow_datasets as tfds\nfrom dataduit.log.dataduit_logging import config_logger\nfrom dataduit.dataset.io.read.location.local.records.parse import return_parse_feature\n\n\ndef read_tf_from_dir(config_dict):\n logger = config_logger(config_dict[\"meta\"][\"... | [
[
"tensorflow.tuple",
"tensorflow.data.Dataset.list_files",
"tensorflow.data.TFRecordDataset",
"tensorflow.io.decode_image",
"tensorflow.io.parse_single_example"
]
] |
rec/wavemap | [
"236583b8a7ba4a6ae3c6c5821868ee29875c6a4f"
] | [
"wavemap/write.py"
] | [
"from . import docs\nfrom . import raw\nfrom .structure import wave\nfrom .structure.wave import PCM, NON_PCM, FMT_PCM, FMT_NON_PCM\nfrom typing import Callable, Optional, Type, Union\nimport numpy as np\n\nCHUNK_HEADER = 8\nDEFAULT_SAMPLE_RATE = 44100\n\n\nclass WriteMap(raw.RawMap):\n \"\"\"\"Memory-map a new ... | [
[
"numpy.copyto",
"numpy.dtype"
]
] |
Josh-Hegewald/uci-statnlp | [
"c489dcb1ed391b56a6a266f02b1ed214ca7f544f"
] | [
"hw1/practice.py"
] | [
"\n\nlist_1 = [\"practicing practices practiced\", \"I love to see the temple. I'm going there someday.\"]\n\nfrom nltk.stem import WordNetLemmatizer\nimport nltk\nwordnet_lemmatizer = WordNetLemmatizer()\nnew_list = []\nfor i in range(len(list_1)):\n\ttokenization = nltk.word_tokenize(str(list_1[i]))\n\ttemp = []\... | [
[
"sklearn.feature_extraction.text.TfidfTransformer",
"sklearn.feature_extraction.text.CountVectorizer"
]
] |
iaroslav-ai/scikit-optimize | [
"19b25cf103232b410bc814c10701d9dac7361993"
] | [
"skopt/optimizer/gbrt.py"
] | [
"\nfrom sklearn.utils import check_random_state\n\nfrom .base import base_minimize\nfrom ..utils import cook_estimator\n\n\ndef gbrt_minimize(func, dimensions, base_estimator=None,\n n_calls=100, n_random_starts=10,\n acq_func=\"EI\", acq_optimizer=\"auto\",\n x0=N... | [
[
"sklearn.utils.check_random_state"
]
] |
pawan-shewale/ga-learner-dsmp-repo | [
"7b7b36363434ffe8508ac83b6c04e94e35c92a5a"
] | [
"Satistics-basics/code.py"
] | [
"# --------------\n#Header files\r\nimport pandas as pd\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n\r\n\r\n#path of the data file- path\r\ndata = pd.read_csv(path)\r\n\r\ndata['Gender'].replace('-','Agender',inplace=True)\r\n\r\ngender_count = data.Gender.value_counts()\r\n\r\ngender_count.plot(kin... | [
[
"pandas.read_csv",
"matplotlib.pyplot.figure"
]
] |
mattwthompson/openforcefield | [
"1a201f16abbc27bbeec858ec840481e749a6f08c"
] | [
"openff/toolkit/tests/test_toolkits.py"
] | [
"#!/usr/bin/env python\n\n# =============================================================================================\n# MODULE DOCSTRING\n# =============================================================================================\n\n\"\"\"\nTests for cheminformatics toolkit wrappers\n\n\"\"\"\n\n# ========... | [
[
"numpy.testing.assert_allclose",
"numpy.array",
"numpy.isclose",
"numpy.testing.assert_almost_equal",
"numpy.copy",
"numpy.ones",
"numpy.mean",
"numpy.allclose",
"numpy.sqrt",
"numpy.random.random"
]
] |
indymnv/feature_engine | [
"df996b718ef9335dd4b593087b3d6177a919ccf5",
"df996b718ef9335dd4b593087b3d6177a919ccf5"
] | [
"tests/test_encoding/test_count_frequency_encoder.py",
"feature_engine/imputation/base_imputer.py"
] | [
"import pandas as pd\nimport pytest\nfrom sklearn.exceptions import NotFittedError\n\nfrom feature_engine.encoding import CountFrequencyEncoder\n\n\ndef test_encode_1_variable_with_counts(df_enc):\n # test case 1: 1 variable, counts\n encoder = CountFrequencyEncoder(encoding_method=\"count\", variables=[\"var... | [
[
"pandas.testing.assert_frame_equal"
],
[
"sklearn.utils.validation.check_is_fitted"
]
] |
Huilin-Li/UNIOA | [
"0f2527eac955a7193406775e5b71fab35f064422"
] | [
"UNIOA/Opt_X.py"
] | [
"from sklearn.metrics import pairwise_distances\nfrom .LevyFlight import Levy\nimport numpy as np\nfrom numba import jit, prange\n\nclass Opt_X:\n @staticmethod\n def your():\n pass\n\n # <editor-fold desc=\"2 defs for ba: ba, ba_but_asyncE\">\n @staticmethod\n def ba(old_X, new_Y, old_x_g, ol... | [
[
"numpy.concatenate",
"numpy.ceil",
"numpy.random.rand",
"numpy.random.choice",
"numpy.zeros",
"numpy.random.randn",
"numpy.exp",
"sklearn.metrics.pairwise_distances",
"numpy.random.uniform",
"numpy.all",
"numpy.remainder",
"numpy.argsort",
"numpy.clip",
"num... |
Fusion-Goettingen/ExtendedTargetTrackingToolbox | [
"945ede661e9258a8f1ca8abc00e25727fedf3ac7"
] | [
"misc/numba_matrix.py"
] | [
"__author__ = \"Jens Honer\"\n__copyright__ = \"Copyright 2018, Jens Honer Tracking Toolbox\"\n__email__ = \"-\"\n__license__ = \"mit\"\n__version__ = \"1.0\"\n__status__ = \"Prototype\"\n\nimport numpy as np\nfrom numba import guvectorize\nfrom numba import float32, float64\n\n\n@guvectorize([(float64[:], float64[... | [
[
"numpy.outer",
"numpy.dot",
"numpy.zeros"
]
] |
linklab/minimal_rl | [
"382d99ca355ea405414c4ed1077fb4e8ed3532a9"
] | [
"e_A2C/A2C_model_load_and_play.py"
] | [
"import sys\nimport time\n\nimport gym\nimport torch\nimport os\n\nfrom torch.distributions import Categorical\n\nCURRENT_PATH = os.path.dirname(os.path.realpath(__file__))\nPROJECT_HOME = os.path.abspath(os.path.join(CURRENT_PATH, os.pardir))\nif PROJECT_HOME not in sys.path:\n sys.path.append(PROJECT_HOME)\n\n... | [
[
"torch.distributions.Categorical",
"torch.cuda.is_available",
"torch.from_numpy"
]
] |
vcowwy/CvT_paddle | [
"de8c28fbbc83e2c6c2479d44971020b15e7b12ec"
] | [
"dataset/imagenet/real_labels.py"
] | [
"import os\r\nimport json\r\nimport numpy as np\r\n\r\n\r\nclass RealLabelsImagenet:\r\n\r\n def __init__(self, filenames, real_json='real.json', topk=(1, 5)):\r\n with open(real_json) as real_labels:\r\n real_labels = json.load(real_labels)\r\n real_labels = {f'ILSVRC2012_val_{i + 1... | [
[
"numpy.mean"
]
] |
mikami520/nnUNet | [
"ab0a12a0fa36f38fbae3b8f8a1e63cefefdc481a"
] | [
"nnunet/dataset_conversion/Task159_MyoPS2020.py"
] | [
"import SimpleITK\nimport numpy as np\nfrom batchgenerators.utilities.file_and_folder_operations import *\nimport shutil\n\nimport SimpleITK as sitk\nfrom nnunet.paths import nnUNet_raw_data\nfrom nnunet.dataset_conversion.utils import generate_dataset_json\nfrom nnunet.utilities.sitk_stuff import copy_geometry\n\n... | [
[
"numpy.zeros"
]
] |
BassmanBiff/NumpySocket | [
"67eb3a1bd7aaae4a08d17e8b76a7cb2f2e7bf2c9"
] | [
"examples/OpenCV/server_cv.py"
] | [
"import cv2\nfrom numpysocket import NumpySocket\nfrom scipy.misc import imresize\n\nhost_ip = 'localhost' # change me\ncap = cv2.VideoCapture(0)\nnpSocket = NumpySocket()\nnpSocket.startServer(host_ip, 9999)\n\n# Read until video is completed\nwhile cap.isOpened():\n ret, frame = cap.read()\n ref_frame = cv... | [
[
"scipy.misc.imresize"
]
] |
billpsomas/Traffic-Signs-Classification | [
"8f8068a92e57a271d6468733c70492a0c258efed"
] | [
"restrictnet_tensorflow.py"
] | [
"#Import the necassary libraries and files\r\nimport numpy as np\r\nfrom sklearn.utils import shuffle\r\nimport os\r\nimport tensorflow as tf\r\nfrom tensorflow.contrib.layers import flatten\r\nimport pandas as pd\r\nfrom load_and_explore_data import X_train, y_train, X_valid, y_valid, X_test, y_test\r\n\r\nclass R... | [
[
"tensorflow.get_default_session",
"tensorflow.nn.conv2d",
"tensorflow.matmul",
"tensorflow.one_hot",
"tensorflow.global_variables_initializer",
"tensorflow.contrib.layers.flatten",
"tensorflow.cast",
"sklearn.utils.shuffle",
"tensorflow.nn.softmax_cross_entropy_with_logits_v2",... |
juancas9812/Procesamiento-de-Imagenes | [
"871d83c669da65704150a523c95c4c4e42485d48"
] | [
"filtrado.py"
] | [
"import cv2\nimport numpy as np\n\n\ndef us_mask(original, kernel, amount):\n blurred = cv2.GaussianBlur(original, kernel, 0)\n result = original + (original-blurred)*amount\n #result = cv2.convertScaleAbs(result)\n im1 = cv2.addWeighted(original, 1.0 + amount, blurred, -amount, 0)\n # im1 = im + 3.0... | [
[
"numpy.array"
]
] |
yang-sec/CAN-SessionKey | [
"3435dcc33e5e9fbb262c6271ba5dc805f2a34599"
] | [
"Benchmark/ExtrapolationAnalyses/computation_complexity_ECU_Due.py"
] | [
"# For ACSAC'20 Paper: \"Session Key Distribution Made Practical for CAN and CAN-FD Message Authentication\"\n# Plotting the extrapolated total computation workload\n#\n# Yang Xiao <xiaoy@vt.edu>\n\nimport numpy as np\nimport matplotlib.pyplot as plt\n\n\nN = [2,5,10] # Number of normal ECUs\nM = [5,10,15,20,25,30... | [
[
"matplotlib.pyplot.xlabel",
"matplotlib.pyplot.grid",
"matplotlib.pyplot.plot",
"matplotlib.pyplot.legend",
"matplotlib.pyplot.yticks",
"matplotlib.pyplot.ylabel",
"matplotlib.pyplot.show"
]
] |
legolason/MOSFiT | [
"bb1924552a2929c58ca1b2c8cf71ecc532f719f0"
] | [
"mosfit/modules/transforms/diffusion_csm.py"
] | [
"\"\"\"Definitions for the `DiffusionCSM` class.\"\"\"\nfrom collections import OrderedDict\n\nimport numpy as np\nfrom scipy.interpolate import interp1d\n\nfrom mosfit.constants import C_CGS, DAY_CGS, M_SUN_CGS, AU_CGS\nfrom mosfit.modules.transforms.transform import Transform\n\n\n# Important: Only define one ``M... | [
[
"numpy.concatenate",
"numpy.zeros_like",
"scipy.interpolate.interp1d",
"numpy.isnan",
"numpy.exp",
"numpy.trapz",
"numpy.searchsorted",
"numpy.log10",
"numpy.unique"
]
] |
sudabon/ml-system-in-actions | [
"4fb1b3e53e4ed7c36e82f7d4b5570e3959aef525"
] | [
"chapter2_training/cifar10/preprocess/src/extract_data.py"
] | [
"import os\nimport pickle\nfrom typing import List\n\nimport numpy as np\nfrom PIL import Image\n\n\ndef unpickle(file):\n with open(file, \"rb\") as fo:\n dict = pickle.load(fo, encoding=\"bytes\")\n return dict\n\n\ndef parse_pickle(rawdata, rootdir) -> List[List[str]]:\n for i in range(10):\n ... | [
[
"numpy.swapaxes"
]
] |
InnocentK/Practice-Neural-Network-Models | [
"3c50cec054a194394ea8de4d89445bc4037ad71a"
] | [
"lenet5cifar102.py"
] | [
"import argparse\nimport os, sys\nimport time\nimport datetime\n\n# Import pytorch dependencies\nimport torch\nimport torch.nn as nn\nimport torch.nn.functional as F\nimport torchvision\nimport torchvision.transforms as transforms\nimport torch.optim as optim\nfrom tqdm import tqdm_notebook as tqdm\n\n# You cannot ... | [
[
"torch.nn.Linear",
"torch.no_grad",
"torch.nn.Conv2d",
"torch.cuda.is_available",
"torch.utils.data.DataLoader",
"torch.load",
"torch.nn.functional.max_pool2d",
"torch.nn.CrossEntropyLoss"
]
] |
AshivDhondea/DFTS_compat_v1 | [
"beed3c195d1129de3523012d7e7738f1542a63aa",
"976e6087ff629c45f7bbc79a3de25718ed143db5"
] | [
"models/quantizer.py",
"keras_models/main_save_keras_models.py"
] | [
"import numpy as np\nimport time\n\nclass QLayer(object):\n \"\"\"Defines the quantization layer.\"\"\"\n def __init__(self, nBits):\n \"\"\"\n # Arguments\n nBits: number of bits of quantization\n \"\"\"\n super(QLayer, self).__init__()\n self.nBits = nBits\n\n ... | [
[
"numpy.max",
"numpy.round",
"numpy.min",
"numpy.seterr"
],
[
"tensorflow.keras.applications.ResNet50",
"tensorflow.keras.applications.VGG19",
"tensorflow.keras.applications.ResNet50V2",
"tensorflow.keras.applications.InceptionResNetV2",
"tensorflow.keras.applications.Xcepti... |
tbenthompson/BIE_tutorials | [
"02cd56ab7e63e36afc4a10db17072076541aab77"
] | [
"tests/test_hmatrix.py"
] | [
"import numpy as np\nimport pytest\nimport sympy as sp\nfrom kernels import kernel_types\n\nfrom tectosaur2 import gauss_rule, integrate_term, panelize_symbolic_surface, tensor_dot\nfrom tectosaur2.elastic2d import elastic_h, elastic_u\nfrom tectosaur2.hmatrix.hmatrix import (\n TempSurface,\n aca_blocks,\n ... | [
[
"numpy.testing.assert_allclose",
"numpy.array",
"numpy.sin",
"numpy.zeros",
"numpy.cos"
]
] |
ska-sa/katpoint | [
"7cbac9c2f461e4209a147bda93572b7f523531d4",
"7cbac9c2f461e4209a147bda93572b7f523531d4"
] | [
"katpoint/catalogue.py",
"scripts/merge_catalogues.py"
] | [
"################################################################################\n# Copyright (c) 2009-2021, National Research Foundation (SARAO)\n#\n# Licensed under the BSD 3-Clause License (the \"License\"); you may not use\n# this file except in compliance with the License. You may obtain a copy\n# of the Lice... | [
[
"numpy.array",
"numpy.isnan",
"numpy.isscalar",
"numpy.argsort",
"numpy.abs"
],
[
"matplotlib.pyplot.yticks",
"matplotlib.pyplot.figure",
"matplotlib.pyplot.figtext",
"numpy.arange",
"matplotlib.pyplot.clf",
"numpy.log10",
"matplotlib.pyplot.xticks",
"matplo... |
cebarbosa/muse-maps | [
"5748b443482d4d8ef915be544c196f589c6f16da"
] | [
"plots/mapplot.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\n\nCreated on 10/02/16\nAdapted on 24/03/2018 to use in hydraimf project\n\n@author: Carlos Eduardo Barbosa\n\n\"\"\"\n\n\nimport os\n\nimport numpy as np\nfrom astropy.io import fits\nimport matplotlib.pyplot as plt\nimport matplotlib.gridspec as gridspec\nfrom matplotlib.patches i... | [
[
"matplotlib.pyplot.text",
"matplotlib.pyplot.xlim",
"matplotlib.pyplot.arrow",
"numpy.where",
"matplotlib.pyplot.minorticks_on",
"matplotlib.patches.Rectangle",
"matplotlib.pyplot.colorbar",
"numpy.zeros_like",
"matplotlib.pyplot.savefig",
"numpy.isfinite",
"matplotlib.... |
pyomeca/pyosim_aws | [
"91c225b597d52523a1cf30839082c134fb88a4c9"
] | [
"pipeline/3_forces.py"
] | [
"\"\"\"\nExport forces to sto\n\"\"\"\nfrom pathlib import Path\nimport matplotlib.pyplot as plt\nimport numpy as np\nimport yaml\nfrom pyosim import Conf\nfrom pyosim import Analogs3dOsim\n\naws_conf = yaml.safe_load(open(\"../conf.yml\"))\nlocal_or_distant = \"distant\" if aws_conf[\"distant_id\"][\"enable\"] els... | [
[
"numpy.array",
"numpy.isnan",
"matplotlib.pyplot.title",
"numpy.genfromtxt",
"matplotlib.pyplot.subplots",
"numpy.argwhere",
"matplotlib.pyplot.show",
"numpy.insert"
]
] |
gluttony2016/RNN | [
"8991f020abdb5b28d9f73062dbfcd88d30d760a8"
] | [
"model.py"
] | [
"import tensorflow as tf\nfrom pydoc import locate\nfrom config.configurable import Configurable\nfrom encoder import Encoder\nfrom decoder import Decoder\nfrom train_op import build_train_op\n\nclass DRGD(Configurable):\n def __init__(self, mode=tf.contrib.learn.ModeKeys.TRAIN, name='DRGD'):\n super(DRGD... | [
[
"tensorflow.name_scope"
]
] |
Dan-Patterson/Tools_for_ArcGIS_Pro | [
"b5c253d59d57bd1abe7e2433a77aed7d3ea22567",
"b5c253d59d57bd1abe7e2433a77aed7d3ea22567"
] | [
"field_calculator/Field_Calculator_defs_2017_07_03.py",
"PointTools/Scripts/circlepnts.py"
] | [
"# -*- coding: UTF-8 -*-\r\n\"\"\"\r\n:Script: Field_Calculator_defs.py\r\n:Author: Dan.Patterson@carleton.ca\r\n:Created: 2013-??-??\r\n:Modified: 2016-09-17\r\n:Purpose: demonstration functions that can be used in the field calculator\r\n:Useage:\r\n: copy the function into the code block and put in the sug... | [
[
"numpy.random.random",
"numpy.random.randint"
],
[
"numpy.sin",
"numpy.set_printoptions",
"numpy.ma.masked_print_option.set_display",
"numpy.arange",
"numpy.cos",
"numpy.squeeze",
"numpy.vstack"
]
] |
faribas/RMG-Py | [
"1d2c2b684580396e984459d9347628a5ceb80e2e",
"6149e29b642bf8da9537e2db98f15121f0e040c7"
] | [
"external/cclib/method/population.py",
"rmgpy/measure/simulate.py"
] | [
"\"\"\"\ncclib (http://cclib.sf.net) is (c) 2006, the cclib development team\nand licensed under the LGPL (http://www.gnu.org/copyleft/lgpl.html).\n\"\"\"\n\n__revision__ = \"$Revision: 733 $\"\n\nimport logging\n\nimport numpy\n\nfrom calculationmethod import Method\n\n\nclass Population(Method):\n \"\"\"A base... | [
[
"numpy.add",
"numpy.zeros"
],
[
"numpy.zeros_like",
"numpy.dot",
"numpy.zeros",
"numpy.exp",
"numpy.identity"
]
] |
tynski/ImageCaptioning | [
"232018d36d11e82a51af1dcc4a87fbe38e6c9709"
] | [
"image_captioning/models/encoder.py"
] | [
"import tensorflow as tf\n\n\nclass CNN_Encoder(tf.keras.Model):\n def __init__(self, embedding_dim):\n super(CNN_Encoder, self).__init__()\n # shape after fc == (batch_size, 64, embedding_dim)\n self.fc = tf.keras.layers.Dense(embedding_dim)\n\n def call(self, x):\n x = self.fc(x)... | [
[
"tensorflow.nn.relu",
"tensorflow.keras.layers.Dense"
]
] |
amaurea/pixell | [
"d3ac217d94615596905df6bef4028b3d2a603eb5"
] | [
"pixell/lensing.py"
] | [
"import numpy as np\nfrom . import enmap, utils, powspec\ntry: from . import interpol\nexcept ImportError: pass\n\n####### Flat sky lensing #######\n\ndef lens_map(imap, grad_phi, order=3, mode=\"spline\", border=\"cyclic\", trans=False, deriv=False, h=1e-7):\n\t\"\"\"Lens map imap[{pre},ny,nx] according to grad_ph... | [
[
"numpy.max",
"numpy.result_type",
"numpy.array",
"numpy.sin",
"numpy.empty",
"numpy.arccos",
"numpy.arcsin",
"numpy.sum",
"numpy.where",
"numpy.any",
"numpy.arctan2",
"numpy.cos",
"numpy.all"
]
] |
ChalamPVS/Unity-Tennis | [
"e7d60234b0f68e360cb898c7ede4cdb209430448"
] | [
"maddpg_agent_ctde.py"
] | [
"from collections import namedtuple, deque\nimport numpy as np \nimport random\nimport torch\nimport copy\nimport torch.nn.functional as F \nfrom model import Actor, Critic\nimport torch.optim as optim\n\nBUFFER_SIZE = int(1e6)\nSHARED_REPLAY_BUFFER = True\nDEVICE = torch.device(\"cuda:0\" if torch.cuda.is_availabl... | [
[
"torch.cat",
"torch.no_grad",
"numpy.ones",
"torch.from_numpy",
"torch.nn.functional.mse_loss",
"torch.cuda.is_available",
"numpy.vstack",
"numpy.clip",
"numpy.expand_dims"
]
] |
LouPInnovations/WeatherWear | [
"7d419970dbc89b109d13b27ddbd29ce2a0ab7d9a"
] | [
"Old Work/Old ver py for the ml/Recent ver/Weatherver1.2.py"
] | [
"import requests, json, csv, ast\nimport tensorflow as tf\nfrom tensorflow import keras\nimport WeatherTrainer as wt\n\nfrom sklearn.model_selection import train_test_split\n\nkey = 'KEY'\nlocation = 'New York' #start at 0 deg\nmodel = tf.keras.models.Sequential()\ndef getweatherinfo():\n response = requests.get... | [
[
"tensorflow.keras.layers.Dropout",
"tensorflow.keras.models.Sequential",
"tensorflow.keras.layers.Dense"
]
] |
tommccoy1/transformers | [
"db396c4c29aaa6fdb9d8644ddcb9b6dd5161b17d"
] | [
"src/transformers/modeling_tf_xlnet.py"
] | [
"# coding=utf-8\n# Copyright 2018 Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team.\n# Copyright (c) 2018, NVIDIA CORPORATION. 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 w... | [
[
"tensorflow.keras.layers.Activation",
"tensorflow.ones",
"tensorflow.reshape",
"tensorflow.clip_by_value",
"tensorflow.tile",
"tensorflow.nn.softmax",
"tensorflow.one_hot",
"tensorflow.cast",
"tensorflow.einsum",
"tensorflow.concat",
"tensorflow.sigmoid",
"tensorflo... |
carolinepie/udacity_model_deployment | [
"f9125717d454ccd79bbb3234d492b32a45f5a8e6"
] | [
"Project/serve/predict.py"
] | [
"import argparse\nimport json\nimport os\nimport pickle\nimport sys\nimport sagemaker_containers\nimport pandas as pd\nimport numpy as np\nimport torch\nimport torch.nn as nn\nimport torch.optim as optim\nimport torch.utils.data\n\nfrom model import LSTMClassifier\n\nfrom utils import review_to_words, convert_and_p... | [
[
"numpy.hstack",
"torch.cuda.is_available",
"torch.load",
"torch.from_numpy"
]
] |
JIMENOFONSECA/EnthalpyGradients | [
"b82675b22b45163012f6314a51c57b14e458ea72"
] | [
"enthalpygradients/examples/simple_example.py"
] | [
"'''\nMIT License\n\nCopyright (c) 2020 Jimeno A. Fonseca\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modi... | [
[
"numpy.random.normal"
]
] |
dimarkov/predchange | [
"0871c2a2603fe7a2b1c97b60ac46cf15b6d7a2af"
] | [
"stats.py"
] | [
"\"\"\"\nCollection of helper functions.\n\"\"\"\nfrom __future__ import division\n#from builtins import range\n\nimport numpy as np\nfrom scipy.special import gammaln\n\nfrom scipy.stats import entropy\n\nfrom pymc3 import trace_to_dataframe\n\ndef binomln(x1, x2):\n return gammaln(x1+1) - gammaln(x2+1) - gamma... | [
[
"scipy.special.gammaln",
"numpy.log",
"numpy.zeros",
"scipy.stats.entropy",
"numpy.einsum"
]
] |
phohenecker/pytorch-transformer | [
"211406d82ac04a7b473bcdebda77cc3c2e9af0cf"
] | [
"examples/bert_pretraining.py"
] | [
"#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n\n\"\"\"An example of how to pretrain a transformer encoder with BERT.\"\"\"\n\n\nimport collections\nimport itertools\nimport typing\n\nimport gensim.models.word2vec as word2vec\nimport numpy as np\nimport torch\nimport torch.nn as nn\nimport torch.optim as optim\n... | [
[
"torch.LongTensor",
"numpy.zeros"
]
] |
ArgonneCPAC/gordon | [
"e230a7f7b9e3f6b7e981b04e2d045aacd31e9d17"
] | [
"gordon/tests/test_smhm.py"
] | [
"\"\"\"\n\"\"\"\nimport os\nimport numpy as np\nfrom ..sigmoid_smhm import logsm_from_logmhalo\n\n_THIS_DRNAME = os.path.dirname(os.path.abspath(__file__))\nDDRN = os.path.join(_THIS_DRNAME, \"testing_data\")\n\n\ndef test_smhm_correctness():\n X = np.loadtxt(os.path.join(DDRN, \"logsm_from_logmhalo_testing.dat\... | [
[
"numpy.allclose"
]
] |
SigismundWu/LanguageModelWithLSTM | [
"5c3e859f29b0736720ea479f172e6f3f878498d1"
] | [
"BuildALO7Corpus/CorpusFromEllisQTWB.py"
] | [
"# -*- coding:utf-8 -*-\r\nimport logging\r\nimport re\r\n\r\nimport pandas as pd\r\n\r\nfrom contrib.utils.DataCleanCheckTool import DataCleanCheckTool\r\n\r\n\r\nclass CorpusFromEllisQTWB(object):\r\n \"\"\"\r\n CorpusFromEllis, question_text without blank\r\n 由于存在大量单个单词和没有空格句子各种没有意义的a;an这类的语句或者答案,因此需要划分... | [
[
"pandas.read_csv",
"pandas.merge"
]
] |
mamanka/IML.HUJI | [
"e9a401993a08ddd99184af3d0754e306e2575b0d"
] | [
"exercises/fit_gaussian_estimators.py"
] | [
"from IMLearn.learners import UnivariateGaussian, MultivariateGaussian\nimport numpy as np\nimport plotly.graph_objects as go\nimport plotly.io as pio\nimport plotly.express\nimport pandas as pd\npio.templates.default = \"simple_white\"\n\ndef test_univariate_gaussian():\n # Question 1 - Draw samples and print f... | [
[
"numpy.random.normal",
"numpy.array",
"numpy.random.seed",
"pandas.DataFrame",
"numpy.random.multivariate_normal",
"numpy.abs",
"numpy.linspace"
]
] |
saikat021/Genetic-Dropout | [
"72405e6b4c506c5e44f06a0de787415995bf9c98"
] | [
"control.py"
] | [
"import math\nimport random\nfrom torchvision import datasets ,transforms\nfrom torchvision.datasets import ImageFolder\nfrom torch.utils.data import DataLoader,Dataset\nfrom torch import nn \nfrom torch.nn.functional import relu ,softmax \nimport copy \nfrom torch.utils.data import Subset\nimport pandas as pd \nim... | [
[
"sklearn.preprocessing.LabelEncoder",
"sklearn.preprocessing.StandardScaler",
"torch.tensor",
"sklearn.model_selection.train_test_split",
"pandas.read_csv",
"torch.nn.CrossEntropyLoss"
]
] |
jindl465/fashion-compatibility | [
"3ede6d3365a865ab8d5a201b8d3b42396563af12"
] | [
"main.py"
] | [
"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nfrom __future__ import print_function\nimport argparse\nimport os\nimport sys\nimport shutil\nimport json\n\nimport numpy as np\n\nimport torch\nimport torch.nn as nn\nimport torch.nn.functional as F\nimport torch.optim as optim\nfrom torchvision import transforms\... | [
[
"torch.nn.MarginRankingLoss",
"torch.cat",
"torch.cuda.manual_seed",
"torch.autograd.Variable",
"torch.save",
"torch.optim.Adam",
"torch.manual_seed",
"torch.cuda.is_available",
"torch.load"
]
] |
pppplin/MatchingNet | [
"995dcb2d464c0f06f551f80bcc2f3a0eac92e48e"
] | [
"experiment_builder.py"
] | [
"import tensorflow as tf\nimport tqdm\nimport numpy as np\nfrom one_shot_learning_network import OneshotNetwork\n\n\nclass ExperimentBuilder:\n\n def __init__(self, data):\n \"\"\"\n Initializes an ExperimentBuilder object. The ExperimentBuilder object takes care of setting up our experiment\n ... | [
[
"numpy.concatenate",
"tensorflow.placeholder",
"tensorflow.initialize_all_variables",
"numpy.zeros"
]
] |
chiihero/DeepLearning | [
"029d547ada401a00a1cc0b314cdb2fb8937062c9"
] | [
"PictureColoring/study/3.5/reuters.py"
] | [
"import sys\nfrom keras.datasets import reuters\nimport numpy as np\nfrom keras import models\nfrom keras import layers\nimport matplotlib.pyplot as plt\nfrom keras.utils.np_utils import to_categorical\nsys.path.append(\"../../\")\nfrom MyUtils import callbacklist, ktpsession\nimport tensorflow as tf\n\n(train_data... | [
[
"numpy.asarray",
"matplotlib.pyplot.xlabel",
"matplotlib.pyplot.plot",
"matplotlib.pyplot.legend",
"matplotlib.pyplot.title",
"matplotlib.pyplot.ylabel",
"matplotlib.pyplot.show"
]
] |
scir-zywang/Combining-Self-Supervised-Learning-and-Active-Learningfor-Disfluency-Detection | [
"74aea6fb25223a128784168f28e41b2c2d6f3f96"
] | [
"transformers/src/transformers/activations.py"
] | [
"import math\r\n\r\nimport torch\r\nimport torch.nn.functional as F\r\n\r\n\r\ndef swish(x):\r\n return x * torch.sigmoid(x)\r\n\r\n\r\ndef _gelu_python(x):\r\n \"\"\" Original Implementation of the gelu activation function in Google Bert repo when initially created.\r\n For information: OpenAI GPT's g... | [
[
"torch.sigmoid",
"torch.pow"
]
] |
hahahahahzt/DP-Star | [
"8ae5bc0f79b50445e7dfbef9bed54e55c4eafa11"
] | [
"metrics/get_plot.py"
] | [
"import matplotlib.pyplot as plt\r\nplt.rcParams['font.sans-serif']=['SimHei'] # 用来正常显示中文标签\r\nimport matplotlib.font_manager as fm # 字体管理器\r\n\r\n\r\ndef run_data():\r\n data = {\r\n \"Query AvRE\": [0.060, 0.046, 0.142, 0.025],\r\n # \"Freq Patten AvRE\": [0.748, 0.795, 0.865, 0.827],\r\n ... | [
[
"matplotlib.pyplot.savefig",
"matplotlib.pyplot.title",
"matplotlib.pyplot.plot",
"matplotlib.pyplot.legend",
"matplotlib.pyplot.ylabel",
"matplotlib.pyplot.show"
]
] |
adrianhindes/generalizedModeling | [
"ba0e366814fa289aafde4011b95d24b647da4cb6",
"ba0e366814fa289aafde4011b95d24b647da4cb6"
] | [
"misc-code/slider-test-soverflow.py",
"misc-code/simpleCase2.py"
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\nCreated on Mon Jun 3 20:13:34 2019\n\n@author: hindesa\n\"\"\"\n\nfrom numpy import pi, sin\nimport numpy as np\nimport matplotlib.pyplot as plt\nfrom matplotlib.widgets import Slider, Button, RadioButtons\n\ndef signal(amp, freq):\n return amp * sin(2 * pi * freq * t)\n\naxis_... | [
[
"matplotlib.widgets.Slider",
"matplotlib.widgets.Button",
"numpy.sin",
"matplotlib.pyplot.figure",
"numpy.arange",
"matplotlib.pyplot.show",
"matplotlib.widgets.RadioButtons"
],
[
"pandas.DataFrame",
"numpy.random.uniform",
"matplotlib.pyplot.figure"
]
] |
MINDS-i/MINDS-i-Debugger | [
"2971bd8016fccc6654f24fd21b88b66c857c8278"
] | [
"scripts/make_plots.py"
] | [
"import argparse\nimport matplotlib.pyplot as plt\n\ndef main(): \n parser = argparse.ArgumentParser(description=\"Create a plots from a rover log. Each plot will be \\\n saved as an individual file in the local directory.\")\n parser.add_argument(\"filepath\")\n parser.add_argument('-a','--all'... | [
[
"matplotlib.pyplot.xlim",
"matplotlib.pyplot.savefig",
"matplotlib.pyplot.plot",
"matplotlib.pyplot.legend",
"matplotlib.pyplot.clf"
]
] |
llsc-supercloud/teaching-examples | [
"c260b549879a576bfd69edc25a3079dc3933af30"
] | [
"Python/pytorch/Distributed/torch_test.py"
] | [
"import os\nimport argparse\nimport socket\nimport torch\nimport torch.distributed as dist\nfrom torch.multiprocessing import Process\n\n# run() will be the training function\ndef run(rank, size, hostname):\n print(f\"{hostname}: {rank} of {size}\")\n # See this : https://pytorch.org/docs/stable/nn.html#torch... | [
[
"torch.distributed.init_process_group"
]
] |
kodyli/Trade | [
"3f6ad239e2c2b73307317d1e585b226f3c9d96f5"
] | [
"var.py"
] | [
"from __future__ import print_function\r\nimport datetime\r\nimport numpy as np\r\nfrom pandas_datareader import data as web\r\nfrom scipy.stats import norm\r\n\r\n\r\ndef var_cov_var(P,c,mu,sigma):\r\n\talpha = norm.ppf(1-c,mu,sigma)\r\n\treturn P-P*(alpha + 1)\r\n\t\r\nif __name__ == \"__main__\":\r\n\tstart = da... | [
[
"numpy.std",
"scipy.stats.norm.ppf",
"numpy.mean"
]
] |
SimonEnsemble/thesis-pommerenck-1 | [
"c546b981b0fa7cebbe80e32d45dee5e8714ea89c"
] | [
"scripts-python-make-data/ising-multi-heat-capacity.py"
] | [
"#!/usr/bin/env python\n\nfrom __future__ import division\nimport sys, os\nimport numpy as np\nimport readnew\nfrom glob import glob\nimport matplotlib.pyplot as plt\nimport yaml\nimport os.path\nimport time # Need to wait some time if file is being written\nimport argparse\n\nparser = argparse.ArgumentParser(descr... | [
[
"numpy.zeros_like",
"numpy.array",
"numpy.zeros",
"numpy.copy",
"numpy.mean",
"numpy.arange",
"numpy.amax",
"numpy.amin",
"numpy.average"
]
] |
KCGallagher/moonshot-predictor | [
"3770aa4a01f08fec595cf243e01e5dd102a5335a"
] | [
"analysis_methods.py"
] | [
"# Methods for analysing the data \n\nimport numpy as np\nimport pandas as pd\nclass AnalysisMethods:\n \"\"\"Collection of methods to generate information about target compounds\n \"\"\"\n\n @staticmethod\n def type_of_amide(df):\n \"\"\"Determines whether molecule is a acrlyamide or chloroaceta... | [
[
"numpy.log10"
]
] |
Terrathaw/ba21_loma_2_py | [
"eebf5104dd054cef1ab61f0b257933ff679e75ec"
] | [
"src/main/ui/visualanalyzer.py"
] | [
"import tkinter as tk\nfrom tkinter import *\n\nimport matplotlib\nimport matplotlib.pyplot as plt\nimport numpy as np\nimport soundfile as sf\nfrom matplotlib.backends.backend_tkagg import FigureCanvasTkAgg\nfrom scipy import signal as sig\n\nimport main.common.env as env\n\nmatplotlib.use(\"TkAgg\")\nLARGE_FONT =... | [
[
"matplotlib.use",
"numpy.fft.rfft",
"numpy.sum",
"matplotlib.pyplot.subplots",
"matplotlib.backends.backend_tkagg.FigureCanvasTkAgg",
"scipy.signal.get_window",
"numpy.arange",
"numpy.abs",
"numpy.log10"
]
] |
qsnake/h5py | [
"45e77c3798032de2f740414a9e014fbca8c0ac18"
] | [
"h5py/tests/types/test_types.py"
] | [
"\n\"\"\"\n Test NumPy dtype to HDF5 type conversion.\n\"\"\"\n\nimport numpy as np\nfrom h5py import tests, h5t, h5r\n\nclass TestIntegers(tests.HTest):\n\n def test_int(self):\n \"\"\" (Types) Integer dtype to HDF5 literal \"\"\"\n htype = h5t.py_create('i')\n self.assertIsInstance(htyp... | [
[
"numpy.dtype"
]
] |
xiamaz/flowCat | [
"5fea92eff3112ea3bb669595b469735b2bfa3938",
"5fea92eff3112ea3bb669595b469735b2bfa3938"
] | [
"scripts/01_generate_soms.py",
"flowcat/seed.py"
] | [
"#!/usr/bin/env python3\n\"\"\"\nTrain a reference SOM and optionally use that to transform the given\ndataset.\n\"\"\"\nimport logging\nimport json\nfrom collections import defaultdict\n\nimport pandas as pd\nfrom argmagic import argmagic\n\nfrom flowcat import utils, io_functions, sommodels\nfrom flowcat.dataset ... | [
[
"pandas.DataFrame"
],
[
"numpy.random.seed"
]
] |
Saibaba-Alapati/Cirq | [
"680f897345eb1c71c9242515edda8f04b8594319",
"782efcd04c3bbf73a0d630306a3d1cfd9966521d",
"782efcd04c3bbf73a0d630306a3d1cfd9966521d"
] | [
"cirq-core/cirq/ion/convert_to_ion_gates_test.py",
"cirq-core/cirq/sim/simulator_base_test.py",
"cirq-core/cirq/ops/common_channels_test.py"
] | [
"# Copyright 2018 The Cirq Developers\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 by applicable law o... | [
[
"numpy.array"
],
[
"numpy.allclose",
"numpy.array"
],
[
"numpy.array",
"numpy.empty",
"numpy.random.RandomState",
"numpy.testing.assert_almost_equal",
"numpy.eye",
"numpy.sqrt",
"numpy.kron"
]
] |
Naoki-Wake/mmaction2 | [
"0a6fde1abb8403f1f68b568f5b4694c6f828e27e"
] | [
"tools/analysis/benchmark.py"
] | [
"import argparse\nimport time\n\nimport torch\nfrom mmcv import Config\nfrom mmcv.cnn import fuse_conv_bn\nfrom mmcv.parallel import MMDataParallel\nfrom mmcv.runner.fp16_utils import wrap_fp16_model\n\nfrom mmaction.datasets import build_dataloader, build_dataset\nfrom mmaction.models import build_model\n\n\ndef p... | [
[
"torch.no_grad",
"torch.cuda.synchronize"
]
] |
yukke42/CenterPointTensorRT | [
"c06ec5da881b4f44f22f9e4b67bebbd35b7d1ed3",
"c06ec5da881b4f44f22f9e4b67bebbd35b7d1ed3"
] | [
"tools/det3d/torchie/apis/train.py",
"tools/det3d/models/bbox_heads/center_head_binrot.py"
] | [
"from __future__ import division\n\nimport re\nfrom collections import OrderedDict, defaultdict\nfrom functools import partial\n\ntry:\n import apex\nexcept:\n print(\"No APEX!\")\n\nimport numpy as np\nimport torch\nfrom det3d.builder import _create_learning_rate_scheduler\n\n# from det3d.datasets.kitti.eval... | [
[
"torch.device",
"torch.tensor",
"torch.optim.lr_scheduler.MultiStepLR"
],
[
"torch.sigmoid",
"torch.cat",
"torch.nn.ModuleList",
"torch.max",
"torch.arange",
"torch.no_grad",
"torch.nn.BatchNorm2d",
"torch.from_numpy",
"torch.nn.ReLU",
"torch.nn.Conv2d",
... |
ahmdtaha/softmax_triplet_loss | [
"1f9e382f64e500a07b06fc128a4be86fa29326c8",
"1f9e382f64e500a07b06fc128a4be86fa29326c8"
] | [
"data_sampling/flower_tuple_loader.py",
"nets/resnet_v1.py"
] | [
"import scipy.io as sio\n# import configuration as config\nimport constants as const\nimport numpy as np\nimport imageio\nimport os\nimport cv2\nfrom utils import os_utils\nimport time\nimport sys\nimport glob\nimport pandas as pd\n# from data_sampling.preprocess_factory import PreProcessFactory\nfrom multiprocessi... | [
[
"numpy.random.permutation",
"tensorflow.errors.OutOfRangeError",
"numpy.zeros",
"numpy.unique"
],
[
"tensorflow.nn.relu",
"tensorflow.metrics.mean_per_class_accuracy",
"tensorflow.argmax",
"tensorflow.equal",
"tensorflow.nn.relu6",
"tensorflow.nn.softmax_cross_entropy_w... |
hornisslaw/wsi | [
"a58c055109b7b16238817a5e4d9d01c6b845af0a"
] | [
"wsi_2/algorithm.py"
] | [
"from __future__ import annotations\n\nimport numpy as np\nimport random\nimport matplotlib.pyplot as plt\n\nfrom plots import plot_cycle\n\n\ndef initial_population(\n cities: dict, \n population_size: int, \n starting_city: str\n) -> list[list[str]]:\n population = []\n city_names = lis... | [
[
"numpy.subtract",
"numpy.argmin"
]
] |
jojowither/Question-Answer-Project | [
"f44ca52acc784e13295cb977cedb513854fac814"
] | [
"src/main.py"
] | [
"import argparse\nimport glob\nimport logging\nimport os\nimport random\nimport timeit\n\nimport numpy as np\nimport torch\nfrom transformers import (MODEL_FOR_QUESTION_ANSWERING_MAPPING, WEIGHTS_NAME,\n AdamW, AutoConfig, AutoModelForQuestionAnswering,\n AutoTokeni... | [
[
"torch.device",
"torch.distributed.init_process_group",
"torch.cuda.device_count",
"torch.cuda.set_device",
"torch.cuda.is_available",
"torch.distributed.barrier"
]
] |
yimingpeng/cmaes_baselines | [
"8ba0a37ab305ef98b7806866b39f560a78dfd85b"
] | [
"baselines/ppo/mlp_policy.py"
] | [
"from baselines.common.mpi_running_mean_std import RunningMeanStd\nimport baselines.common.tf_util as U\nimport tensorflow as tf\nimport gym\nfrom baselines.common.distributions import make_pdtype\n\nclass MlpPolicy(object):\n recurrent = False\n def __init__(self, name, *args, **kwargs):\n with tf.var... | [
[
"tensorflow.zeros_initializer",
"tensorflow.concat",
"tensorflow.variable_scope",
"tensorflow.placeholder",
"tensorflow.clip_by_value",
"tensorflow.get_variable_scope",
"tensorflow.get_collection"
]
] |
nodrogluap/SquiggleKit | [
"ad6d6b99f233666ddf58b1dd0fdbbebd70c1b37a"
] | [
"SquigglePlot.py"
] | [
"import os\nimport sys\nimport gzip\nimport io\nimport traceback\nimport argparse\nimport matplotlib\nimport matplotlib.pyplot as plt\nimport matplotlib.cm as cm\nfrom matplotlib import rcParams\n# rcParams.update({'figure.autolayout': True})\nmatplotlib.rcParams['pdf.fonttype'] = 42\nmatplotlib.rcParams['ps.fontty... | [
[
"numpy.array",
"matplotlib.pyplot.autoscale",
"matplotlib.pyplot.xlabel",
"matplotlib.pyplot.savefig",
"matplotlib.pyplot.plot",
"matplotlib.pyplot.figure",
"matplotlib.pyplot.show",
"matplotlib.pyplot.ylabel",
"matplotlib.pyplot.clf"
]
] |
tummalag/Controlled-Flight-of-High-DOF-Humanoid-Robot | [
"383f41c504b5a08ffd6d0b4c8f6013e4070d8458"
] | [
"InverseKinematics/softwareDesign/fr_ik.py"
] | [
"###\n#\n###\n\nimport fr_fk as fk\nimport right_arm as rt\nimport numpy as np\n\nfrom numpy.linalg import pinv\nfrom time import time\n#import plotting as p\nimport matplotlib.pyplot as plt\nimport matplotlib.animation as animation\n\n\ndef getDist(pos_cur, pos_des):\n\t#\t\n\td = np.array(pos_cur) - np.array(pos_... | [
[
"numpy.matrix",
"numpy.array",
"matplotlib.animation.FuncAnimation",
"numpy.dot",
"numpy.linalg.pinv",
"matplotlib.pyplot.figure",
"numpy.sign",
"numpy.subtract",
"numpy.sqrt",
"matplotlib.pyplot.show"
]
] |
chrisjsewell/aiida-vasp | [
"11b6abf728efdba475c2fa24ede41c4ffe8fac64"
] | [
"aiida_vasp/io/poscar.py"
] | [
"# pylint: disable=no-self-use\n\"\"\"Tools for parsing POSCAR files.\"\"\"\nimport numpy as np\n\nfrom parsevasp.poscar import Poscar, Site\nfrom aiida.common.constants import elements\nfrom aiida_vasp.io.parser import BaseFileParser\nfrom aiida_vasp.utils.aiida_utils import get_data_class\n\n\nclass PoscarParser(... | [
[
"numpy.asarray"
]
] |
SanaAwan5/edgecase_backdoors | [
"c892024242e45557fa94363ecadc355a9250bca0"
] | [
"language-tasks-fl/src/dataset/build_twitter_dataset.py"
] | [
"import sys\nprint(sys.path)\nimport numpy as np\nfrom string import punctuation\nfrom collections import Counter\nfrom collections import defaultdict\nfrom sklearn.model_selection import train_test_split\nimport torch\nfrom torch.utils.data import TensorDataset, DataLoader\nfrom nltk.corpus import stopwords\nfrom ... | [
[
"numpy.max",
"numpy.array",
"numpy.median",
"numpy.min",
"numpy.mean",
"pandas.read_csv"
]
] |
vncntprvst/spikeinterface | [
"dd5ae94f85fe5d9082b45321d2c96ba316eb4b77",
"dd5ae94f85fe5d9082b45321d2c96ba316eb4b77"
] | [
"spikeinterface/toolkit/qualitymetrics/tests/test_quality_metric_calculator.py",
"spikeinterface/comparison/multicomparisons.py"
] | [
"import pytest\nimport shutil\nfrom pathlib import Path\nimport numpy as np\n\nfrom spikeinterface import WaveformExtractor, load_extractor\nfrom spikeinterface.extractors import toy_example\n\nfrom spikeinterface.toolkit.postprocessing import WaveformPrincipalComponent\nfrom spikeinterface.toolkit.preprocessing im... | [
[
"numpy.allclose"
],
[
"numpy.concatenate",
"numpy.array",
"numpy.argmax"
]
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.