text stringlengths 0 1.25M | meta stringlengths 47 1.89k |
|---|---|
import csv
import cv2
import numpy as np
from keras.callbacks import EarlyStopping, ModelCheckpoint
from keras.models import load_model
from keras.optimizers import Adam
import sklearn
from sklearn.model_selection import train_test_split
from matplotlib import pyplot as plt
import os.path
from drive_networks import alv... | {"hexsha": "8df7822573048038bda47cfe29e223a6c79b9629", "size": 11074, "ext": "py", "lang": "Python", "max_stars_repo_path": "model.py", "max_stars_repo_name": "AjinkyaBhave/CarND_P3_Behavior_Clone", "max_stars_repo_head_hexsha": "8098ea52a925156d19d408225cf2ea5a4652a5c6", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
import matplotlib
from matplotlib import pyplot as plt
import numpy as np
def get_chromosome_sizes(index_file):
chrom_sizes = []
with open(index_file, 'r') as ifh:
# get only lines that are starting with "chr", and are not longer than 5 chars
for line in ifh:
line_list = line.split... | {"hexsha": "73749bb095f1417eb5e91e15c37b7785f84123a8", "size": 1542, "ext": "py", "lang": "Python", "max_stars_repo_path": "heatmap/placement.py", "max_stars_repo_name": "szilvajuhos/btb-scripts", "max_stars_repo_head_hexsha": "9c4f977c6b1962765018f0f7bdfd54d9cbc83740", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
import numpy as np
import tensorflow as tf
from utensor_cgen.frontend.tensorflow import GraphDefParser
from utensor_cgen.matcher import uTensorGraphMatcher
from utensor_cgen.utils import prune_graph, topologic_order_graph
def test_replace_fc_with_add(subj_graph_1, patrn_fc_1):
def callback(match):
graph ... | {"hexsha": "9615b0f2acb9c6b8b5a2b55955b40bc68b7c6844", "size": 1847, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/test_matcher/test_replace/test_replace.py", "max_stars_repo_name": "ufo2011/utensor_cgen", "max_stars_repo_head_hexsha": "210bb530e7a532fbb9898f7df65f692e2f48f046", "max_stars_repo_licenses"... |
module Test where
import Lvl
{- TODO: Unsolved metas
module NumAndDivisionProofs where
open import Functional
open import Logic.Propositional{Lvl.𝟎}
open import Logic.Convenience{Lvl.𝟎}
open import Numeral.Natural
open import Numeral.Natural.Oper
open import Numeral.Natural.Relation
open import Numera... | {"hexsha": "e9bbd37530532881ab7dfdd2cf959d7d7d089198", "size": 18342, "ext": "agda", "lang": "Agda", "max_stars_repo_path": "old/Test.agda", "max_stars_repo_name": "Lolirofle/stuff-in-agda", "max_stars_repo_head_hexsha": "70f4fba849f2fd779c5aaa5af122ccb6a5b271ba", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
import numpy as np
import sys
import os
import json
from pyflann import FLANN
mode = sys.argv[1]
src = sys.argv[2]
files = os.listdir(src)
filenames = []
vectors = []
for f in files:
# need to convert into list of vectors
if f.endswith('.npy'):
filenames.append(f[:-8])
data = np.load(src + '/... | {"hexsha": "765858f9ee2d06d26dad0094597b7c0fd1baafc9", "size": 1077, "ext": "py", "lang": "Python", "max_stars_repo_path": "scripts/distMatrix.py", "max_stars_repo_name": "ebshimizu/sliders", "max_stars_repo_head_hexsha": "a55ff309315de30a8c3e5aa16e585201cf7d0d22", "max_stars_repo_licenses": ["MIT"], "max_stars_count":... |
import numpy as np
from .augmentor import DataAugment
from scipy.ndimage.interpolation import map_coordinates, zoom
import numbers
from skimage.draw import line
from scipy.ndimage.filters import gaussian_filter
from scipy.ndimage.measurements import label
from scipy.ndimage.morphology import binary_dilation
class Mis... | {"hexsha": "6b133788cfcac82a193973689fd0d6b0d694ced2", "size": 4837, "ext": "py", "lang": "Python", "max_stars_repo_path": "torch_connectomics/data/augmentation/missing_parts.py", "max_stars_repo_name": "aarushgupta/pytorch_connectomics", "max_stars_repo_head_hexsha": "eb90ada14dbd425a741f481761d1ed9ea633e67c", "max_st... |
import tensorflow as tf
import numpy as np
def PenaltyFactory(opts: dict, EOS_CODE, resource_normalization_factor):
penalties = {
'greedy': GreedyPenalty,
}
try:
penaltyType = opts['type']
P = penalties[f'{penaltyType}']
return P(opts[f'{penaltyType}'], EOS_CODE, resource_n... | {"hexsha": "14e22657d31d4b55a2811a14ff0977d0fd7d631f", "size": 2915, "ext": "py", "lang": "Python", "max_stars_repo_path": "environment/custom/resource/penalty.py", "max_stars_repo_name": "AndreMaz/transformer-pointer-critic", "max_stars_repo_head_hexsha": "97cfa1e667514a5651d855d6ffd498ac49339c00", "max_stars_repo_lic... |
import logging
import numpy
from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
from cellprofiler_core.module import Module
from cellprofiler_core.setting import Binary, ValidationError, Divider
from cellprofiler_core.setting.subscriber import (
LabelListSubscriber,
ImageListSubscriber,
)
from ce... | {"hexsha": "5db3adaa755f64863c27c1c77e5b2fd737a224e3", "size": 19667, "ext": "py", "lang": "Python", "max_stars_repo_path": "plugins/measureimageintensitymultichannel.py", "max_stars_repo_name": "BodenmillerGroup/ImcPluginsCP", "max_stars_repo_head_hexsha": "a53bb7e1dea60b859d57677ea9a15281fa84d493", "max_stars_repo_li... |
import math
import numpy as np
from scipy.spatial.distance import cdist, euclidean
from math import pi
from typing import List
from sc2.position import Point2
from sc2.units import Units
pi2 = 2 * math.pi
OLD_TICKS: float = 16.0
NEW_TICKS: float = 22.4
def to_new_ticks(time_value: float) -> float:
return time_... | {"hexsha": "f20c54d18ddc8eb2aae965679e8d763488320a4f", "size": 8223, "ext": "py", "lang": "Python", "max_stars_repo_path": "sharpy/sc2math.py", "max_stars_repo_name": "DuncanDHall/sharpy-sc2", "max_stars_repo_head_hexsha": "7a47a7538ad99214e3f0288b6213cac882551180", "max_stars_repo_licenses": ["MIT"], "max_stars_count"... |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import tqdm
import numpy as np
import torch
import cv2
import torch
import torch.nn as nn
import torch.nn.functional as F
import kvt
import kvt.losses
@kvt.HOOKS.register
class CloudLossHook:
... | {"hexsha": "d20a966c0235c39ba9bbf0272171c8455380d113", "size": 4599, "ext": "py", "lang": "Python", "max_stars_repo_path": "custom/loss_hook.py", "max_stars_repo_name": "thangnx183/kaggle-understanding-clouds", "max_stars_repo_head_hexsha": "15ad2a9029958262437b899cb00525579da23911", "max_stars_repo_licenses": ["BSD-2-... |
# -*- coding: utf-8 -*-
#
# Pytorchで用いるDatasetの定義
#
# PytorchのDatasetモジュールをインポート
from torch.utils.data import Dataset
# 数値演算用モジュール(numpy)をインポート
import numpy as np
# sysモジュールをインポート
import sys
class SequenceDataset(Dataset):
''' ミニバッチデータを作成するクラス
torch.utils.data.Datasetクラスを継承し,
以下の関数を定義する
... | {"hexsha": "dbb9247ee9b088642d86320bdbe24d02705a967f", "size": 5474, "ext": "py", "lang": "Python", "max_stars_repo_path": "06rnn_attention/my_dataset.py", "max_stars_repo_name": "sotuken2021/s", "max_stars_repo_head_hexsha": "2b37fdcaa60c1f5ac492edddd4a0960882fbc0aa", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
# Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
import dace
import numpy as np
N = dace.symbol('N')
# yapf: disable
@dace.program
def comments(A: dace.float32[N], B: dace.float32[N]):
# The DaCe program sets B equal to A
B[:] = A[:] # for i in 0 .. N-1; B[i] = A[i]
def test_c... | {"hexsha": "bc8a6456881b0f01fac962a167231333d030f290", "size": 2090, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/python_frontend/line_structure_test.py", "max_stars_repo_name": "jnice-81/dace", "max_stars_repo_head_hexsha": "5211794a2d17b7189037ac485ab0b292fb02aa0d", "max_stars_repo_licenses": ["BSD-3-... |
"""Testing for base classes."""
# Author: Johann Faouzi <johann.faouzi@gmail.com>
# License: BSD-3-Clause
import numpy as np
import pytest
from sklearn.base import clone
from pyts.classification import SAXVSM
from pyts.datasets import load_gunpoint, load_basic_motions
from pyts.multivariate.image import JointRecurre... | {"hexsha": "9387b473bd6790041181e9f81de32e62cc0f7717", "size": 2022, "ext": "py", "lang": "Python", "max_stars_repo_path": "pyts/tests/test_base.py", "max_stars_repo_name": "Pandinosaurus/pyts", "max_stars_repo_head_hexsha": "1e584877bc3f06194ceb530a156d8a10e32c12a5", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_s... |
# Date internal algorithms
@test Dates.totaldays(0,2,28) == -307
@test Dates.totaldays(0,2,29) == -306
@test Dates.totaldays(0,3,1) == -305
@test Dates.totaldays(0,12,31) == 0
# Rata Die Days # start from 0001-01-01
@test Dates.totaldays(1,1,1) == 1
@test Dates.totaldays(1,1,2) == 2
@test Dates.totaldays(2013,1,1) == 7... | {"hexsha": "1e670323a6b5e2c4a2da02f8f119c0272ce696d3", "size": 7097, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/types.jl", "max_stars_repo_name": "JuliaPackageMirrors/Dates.jl", "max_stars_repo_head_hexsha": "3ccb8b94938518f75b789cd794f495066482a2b7", "max_stars_repo_licenses": ["MIT"], "max_stars_count... |
import tensorflow as tf
import numpy as np
import requests
import urllib
import os
import pandas as pd
from PIL import Image
from keras_retinanet import models
from tensorflow.keras.preprocessing.image import img_to_array
from keras_retinanet.utils.image import preprocess_image, resize_image
import flask
imp... | {"hexsha": "c6f4a8e5654ee838967d9c5da2d891b6b6ce8cd1", "size": 2315, "ext": "py", "lang": "Python", "max_stars_repo_path": "run_server.py", "max_stars_repo_name": "zuruoke/Face-Crop-App-API", "max_stars_repo_head_hexsha": "e0052e7a69ef3b3600d902182ddc62399a3f2ae5", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_... |
"""
Two ways of computing error bars for within-subject data.
Variability introduced by subjects can inflate error bars. These methods get
rid of this variability.
"""
__license__ = 'MIT License <http://www.opensource.org/licenses/mit-license.php>'
__author__ = 'Lucas Theis <lucas@theis.io>'
__docformat__ = 'numpydoc... | {"hexsha": "68239f4be1f00a1217ef2ec9c4a39949f131082a", "size": 2134, "ext": "py", "lang": "Python", "max_stars_repo_path": "errorbars.py", "max_stars_repo_name": "lucastheis/errorbars", "max_stars_repo_head_hexsha": "c4b5116db17380c36a3977fdc60952b3bb894392", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1, "m... |
```python
# import packages
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from sympy import *
from scipy.optimize import fsolve
%matplotlib inline
```
```python
# set up variables
length = 25 #(nm)
dx = length/12 #(nm)
dt = 0.016667*332/12 #(s)
```
```python
# set up constant for follwing c... | {"hexsha": "969075172a50de0a31855c017a4806b22327085a", "size": 26229, "ext": "ipynb", "lang": "Jupyter Notebook", "max_stars_repo_path": "ode_pve/Untitled.ipynb", "max_stars_repo_name": "ode-pve/ODE_PVE", "max_stars_repo_head_hexsha": "a19b26c2aa260820b8c0e51bae5f654c7de97ba0", "max_stars_repo_licenses": ["MIT"], "max_... |
import numpy
import cupy
def eigsh(a, k=6, *, which='LM', ncv=None, maxiter=None, tol=0,
return_eigenvectors=True):
"""Finds ``k`` eigenvalues and eigenvectors of the real symmetric matrix.
Solves ``Ax = wx``, the standard eigenvalue problem for ``w`` eigenvalues
with corresponding eigenvectors... | {"hexsha": "4630997d16b4b4a481c62d4a2c137d6f6515d8f1", "size": 4763, "ext": "py", "lang": "Python", "max_stars_repo_path": "cupyx/scipy/sparse/linalg/_eigen.py", "max_stars_repo_name": "aitikgupta/cupy", "max_stars_repo_head_hexsha": "0dc6bbafb0cf75bb873531cbf69c6995a72c61a3", "max_stars_repo_licenses": ["MIT"], "max_s... |
(** * Basis
標準的な定義を行う。 *)
(** 新しい帰納型を定義した時に、自動で帰納法の原理/除去子が定義されない
ようにする。
除去子を自動生成される名前ではなく独自の名前で定義したいが、デフォルトでは
そのようなことは不可能であるため。
[induction] と [elim] 戦術は、対象となる型の除去子が、自動生成される
デフォルトの名前を持っていることを前提にしている。そのため [induction] が
使えなくなる欠点がある。
代わりに [Local] でやれば設定は引き継がれないのだが、一貫させたいため
この方法は取らなか... | {"author": "Hexirp", "repo": "seityou", "sha": "ba816a97a2299dec3be1a4823e71166dfaaf5637", "save_path": "github-repos/coq/Hexirp-seityou", "path": "github-repos/coq/Hexirp-seityou/seityou-ba816a97a2299dec3be1a4823e71166dfaaf5637/theories/Basis.v"} |
import unittest
import numpy
import random
from sobol_gen import SobolGenerator
class SobolGeneratorTests(unittest.TestCase):
def setUp(self):
self.n2 = self.readFileIntoMatrix("test/2d.txt")
self.n7 = self.readFileIntoMatrix("test/7d.txt")
self.n16 = self.readFileIntoMatrix("test/16d.txt"... | {"hexsha": "2440e349789d230c53d473b220c9e9be51aaeca5", "size": 3317, "ext": "py", "lang": "Python", "max_stars_repo_path": "test/tests.py", "max_stars_repo_name": "elderfd/sobol_gen", "max_stars_repo_head_hexsha": "25bbfae734239bef4304cb1b0b32662b517d1b56", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1, "max... |
import numpy as np
import struct
try:
import caffe
except ImportError:
import os, sys
curr_path = os.path.abspath(os.path.dirname(__file__))
sys.path.append(os.path.join(curr_path, "/home/luyao/git/caffe/python"))
import caffe
def compare_models(prefix_caffe):
net = caffe.Net(prefix_caffe + ".p... | {"hexsha": "8376c342fd03e21f7b64803760d07c343ca3b215", "size": 2368, "ext": "py", "lang": "Python", "max_stars_repo_path": "test_yolo.py", "max_stars_repo_name": "hdchenjian/MXNet2Caffe", "max_stars_repo_head_hexsha": "41ce8889112cbb010d5245d7fd1766fbd6f63875", "max_stars_repo_licenses": ["MIT"], "max_stars_count": nul... |
import numpy as np
def test(kernel_name,ref_ip,ref_op,ref_iop,dataset,verbose=False):
print kernel_name
if kernel_name == "mm" or kernel_name == "gemm":
###tested and working
print "testing matrix multiplication"
i1 = ref_ip[0].reshape([dataset,-1])
i2 = ref_ip[1].reshape([data... | {"hexsha": "5fe048562061a93e9025979c5f4c767ea0fd69fa", "size": 1323, "ext": "py", "lang": "Python", "max_stars_repo_path": "pyschedcl/profiling/tests.py", "max_stars_repo_name": "sarthak-chakraborty/pyschedcl-concurrent", "max_stars_repo_head_hexsha": "a9fe435b79ed429bfcbee27e6f90a2b67c3b41da", "max_stars_repo_licenses... |
# From https://spglib.github.io/spglib/definition.html#computing-rigid-rotation-introduced-by-idealization
@testset "Computing rigid rotation introduced by idealization" begin
lattice = [
[5.0759761474456697, 5.0759761474456697, 0], # a
[-2.8280307701821314, 2.8280307701821314, 0], # b
[0,... | {"hexsha": "2dd3bd96620d982fe795b07ebba6e14e673ed89c", "size": 18952, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/dataset.jl", "max_stars_repo_name": "singularitti/spglib.jl", "max_stars_repo_head_hexsha": "cddd4ce09c117f78bd43a50d1bfb52999ae3c6be", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
import tensorflow as tf
from tensorflow.python.util import nest
import os ,sys
import numpy as np
import common
from datasets import data_generator
class DataLoader:
def __init__(self):
#self.config = config
self.num_training_samples = (data_generator
... | {"hexsha": "6779c8ac88d9b48f7497bc2e19709a9f8b1bb8a6", "size": 2644, "ext": "py", "lang": "Python", "max_stars_repo_path": "built-in/TensorFlow/Official/cv/image_segmentation/DeeplabV3_for_TensorFlow/00-access/data_loader.py", "max_stars_repo_name": "Huawei-Ascend/modelzoo", "max_stars_repo_head_hexsha": "df51ed9c1d6db... |
{-# OPTIONS --without-K #-}
open import HoTT.Base
open import HoTT.Identity
open import HoTT.Equivalence
module HoTT.Identity.Sigma where
open variables
_=Σ_ : Σ A P → Σ A P → 𝒰 _
_=Σ_ {P = P} x y = Σ[ p ∶ x₁ == y₁ ] transport P p x₂ == y₂
where
open Σ x renaming (pr₁ to x₁ ; pr₂ to x₂)
open Σ y renaming (pr₁... | {"hexsha": "fa846ccae39d8e1f30317c527659a4c6fe0d959d", "size": 768, "ext": "agda", "lang": "Agda", "max_stars_repo_path": "HoTT/Identity/Sigma.agda", "max_stars_repo_name": "michaelforney/hott", "max_stars_repo_head_hexsha": "ef4d9fbb9cc0352657f1a6d0d3534d4c8a6fd508", "max_stars_repo_licenses": ["0BSD"], "max_stars_cou... |
import sqlite3
import sys; sys.path.insert(0, '../..')
from autograd import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import time
from IPython.display import display
from src.models import LUNA
from src.utils import generate_data
import LUNA_database_parse as par
def run_experiments():
data_... | {"hexsha": "baf4143364306b399954b22faaafa55e7db59ec7", "size": 2992, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/LUNA_architecture_tests/LUNA_architecture_check_series7.py", "max_stars_repo_name": "weyesians/luna_passa", "max_stars_repo_head_hexsha": "8c3c6a10387475580a63add4f50c00602ad15641", "max_stars... |
[STATEMENT]
lemma eq_equals: "eq \<phi> \<psi> \<pi>l \<longleftrightarrow> \<phi> \<pi>l = \<psi> \<pi>l"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. eq \<phi> \<psi> \<pi>l = (\<phi> \<pi>l = \<psi> \<pi>l)
[PROOF STEP]
by (metis eq_elimL eq_elimR eq_intro) | {"llama_tokens": 122, "file": "HyperCTL_Shallow", "length": 1} |
[STATEMENT]
lemma integer_of_int_int_of_integer [simp]:
"integer_of_int (int_of_integer k) = k"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. integer_of_int (int_of_integer k) = k
[PROOF STEP]
by transfer rule | {"llama_tokens": 90, "file": null, "length": 1} |
# Analyze data from the RECTANGLES.sh experiment
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import os.path
import math
plt.rcParams.update({'font.size': 12})
paths = []
networks = []
path = ["outputs/RECTANGLES_indiv_conv3_5x80/",
"outputs/RECTANGLES_indiv_conv3_10x40/",
... | {"hexsha": "444b2658f091aeb34b5264c4bf660d0108c46b02", "size": 8761, "ext": "py", "lang": "Python", "max_stars_repo_path": "rectangles_layer.py", "max_stars_repo_name": "Rudedaisy/SCALE-Sim", "max_stars_repo_head_hexsha": "b0ec11cf1ad8578d56663d792b7810b0cf368e67", "max_stars_repo_licenses": ["MIT"], "max_stars_count":... |
import gc
import platform
import subprocess
import sys
from datetime import datetime
from inspect import isclass
from itertools import chain
import numpy as np
import ulist as ul
from ulist.utils import Benchmarker
import boolean as BOOL
import floating as F32
import integer as I32
import strings as STR
def _get_pr... | {"hexsha": "6601b734f1a45a44928f654523c8c1088a1f8e85", "size": 2383, "ext": "py", "lang": "Python", "max_stars_repo_path": "benchmark/run.py", "max_stars_repo_name": "tushushu/uvec", "max_stars_repo_head_hexsha": "ab57251136d375a5e47a61af9a3262394795c0db", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars_count":... |
"""
Module that enables the use of ensembles in NowTrade.
"""
import pickle
from itertools import chain
import numpy as np
from sklearn.ensemble import RandomForestRegressor #, RandomForestClassifier
from nowtrade import logger
RANDOM_FOREST_REGRESSOR = 'Random Forest Regressor'
RANDOM_FOREST_CLASSIFIER = 'Random Fore... | {"hexsha": "22ff868018964882901ac748b1ecd550d7d9f16a", "size": 7912, "ext": "py", "lang": "Python", "max_stars_repo_path": "nowtrade/ensemble.py", "max_stars_repo_name": "lohithn4/NowTrade", "max_stars_repo_head_hexsha": "ac04499731130297135b3526325191bd2cb36343", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
# coding=utf-8
# Copyright 2021 The Tensor2Robot Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | {"hexsha": "4a596897c048364a778f9230f46aec161a2f9920", "size": 3986, "ext": "py", "lang": "Python", "max_stars_repo_path": "layers/mdn_test.py", "max_stars_repo_name": "slowy07/tensor2robot", "max_stars_repo_head_hexsha": "c32179493e2d22bda44f72206d097c59f173dda0", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_... |
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""This module contains classes and functions to standardize access to
configuration files for Astropy and affiliated packages.
.. note::
The configuration system makes use of the 'configobj' package, which stores
configuration in a text format li... | {"hexsha": "1cf178b11cc6a285495a69526d5c8b5a2e636ac7", "size": 25660, "ext": "py", "lang": "Python", "max_stars_repo_path": "astropy/config/configuration.py", "max_stars_repo_name": "jayvdb/astropy", "max_stars_repo_head_hexsha": "bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f", "max_stars_repo_licenses": ["BSD-3-Clause"], "... |
\section{Tips}
\begin{tip}
Avoid a "dangling" newline when reading single character user input.
\end{tip}
\begin{solution}
To get a single character from the user in C, many beginning programmers use either scanf() with the format specifier \%c or getchar(). Both functions read a character from the standard input ... | {"hexsha": "c1c53adc0b80b636be9a9255ef7c7f5909a1c0c6", "size": 120844, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "cs/c/c_notes.tex", "max_stars_repo_name": "Naitreey/notes-and-knowledge", "max_stars_repo_head_hexsha": "48603b2ad11c16d9430eb0293d845364ed40321c", "max_stars_repo_licenses": ["BSD-3-Clause"], "ma... |
{-# LANGUAGE GeneralizedNewtypeDeriving, BangPatterns, NoMonomorphismRestriction, ScopedTypeVariables, CPP #-}
-- vim: sts=2:sw=2:ai:et
--module Rolling where
import Data.Word
import Data.Int
import Data.Bits
import qualified Data.Vector.Unboxed as U
import qualified Data.Vector.Unboxed.Mutable as UM
import Control.Mo... | {"hexsha": "bee7a6d2eeb7fb791e85ba67bdb214803c7921a7", "size": 15348, "ext": "hs", "lang": "Haskell", "max_stars_repo_path": "unorganized/Rolling.hs", "max_stars_repo_name": "aristidb/datastorage", "max_stars_repo_head_hexsha": "63f261c3b0e391d480ec3c1ed122f649d4b8c517", "max_stars_repo_licenses": ["BSD-3-Clause"], "ma... |
gameChoice = 2
serialFlag = True
if gameChoice == 0:
from othello.OthelloGame import OthelloGame as Game
from othello.pytorch.NNet import NNetWrapper as nn
elif gameChoice == 1:
from tictactoe.TicTacToeGame import TicTacToeGame
from tictactoe.keras.NNet import NNetWrapper as nn
elif gameChoice == 2:
... | {"hexsha": "134af256ade182fbc1979f6f19392559bcefc6fb", "size": 3090, "ext": "py", "lang": "Python", "max_stars_repo_path": "main.py", "max_stars_repo_name": "mettinger/alpha-zero-general", "max_stars_repo_head_hexsha": "8b0177b0a79b6565ac7cc4c329f00e15706ac57c", "max_stars_repo_licenses": ["MIT"], "max_stars_count": nu... |
import pandas as pd
import numpy as np
import os
from collections import namedtuple
from vtkplotter import Plotter, show, interactive, Video, settings, Sphere, shapes
import warnings
from allensdk.core.mouse_connectivity_cache import MouseConnectivityCache
from allensdk.api.queries.ontologies_api import OntologiesApi... | {"hexsha": "f965443d035085e71b0559f02524c88adb0dc880", "size": 16240, "ext": "py", "lang": "Python", "max_stars_repo_path": "BrainRender/ABA_analyzer.py", "max_stars_repo_name": "raacampbell/BrainRender", "max_stars_repo_head_hexsha": "c8516bfa4a268a67f89766a9a0c51bcebaa2c091", "max_stars_repo_licenses": ["MIT"], "max_... |
#!/usr/bin/env python3
# -*- coding: utf8 -*-
# SPDX-FileCopyrightText: 2021 UdS AES <https://www.uni-saarland.de/lehrstuhl/frey.html>
# SPDX-License-Identifier: MIT
"""Demonstrate performance of SIMaaS-implementation using async IO."""
import asyncio
import copy
import csv
import json
import math
import os
import ... | {"hexsha": "2ebaca6591378aa6adcd0a062c721f0edcc289d3", "size": 30200, "ext": "py", "lang": "Python", "max_stars_repo_path": "demo.py", "max_stars_repo_name": "UdSAES/simaas-demo", "max_stars_repo_head_hexsha": "ea328a90bfd1a545667d6187066f94ccd1eaec96", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "max_... |
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df = pd.read_excel('NHS_T_T_data_table_w31_table4.xlsx')
data_array = np.array(df)
date_row = data_array[1]
col_flag = []
for entry in date_row:
if not isinstance(entry, str):
if np.isnan(entry):
col_flag.append(False)
... | {"hexsha": "25dba1272bec5840e9bfb2f69c52bb6dceaadda1", "size": 1715, "ext": "py", "lang": "Python", "max_stars_repo_path": "TAT_UK_MS.py", "max_stars_repo_name": "cmbaker00/optimal-test-allocation", "max_stars_repo_head_hexsha": "b8ad23a0bde7b360ed8e01af6beac5ba441d6322", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
import csv
import os
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import scipy
import sklearn
from numpy.random import seed
from scipy import signal
from sklearn.decomposition import PCA
from sklearn.metrics import precision_score, recall_score, f1_score
# the path of HAPT_Data_... | {"hexsha": "e76572cc823dd13c224475d244fd4f55b644181a", "size": 13730, "ext": "py", "lang": "Python", "max_stars_repo_path": "HAPT/data_processing_HAPT.py", "max_stars_repo_name": "ekiwaka/Energy-Efficient-HAR", "max_stars_repo_head_hexsha": "42fd81ccc6e7f08acefee452c20c78f5cda9b484", "max_stars_repo_licenses": ["MIT"],... |
/*
* This is part of the fl library, a C++ Bayesian filtering library
* (https://github.com/filtering-library)
*
* Copyright (c) 2015 Max Planck Society,
* Autonomous Motion Department,
* Institute for Intelligent Systems
*
* This Source Code Form is subject to the terms of the MIT License (MIT).
... | {"hexsha": "fe4dd8b6caef918c4891ffa52317825b9452000b", "size": 3346, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "include/fl/util/scalar_matrix.hpp", "max_stars_repo_name": "aeolusbot-tommyliu/fl", "max_stars_repo_head_hexsha": "a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02", "max_stars_repo_licenses": ["MIT"], "max... |
import os
from abc import ABC, abstractmethod
import numpy as np
import pytest
from sklearn.metrics import mean_squared_error
from neuraxle.base import Identity, ExecutionContext, ForceHandleMixin, StepWithContext, ForceHandleIdentity
from neuraxle.data_container import DataContainer
from neuraxle.metaopt.auto_ml imp... | {"hexsha": "bdb51db58c65005cfebbbabf5a3f61d0de6cd0c0", "size": 7277, "ext": "py", "lang": "Python", "max_stars_repo_path": "testing/test_service_assertions.py", "max_stars_repo_name": "vincent-antaki/Neuraxle", "max_stars_repo_head_hexsha": "cef1284a261010c655f8ef02b4fca5b8bb45850c", "max_stars_repo_licenses": ["Apache... |
from puzzle.puzzlepedia import puzzle
def get_houses():
return puzzle.Puzzle('Very Fun Logic Puzzle', HOUSE_SOURCE)
def get_roses():
return puzzle.Puzzle('Very Fun Logic Puzzle', ROSE_SOURCE)
HOUSE_SOURCE = """
import networkx
position in networkx.icosahedral_graph()
name in {
Abby,
Charles,
Danielle,
... | {"hexsha": "090ffbce792b09cce372e061415dbd4487ebcfc5", "size": 9309, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/puzzle/examples/gph/very_fun_logic_puzzle.py", "max_stars_repo_name": "PhilHarnish/forge", "max_stars_repo_head_hexsha": "663f19d759b94d84935c14915922070635a4af65", "max_stars_repo_licenses": ... |
import warnings
from matplotlib.testing.decorators import image_comparison, cleanup
import matplotlib.pyplot as plt
import numpy as np
from nose.tools import assert_raises
from cycler import cycler
@image_comparison(baseline_images=['color_cycle_basic'], remove_text=True,
extensions=['png'])
def t... | {"hexsha": "074b68a276f2e594f2232faec377611947416745", "size": 6656, "ext": "py", "lang": "Python", "max_stars_repo_path": "env/lib/python2.7/site-packages/matplotlib/tests/test_cycles.py", "max_stars_repo_name": "rbalda/neural_ocr", "max_stars_repo_head_hexsha": "140585a7e99f1d49e52b142811273b02c08c0675", "max_stars_r... |
# import warnings
# warnings.filterwarnings('ignore', category=FutureWarning)
import numpy as np
import pandas as pd
import time
from sklearn.base import TransformerMixin
from sklearn.compose import ColumnTransformer
from sklearn.pipeline import Pipeline
from sklearn.impute import SimpleImputer
from sklearn.preproces... | {"hexsha": "25dec50ae5226b35b9a5afc8e33597f89dda42b3", "size": 3606, "ext": "py", "lang": "Python", "max_stars_repo_path": "pipeline_preprocessing_forest.py", "max_stars_repo_name": "mbswirsky/preprocessing_pipeline_chicago", "max_stars_repo_head_hexsha": "5febb409275fe59f67c66e2c7bc5e23b501d90fb", "max_stars_repo_lice... |
/-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl
-/
import order.lattice
import data.set.basic
/-!
# Directed indexed families and sets
This file defines directed indexed families and directed sets. An indexed family... | {"author": "jjaassoonn", "repo": "projective_space", "sha": "11fe19fe9d7991a272e7a40be4b6ad9b0c10c7ce", "save_path": "github-repos/lean/jjaassoonn-projective_space", "path": "github-repos/lean/jjaassoonn-projective_space/projective_space-11fe19fe9d7991a272e7a40be4b6ad9b0c10c7ce/src/order/directed.lean"} |
!!## MODULE: FUNCTION xyORDER
MODULE FUN_xyORDER
!!### PURPOSE
!! Order the points in various shapes in a consistent
!! way.
!! @ polygon verts are ordered with the lower
!! left corner first (it is assumed that the polygon is
!! already in counterclockwise ordering)
!!#### EXTERNAL KINDS
USE KND_IntrinsicTypes,O... | {"hexsha": "94f643c260411b5a941bb3534342281a353b436c", "size": 1191, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "src/04-B-FUN_xyORDER.f90", "max_stars_repo_name": "wawiesel/tapack", "max_stars_repo_head_hexsha": "ac3e492bc7203a0e4167b37ba0278daa5d40d6ef", "max_stars_repo_licenses": ["Unlicense"], "max_star... |
import warnings
import pandas as pd
import numpy as np
import missingno as msno
import seaborn as sns
import matplotlib.pyplot as plt
from matplotlib import rcParams
from matplotlib.dates import DateFormatter
from typing import List, Tuple, Union
from data_mining import ColorizedLogger
warnings.filterwarnings("ignor... | {"hexsha": "fd58524d68c78dbb7b978f7c95ed221106d0c29c", "size": 19200, "ext": "py", "lang": "Python", "max_stars_repo_path": "data_mining/project_utils/visualizer.py", "max_stars_repo_name": "drkostas/covid19-vaccinations-predict", "max_stars_repo_head_hexsha": "46b8a440a80180d29c185934b9e498769e583cd7", "max_stars_repo... |
#!/usr/bin/env python
# ----------------------------------------------------------------------------
# The 2017 DAVIS Challenge on Video Object Segmentation
#-----------------------------------------------------------------------------
# Copyright (c) 2017 Federico Perazzi
# Licensed under the BSD License [see LICENSE... | {"hexsha": "d7c8af8e0ac9ba8c03835388136dcfd92b995de3", "size": 2697, "ext": "py", "lang": "Python", "max_stars_repo_path": "python/tools/eval.py", "max_stars_repo_name": "MSiam/davis-2017", "max_stars_repo_head_hexsha": "de7149291e395499c1b7c5f8dcd2f3e1e9da907a", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars_... |
[STATEMENT]
lemma refs_of'_is_fun: "\<lbrakk> refs_of' h p as; refs_of' h p bs \<rbrakk> \<Longrightarrow> as = bs"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. \<lbrakk>refs_of' h p as; refs_of' h p bs\<rbrakk> \<Longrightarrow> as = bs
[PROOF STEP]
unfolding refs_of'_def'
[PROOF STATE]
proof (prove)
goal (1 subg... | {"llama_tokens": 245, "file": null, "length": 2} |
import math
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.patches import Arc
from bisect import bisect_left
"""
Implemented from the following technical notes
The thrust optimised parabolic nozzle
http://www.aspirespace.org.uk/downloads/Thrust%20optimised%20parabolic%20nozzle.pdf
............. | {"hexsha": "e79ed6513139406a0032a96862fa57da1c0f7618", "size": 15996, "ext": "py", "lang": "Python", "max_stars_repo_path": "bell_nozzle.py", "max_stars_repo_name": "ravi4ram/Bell-Nozzle", "max_stars_repo_head_hexsha": "1bc73d4ae3b9e149a264e74fc467480a8a2562b8", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 7,... |
# Proyecto Número Dos - Ecuación de Onda
El problema que fue escogido para resolver fue el uso de la libreria DifferentialEquations para resolver la ecuación de onda independiente del tiempo en un sistema de coordenadas polares con una simetria rotacional, el cual estará bajo tres ambientes diferentes. Estos ambientes ... | {"hexsha": "7d7cef61fc428365b029fb8ab5567e0c01d5c2e6", "size": 291247, "ext": "ipynb", "lang": "Jupyter Notebook", "max_stars_repo_path": "soluci\u00f3n_segundo_proyecto_2/sol.ipynb", "max_stars_repo_name": "giovannilopez9808/Julia_workshop_ene2021", "max_stars_repo_head_hexsha": "08be1d62d101c53f0ef2a213a5fdbca8766853... |
#medium-complexity tests for mixed get_form
import sys
import numpy as np
from silk.mixed.get_form import get_form
import json
_print = print
def print(*args):
for a in args:
_print(json.dumps(a, indent=2, sort_keys=True), end=" ")
_print()
dt = np.dtype([
("a", int),
("b", object),
], align... | {"hexsha": "60e61877200bad6d6a84951198548675089bbbfd", "size": 1168, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/mixed/get_form_medium.py", "max_stars_repo_name": "sjdv1982/silk", "max_stars_repo_head_hexsha": "232e759cabfc7a87550d1e50ed9c4de4e0e57bf4", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
"""
The NDTree module contains the n-dimensional tree structure
and routines for creating trees.
"""
from __future__ import print_function, division
import numpy as np
from .Data import Empty
"""These are some example prolongation/restriction operators"""
def prolongate_injection(n):
"""Copy data to each c... | {"hexsha": "ca9d1bd88cc8979dd2aa13c09c29201b35bbe824", "size": 24982, "ext": "py", "lang": "Python", "max_stars_repo_path": "ndtamr/NDTree.py", "max_stars_repo_name": "adamdempsey90/NDTAMR", "max_stars_repo_head_hexsha": "da29515ca0d5ddc188089f12b3e6611abffe885a", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
function update_vehicle(ev::EVinstance,dt::Float64)
ev.currentWorkload-=ev.currentPower*dt;
ev.currentDeadline-=dt;
ev.currentReportedDeadline-=dt;
end
function compute_average(f,T::Vector{Float64},X::Vector{UInt16})
return sum(f(X[1:end-1]).*diff(T))/T[end]
end
function compute_statistics!(sim::EVS... | {"hexsha": "fbebd47402b43a9957d5dbd061d64b6c10d2f73a", "size": 5513, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/utilities.jl", "max_stars_repo_name": "Grupo-MATE/EVQueues.jl", "max_stars_repo_head_hexsha": "471e5fd6843507dfbb85e5fc37ec61a0c223782c", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
/*
Copyright 2012 Ulrik Mikaelsson <ulrik.mikaelsson@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requir... | {"hexsha": "70b39e7688ab1265a8f102ef8e75489b6765c94f", "size": 7045, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "bithorded/server/config.cpp", "max_stars_repo_name": "zidz/bithorde", "max_stars_repo_head_hexsha": "dbaa67eb0ddfa7d28e5325d87428c1b0225d598b", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_... |
@snn_kw struct IZParameter{FT=Float32}
a::FT = 0.01
b::FT = 0.2
c::FT = -65
d::FT = 2
end
@snn_kw mutable struct IZ{VFT=Vector{Float32},VBT=Vector{Bool}}
param::IZParameter = IZParameter()
N::Int32 = 100
v::VFT = fill(-65.0, N)
u::VFT = param.b * v
fire::VBT = zeros(Bool, N)
I::... | {"hexsha": "0729cf5787deba5b4a606e839ed4cef6f29e35a7", "size": 1436, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/neuron/iz.jl", "max_stars_repo_name": "russelljjarvis/SpikingNeuralNetworks.jl", "max_stars_repo_head_hexsha": "6156f8fa7096546c6367651cc4abc1d1f325ed22", "max_stars_repo_licenses": ["MIT"], "m... |
using Test
using SafeTestsets
@safetestset "SpinWaveTheory" begin
include("SpinWaveTheory.jl")
end
| {"hexsha": "04a2bb410ca4d0fc265965efac3ab643d6597f6f", "size": 104, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/runtests.jl", "max_stars_repo_name": "Quantum-Many-Body/SpinWaveTheory.jl", "max_stars_repo_head_hexsha": "aadf26340ca5ba054782f26bc76270d4d580dd90", "max_stars_repo_licenses": ["Apache-2.0"], ... |
; Ren-C Interface
lib/read: read: function [
source [any-value!]
][
ui-main-read to text! source
]
lib/write-stdout: write-stdout: function [
text [text! char!]
][
if char? text [text: my to-text]
; TODO: look into stripping the extra whitespace
trim/with text ">>"
... | {"hexsha": "1409bc57de0f79c354ee33c3a71a26aca2f14ad4", "size": 1032, "ext": "r", "lang": "R", "max_stars_repo_path": "web/export.r", "max_stars_repo_name": "gchiu/ui-builder", "max_stars_repo_head_hexsha": "c5c0c9eaea990a28c1943606ad3519c7e1667517", "max_stars_repo_licenses": ["ISC"], "max_stars_count": 5, "max_stars_r... |
function loadtexttree(filename::String)
branches = CSV.read(joinpath(abspath(dirname(@__FILE__)),filename));
return branches
end
| {"hexsha": "c1cc53ae31814fdcd5495cfc41db906e1f4ffeb5", "size": 137, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/loadtexttree.jl", "max_stars_repo_name": "dcanuto/CardioModeling", "max_stars_repo_head_hexsha": "39d308cc784e3a1ed0f52e96fe0463ac2539372b", "max_stars_repo_licenses": ["MIT"], "max_stars_count"... |
# importing modules
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
# Data reading from file.
main_data = pd.read_csv('Data_for_Transformation.csv')
# 1st plot : scatter plot between age and salary.
print(main_data)
plt.scatter(main_data["Age"], main_data["Salary"])
plt.show()
# 2nd plot : s... | {"hexsha": "f53ec28c972634a4bfe92c7c8c7be6bbcee94fa0", "size": 641, "ext": "py", "lang": "Python", "max_stars_repo_path": "Lab 1/Exercise/Lab1_0_pandas_matplotlib.py", "max_stars_repo_name": "sunny-khatik/060_SunnyKhatik", "max_stars_repo_head_hexsha": "961fa2833f84a76fdafa65c2c26ee6a8816b5750", "max_stars_repo_license... |
import numpy as np
from skimage.transform import warp
#Define p corr to an image of max distance between pairs (in x and y)
#Correspondences Hand picked!
def p(p):
return np.array([p[0], p[1], 1])
def DLT(coords = [], dataset = None):
'''
Homography for flattening straight roads.
Params=
... | {"hexsha": "21611711fcb29464af5ec757bec74960eb46ce12", "size": 3453, "ext": "py", "lang": "Python", "max_stars_repo_path": "video/Homography.py", "max_stars_repo_name": "mcv-m6-video/mcv-m6-2018-team9", "max_stars_repo_head_hexsha": "a017ce7ef304cc2299263d9166df58d7e93d30b2", "max_stars_repo_licenses": ["MIT"], "max_st... |
# -*-coding:utf-8-*-
import pandas as pd
from numpy import *
dataset = pd.read_csv(
'test_data.csv', header=None)
dataset = round(dataset, 8)
List_data = mat(dataset)
Inverse = List_data.T
print(Inverse)
name = [
'cpu',
'cmui',
'amui',
'upcmui',
'tpcmui',
'mmui',
'mditi',
'mldsui',
... | {"hexsha": "f72de7d26b34833391adceb3f86898a1586662a4", "size": 468, "ext": "py", "lang": "Python", "max_stars_repo_path": "Project_google_task_usage/task_uasge_500_preprocess/data_inverse.py", "max_stars_repo_name": "sssssch/jupyter-examples", "max_stars_repo_head_hexsha": "cf9e26e22dcfa263bcd26323527911cdbcc2cd61", "m... |
from time import time
import cv2
import numpy as np
from Mosse_Tracker.TrackerManager import Tracker, TrackerType
from PIL import Image
#from Car_Detection_TF.yolo import YOLO
#from Car_Detection.detect import Yolo_image
from Mosse_Tracker.utils import draw_str
from boxes.yoloFiles import loadFile
pi=22/7
# clf = pi... | {"hexsha": "5b90e6981d6225ddc5d8ca45335395b962e46ada", "size": 20018, "ext": "py", "lang": "Python", "max_stars_repo_path": "Debug.py", "max_stars_repo_name": "khaledsabry97/Argus", "max_stars_repo_head_hexsha": "c794f6e46ec529a836db127dfdb33b3161cf79ee", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 9, "max_s... |
import Base.*, Base.show
abstract type DistanceUnits end
struct DistanceUnit <: DistanceUnits
value::Float64
factor::Int8
name::String
end
DistanceUnit( fact::T1, name::String ) where {T1<:Integer} = DistanceUnit( 1.0, Int8(fact), name )
DistanceUnit( val::T1, fact::T2, name::String ) where {T1<:Real, T2... | {"hexsha": "9a4835fb5c21e9c93da011b52cab3dddb2ae7b8b", "size": 2316, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/units.jl", "max_stars_repo_name": "Marc-3d/PIV3D", "max_stars_repo_head_hexsha": "b932dca7e4a9909e5e22c08e4205520f26282023", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 3, "max_stars... |
mutable struct Instruction
op::String
arg::Int
end
function instructionParser(line)
parts = split(line, " ")
op = parts[1]
arg = parse(Int, parts[2])
return Instruction(op, arg)
end
function execute(program)
# print("executing ",program)
accumulator = 0
loc = length(program)
... | {"hexsha": "ece99a44486f7f14f2591761a401ca4440c7b6e8", "size": 2279, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "8/eight_a.jl", "max_stars_repo_name": "antoncic/aoc2020", "max_stars_repo_head_hexsha": "3b12f9423258bc122cdb44ce166b6edcf602a2f2", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "max... |
/*
* Copyright 2016-2019 CNRS-UM LIRMM, CNRS-AIST JRL
* Copyright 2020 ANYbotics AG
*/
#include <iostream>
#include <numeric>
#include <Eigen/Core>
#include <gtest/gtest.h>
#include "copra/solvers/all.h"
#include "time_invariant_systems.h"
TEST_F(Problem, QuadProgTest) { // NOLINT
copra::QuadProgDenseSolv... | {"hexsha": "59ebb9473875f341957d63c77b19bc88e19220a8", "size": 3187, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "test/TestSolvers.cpp", "max_stars_repo_name": "ANYbotics/copra", "max_stars_repo_head_hexsha": "d06095fb4c6f9d7103dae2b44a32759c7cfc4ee1", "max_stars_repo_licenses": ["BSD-2-Clause"], "max_stars_cou... |
from datetime import datetime
import click
import numpy as np
import pandas
import pyarrow
import pyarrow.parquet as pq
import yaml
from cloudpathlib import AnyPath, CloudPath
from deepdiff import DeepDiff
from simple_term_menu import TerminalMenu
from tqdm import tqdm
import tempfile
TYPE_MAPPINGS = {"numeric": "byt... | {"hexsha": "e3d4caf7ff6c64a220780f99bd779d0d96437fc5", "size": 16382, "ext": "py", "lang": "Python", "max_stars_repo_path": "subgraph_extractor/cli.py", "max_stars_repo_name": "cardstack/subgraph-extractor", "max_stars_repo_head_hexsha": "86f78ee92a08258a100f72cca7b1c1b9f3f8004e", "max_stars_repo_licenses": ["MIT"], "m... |
function [newbnd] = mesh2edge(bnd)
% MESH2EDGE finds the edge lines from a triangulated mesh or the edge
% surfaces from a tetrahedral or hexahedral mesh. An edge is defined as an
% element that does not border any other element. This also implies that a
% closed triangulated surface has no edges.
%
% Use as
% [edge... | {"author": "spm", "repo": "spm12", "sha": "3085dac00ac804adb190a7e82c6ef11866c8af02", "save_path": "github-repos/MATLAB/spm-spm12", "path": "github-repos/MATLAB/spm-spm12/spm12-3085dac00ac804adb190a7e82c6ef11866c8af02/external/fieldtrip/forward/private/mesh2edge.m"} |
import numpy
n, m = input().split()
print(str(numpy.eye(int(n), int(m))).replace('1', ' 1').replace('0', ' 0'))
| {"hexsha": "fac9ab0841af295d6444a3d1ccd999fbf1f8dde0", "size": 112, "ext": "py", "lang": "Python", "max_stars_repo_path": "Hackerrank/Python/np-eye-and-identity.py", "max_stars_repo_name": "PROxZIMA/Competitive-Coding", "max_stars_repo_head_hexsha": "ba6b365ea130b6fcaa15c5537b530ed363bab793", "max_stars_repo_licenses":... |
'''
2017-02-28
place a colorbar.
'''
import sys
import scipy
import pickle
import scipy.misc
import numpy as np
import SimpleITK as sitk
import PyQt5
import pyqtgraph.opengl as gl
import matplotlib.pyplot as plt
import pyqtgraph as pg
from scipy import ndimage
from PyQt5 import QtCore, QtGui
# from pyqtgr... | {"hexsha": "d665932de640cb1066b5e377a5f2f1c885ced575", "size": 14194, "ext": "py", "lang": "Python", "max_stars_repo_path": "myocardial_perfusion.py", "max_stars_repo_name": "JoeyValentine/cardiac-mri-visualization", "max_stars_repo_head_hexsha": "9eb17da579092cb0e636eaf1ec0a17ec69a314aa", "max_stars_repo_licenses": ["... |
# https://pythonprogramming.net/haar-cascade-object-detection-python-opencv-tutorial/
import argparse as ap
import numpy as np
import cv2
parser = ap.ArgumentParser()
parser.add_argument(
"-d", "--descriptor", help="cascade descriptor XML file", required="True"
)
parser.add_argument("-i", "--image", help="image ... | {"hexsha": "bcefd9aba757300ca4660433a3b7708b5c165148", "size": 810, "ext": "py", "lang": "Python", "max_stars_repo_path": "tools/detection/Python/detect.py", "max_stars_repo_name": "vladiant/CascadeClassifier", "max_stars_repo_head_hexsha": "000be39d0c37c6fce5f353bbb6c182eebd61313f", "max_stars_repo_licenses": ["MIT"],... |
[STATEMENT]
lemma vec_to_lpoly_vNil [simp]: "vec_to_lpoly vNil = 0"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. vec_to_lpoly vNil = 0
[PROOF STEP]
by (simp add: empty_list_0poly) | {"llama_tokens": 87, "file": "Linear_Programming_Matrix_LinPoly", "length": 1} |
import numpy as np
import pandas as pd
import pytest
from fantasyfootball.pipeline.process.process_defense import (
aggregate_season_defense_stats,
rank_defense,
scale_defense_stats,
weight_defense_stats,
)
@pytest.fixture(scope="module")
def df():
defense_df_dtypes = {
"opp": object,
... | {"hexsha": "37e35a6d2fd1095584a993010b441903d0f3c448", "size": 3103, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/pipeline/process/test_process_defense.py", "max_stars_repo_name": "thecodeforest/fantasyfootball", "max_stars_repo_head_hexsha": "ed04960a20e1781a820c03284f076dbdcf90a8df", "max_stars_repo_l... |
#!/usr/bin/env ipython
"""
Analisis of sheath-from-icme for Auger Low Energy data
IMPORTANT:
- Note that 'structure' argument refers to MC, sheath, ICME,
sheath-of-icme, taking the following possible values:
'i' : ICME
'mc' : MC
'sh.i' : sheath of ICME
'sh.mc' : sheath... | {"hexsha": "ed84d7f2d8130ada3b1394498c9a058e173e0baf", "size": 5255, "ext": "py", "lang": "Python", "max_stars_repo_path": "sheaths.icmes/src/sea_global.py", "max_stars_repo_name": "jimsrc/seatos", "max_stars_repo_head_hexsha": "e775dba1a2a96ff44b837cf8d85101ccfef302b1", "max_stars_repo_licenses": ["MIT"], "max_stars_c... |
from random import choices, seed
from numpy import array
from pandas import Series
from survey.questions import LikertQuestion
from survey.groups import LikertQuestionGroup
def make_likert_question_group() -> LikertQuestionGroup:
categories = {
'Strongly Disagree': 1,
'Disagree': 2,
'Ne... | {"hexsha": "21c5dc4531cd94d9f508487dfe743d7fc74d8449", "size": 915, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/test_groups/group_factories.py", "max_stars_repo_name": "vahndi/quant-survey", "max_stars_repo_head_hexsha": "1a0fcf0c22e2c7306cba0218f82d24c97d28ee1f", "max_stars_repo_licenses": ["MIT"], "m... |
/*
* Copyright 2018 Angel Caban
*
* 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, publish, d... | {"hexsha": "3df1fdee497b4210067f62f9b2ef92f3d4d7488a", "size": 3001, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "src/json_servlet.cpp", "max_stars_repo_name": "angelcaban/cpp_rest_servlets", "max_stars_repo_head_hexsha": "8debf35c67ce9cd96dfc9ca3c4ea06b77abcaea9", "max_stars_repo_licenses": ["MIT"], "max_stars... |
import numpy as np
import torch
from torch.utils.data import Sampler
class FewshotSampler(Sampler):
'''
this is a sampler for fewshot learning tasks
as it can sample
it returns a batch with way_num x 15+1 images
'''
def __init__(
self,
dataset,
total_cat,
... | {"hexsha": "54623afb7b9b12856568eac994b0703ccf5f9f39", "size": 1188, "ext": "py", "lang": "Python", "max_stars_repo_path": "sampler.py", "max_stars_repo_name": "DeuterCat/VAEAN", "max_stars_repo_head_hexsha": "b369fc84a7ca2d062f60bb0d634e26be21c72fa2", "max_stars_repo_licenses": ["Naumen", "Condor-1.1", "MS-PL"], "max_... |
# -*- coding: utf-8 -*-
"""
Created on Fri Feb 3 22:21:32 2017
@author: yxl
"""
import wx
# from imagepy import IPy
from sciapp.action import ImageTool
import numpy as np
import pandas as pd
from numpy.linalg import norm
from math import ceil
class Profile:
"""Define the profile class"""
dtype = "distanc... | {"hexsha": "0f15bd573541615d830526e84779a309ce1d01e4", "size": 5522, "ext": "py", "lang": "Python", "max_stars_repo_path": "imagepy/tools/Measure/profile_tol.py", "max_stars_repo_name": "Pad0y/imagepy", "max_stars_repo_head_hexsha": "23f41b64ade02f94b566b0d23a4b6459c1a1578d", "max_stars_repo_licenses": ["BSD-4-Clause"]... |
from typing import NoReturn
from numpy.random import normal
from src.configuration import Time
class DiseaseParameter:
def __init__(self, mean_duration: float, std_duration: float):
self.mean = mean_duration
self.std = std_duration
self.time = 0
self.default_value = mean_durat... | {"hexsha": "ec59c8b1c80c6bbbd5fb643d349c35b3a66819a1", "size": 473, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/environment/disease/parameter.py", "max_stars_repo_name": "Qnubo-Tech/epydemic", "max_stars_repo_head_hexsha": "635f211f3621a5e52acd4dc82f3dd74b5049c36f", "max_stars_repo_licenses": ["AFL-3.0"]... |
import numpy as np
import torch as tr
import itertools as it
from abstract_machine import make_abstract_machine, memorize_env
from neural_virtual_machine import NeuralVirtualMachine as NVMNet
def hadamard_matrix(N):
H = tr.tensor([[1.]])
while H.shape[0] < N:
H = tr.cat((
tr.cat((H, H), di... | {"hexsha": "8fba6324e8fd9d5f1dd28611d40f9f0669650b3f", "size": 15163, "ext": "py", "lang": "Python", "max_stars_repo_path": "pybullet/tasks/pick_and_place/nvm.py", "max_stars_repo_name": "garrettkatz/poppy-muffin", "max_stars_repo_head_hexsha": "43ac00e6a151346ca7df005c009fcb762f16bd35", "max_stars_repo_licenses": ["MI... |
[STATEMENT]
lemma pre_one_mult_Hd:
"(x\<guillemotleft>1)*Hd \<le> x"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. (x \<guillemotleft> (1::'a)) * Hd \<le> x
[PROOF STEP]
by (metis Hd_pre_post one_def pre_closed pre_post_export pre_pre_post) | {"llama_tokens": 115, "file": "Correctness_Algebras_Pre_Post", "length": 1} |
import os, json, string, nltk, sys, inspect
from nltk.stem.porter import *
from sklearn.feature_extraction.text import TfidfVectorizer
from nltk.corpus import stopwords
from sklearn.metrics.pairwise import linear_kernel
from summa import keywords
import numpy as np
from collections import Counter
import operator
import... | {"hexsha": "d6d071b343f55cd4d927148f7cf918ef509caa03", "size": 21563, "ext": "py", "lang": "Python", "max_stars_repo_path": "WhosWho.py", "max_stars_repo_name": "ryanmdavis/WhosWhoBioTech", "max_stars_repo_head_hexsha": "497423b3a2e6453924f93c043884c0276132276a", "max_stars_repo_licenses": ["MIT"], "max_stars_count": n... |
# -*- coding: utf-8 -*-
"""
"""
from __future__ import division, print_function, unicode_literals
import pytest
# from wavestate.iirrational import fitters
from wavestate.iirrational import fitters_rational
from wavestate.iirrational import plots
from wavestate.iirrational.utilities import relpy
import numpy as np
fro... | {"hexsha": "0fbf0b6ab460c177f7457daaf8c6de7cfee36859", "size": 7233, "ext": "py", "lang": "Python", "max_stars_repo_path": "test/ratcheby/test_cheby_convergence.py", "max_stars_repo_name": "wavestate/wavestate-iirrational", "max_stars_repo_head_hexsha": "01d6dba8b2131fa2a099a74f17e6540f30cee606", "max_stars_repo_licens... |
#!/bin/python3
import math
import os
import random
import re
import sys
import numpy as np
from functools import reduce
# Complete the hourglassSum function below.
def hourglassSum(arr):
arr = np.array(arr)
print(arr)
mask = np.array([[1,1,1],[0, 1, 0], [1, 1, 1]])
print(mask)
asse... | {"hexsha": "3289a5bb71e0e8a86c9a8007ff1c328f0162b97c", "size": 1957, "ext": "py", "lang": "Python", "max_stars_repo_path": "2d_array-ds_numpy.py", "max_stars_repo_name": "Ziggareto/hackerrank_python", "max_stars_repo_head_hexsha": "02875e9677d74f397d75577b8f3b38b584f31506", "max_stars_repo_licenses": ["MIT"], "max_star... |
# This file is a part of Julia. License is MIT: http://julialang.org/license
make_value{T<:Integer}(::Type{T}, i::Integer) = 3*i%T
make_value{T<:AbstractFloat}(::Type{T},i::Integer) = T(3*i)
Vec{N,T} = NTuple{N,Base.VecElement{T}}
# Crash report for #15244 motivated this test.
@generated function thrice_iota{N,T}(::... | {"hexsha": "6476beade9ad7db13bd98fa22ca2d5ccef21b5ea", "size": 1803, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/vecelement.jl", "max_stars_repo_name": "ajkeller34/julia", "max_stars_repo_head_hexsha": "9e6b5fd48e978d70518194733e4fc38f293b6655", "max_stars_repo_licenses": ["Zlib"], "max_stars_count": nul... |
import statsmodels.api as sm, pandas as pd, statistics
from statsmodels.tsa.arima_model import ARIMA
import matplotlib.pyplot as plt
N, t = 140, 136
airpass = sm.datasets.get_rdataset("AirPassengers", "datasets")
ts = pd.Series(airpass.data["value"])
ts = ts.astype(float)
model = ARIMA(ts[0:t], order=(0,1,0))
res = mo... | {"hexsha": "c17380863eeceeb7e085dec640ad6abebbec6f08", "size": 484, "ext": "py", "lang": "Python", "max_stars_repo_path": "inventoryanalytics/forecasting/ARIMA.py", "max_stars_repo_name": "gwr3n/inventoryanalytics", "max_stars_repo_head_hexsha": "dd2a49386441bd51287d08ee73059cac7748c898", "max_stars_repo_licenses": ["M... |
import sympy as sp
from sympy.parsing.sympy_parser import parse_expr as sympy_parse
from .constants import log
from . import util
def symbolic_barycentric(function):
'''
Symbolically integrate a function(x,y,z) across a triangle or mesh.
Arguments
----------
function: string or sympy expressi... | {"hexsha": "d40e874a84bbdcede79d7bdfd3b48aab30628b82", "size": 3301, "ext": "py", "lang": "Python", "max_stars_repo_path": "trimesh/integrate.py", "max_stars_repo_name": "maganrobotics/UR3e-manipulation", "max_stars_repo_head_hexsha": "ceaf650b1a811d0bfc3baf175d353fc7f4a33522", "max_stars_repo_licenses": ["MIT"], "max_... |
Require Import Arith.
Require Import List.
Import ListNotations.
Require Import Omega.
Require Import v1.Multi.
Require Import v1.NeutronTactics.
Require Import ProofIrrelevance.
Set Default Timeout 10.
Set Implicit Arguments.
Inductive no_dup_index n : list (index n) -> Prop :=
| NdiNil : no_dup_index []
| NdiCon... | {"author": "HazardousPeach", "repo": "neutrons-bench", "sha": "447b1066142ceee607ba595d04c43c03089ce6f4", "save_path": "github-repos/coq/HazardousPeach-neutrons-bench", "path": "github-repos/coq/HazardousPeach-neutrons-bench/neutrons-bench-447b1066142ceee607ba595d04c43c03089ce6f4/semantics/v1/MultiAux.v"} |
from sympy import MatAdd, MatMul, Mul, flatten
from sympy import expand as sympyExpand
import itertools
def isZero(expr):
if (expr == 0 or
(hasattr(expr, 'is_Zero') and expr.is_Zero) or
(hasattr(expr, 'is_ZeroMatrix') and expr.is_ZeroMatrix) ):
return True
return False
def flattenAdd(exp... | {"hexsha": "409682d4e9a4a38ebbd48aed97b1208ce55a9057", "size": 3311, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/Definitions/Math.py", "max_stars_repo_name": "NuxDD/pyrate", "max_stars_repo_head_hexsha": "01e61027813d4eaf674dd5ce5db6898ea5ca22aa", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_cou... |
from collections import defaultdict
from pathlib import Path
from typing import Dict, List, Tuple
import Swit.common.paths as path_to
import networkx as nx
from Swit.common.helper_funcs import get_head_id
from matplotlib import pyplot as plt
def get_parent_file_content() -> List[str]:
return path_to.parents.read... | {"hexsha": "50c4442592ca35f059135d61fa085dca13b2ad47", "size": 2882, "ext": "py", "lang": "Python", "max_stars_repo_path": "Swit/inner/graph.py", "max_stars_repo_name": "NogaOs/wit", "max_stars_repo_head_hexsha": "52387598eb1e9c793d8215529f4e17433dbaf291", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "m... |
# -*- coding: utf-8 -*-
import numpy
import matplotlib.pylab as plt
from ...core.matrixdata import MatrixData
#from ...core.time import TimeAxis
from ...utils.types import BasisManagedComplexArray
from ...core.managers import BasisManaged
from ...core.saveable import Saveable
from ..hilbertspace.operators import Dens... | {"hexsha": "ba0ea49b167dadcdd73cde01e65aeae526c9a1e6", "size": 9166, "ext": "py", "lang": "Python", "max_stars_repo_path": "quantarhei/qm/propagators/dmevolution.py", "max_stars_repo_name": "slamavl/quantarhei", "max_stars_repo_head_hexsha": "d822bc2db86152c418e330a9152e7866869776f7", "max_stars_repo_licenses": ["MIT"]... |
#include "catch.hpp"
#include <sstream>
#include <cstdio>
#include <Eigen/Core>
#include <Eigen/SparseCore>
#include <SmurffCpp/Utils/MatrixUtils.h>
#include <SmurffCpp/IO/MatrixIO.h>
using namespace smurff;
static NoiseConfig fixed_ncfg(NoiseTypes::fixed);
TEST_CASE("matrix_io/read_matrix | matrix_io/write_matri... | {"hexsha": "4721814fedb537097b0fdeb2e8c57d3e02cd1d1a", "size": 31419, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "lib/smurff-cpp/Tests/TestsMatrixIO.cpp", "max_stars_repo_name": "msteijaert/smurff", "max_stars_repo_head_hexsha": "e6066d51e1640e9aad0118628ba72c9d662919fb", "max_stars_repo_licenses": ["MIT"], "m... |
import os
import numpy
import re
# python2
adjmat = list()
map = dict()
def main():
edgelist = "level_1_edges/part-00000"
# edgelist = raw_input("Enter path for edges file: ")
if not os.path.isfile(edgelist):
print("Invalid file! Exitting")
exit(0)
nodesU = []
max = 0
print("+-... | {"hexsha": "43df1e062c3345b2ccea20e03779465fd24071bd", "size": 3449, "ext": "py", "lang": "Python", "max_stars_repo_path": "gen_matrix.py", "max_stars_repo_name": "kaustubhhiware/GraphWise", "max_stars_repo_head_hexsha": "6e9136e71a6e268841c5862ab2268fcdfc0ed0c2", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
from dipy.reconst import dti
from ..core.acquisition_scheme import gtab_dmipy2dipy
from ..core.modeling_framework import (
MultiCompartmentSphericalHarmonicsModel)
import numpy as np
from dipy.segment.mask import median_otsu
from dipy.data import get_sphere, HemiSphere
from ..signal_models.tissue_response_models im... | {"hexsha": "b97f2e776c938cb5ceb5303cb3f2a5ab5184f96b", "size": 9072, "ext": "py", "lang": "Python", "max_stars_repo_path": "dmipy/tissue_response/white_matter_response.py", "max_stars_repo_name": "weningerleon/dmipy", "max_stars_repo_head_hexsha": "6eeb4cf803722ba8c7910c67974bff6a6a01a14e", "max_stars_repo_licenses": [... |
From Test Require Import tactic.
Section FOFProblem.
Variable Universe : Set.
Variable UniverseElement : Universe.
Variable wd_ : Universe -> Universe -> Prop.
Variable col_ : Universe -> Universe -> Universe -> Prop.
Variable col_swap1_1 : (forall A B C : Universe, (col_ A B C -> col_ B A C)).
Variable col_swap2_... | {"author": "janicicpredrag", "repo": "Larus", "sha": "a095ca588fbb0e4a64a26d92946485bbf85e1e08", "save_path": "github-repos/coq/janicicpredrag-Larus", "path": "github-repos/coq/janicicpredrag-Larus/Larus-a095ca588fbb0e4a64a26d92946485bbf85e1e08/benchmarks/coq-problems/col-trans/col_trans_1385.v"} |
// Standard libraries.
#include <math.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Libraries from packages outside ASF.
#include <glib.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_statistics_double.h>
// Libraries develope... | {"hexsha": "ce2ad7cfd61cdbe381541b7ea204e34abb2e798f", "size": 2799, "ext": "c", "lang": "C", "max_stars_repo_path": "src/flip/flip.c", "max_stars_repo_name": "glshort/MapReady", "max_stars_repo_head_hexsha": "c9065400a64c87be46418ab32e3a251ca2f55fd5", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars_count": 3.0... |
#include "wali/graph/Functional.hpp"
#include "wali/graph/IntraGraph.hpp"
#include "llvm/Support/ErrorHandling.h"
#include <boost/cast.hpp>
using namespace wali;
using namespace std;
using namespace wali::graph;
SemElemFunctional::SemElemFunctional() :
type(TRASH),
lhs(NULL),
rhs(NULL),
value(NULL),
intra... | {"hexsha": "ecf5c5451afb998fdef492852c77c6a5bed84709", "size": 3764, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "Source/wali/lib/graph/Functional.cpp", "max_stars_repo_name": "jusito/WALi-OpenNWA", "max_stars_repo_head_hexsha": "2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99", "max_stars_repo_licenses": ["MIT"], "ma... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
import time
import socket
import numpy as np
from multiprocessing import Process, Pipe
#from PyQt5.QtWidgets import QListView, QAction, QWidget
from PyQt5.QtWidgets import QFileDialog, QWidget
from PyQt5 import QtWidgets, uic #, QtCore, QtG... | {"hexsha": "89a1e6bed9d724764744ce6b620c08944f05f859", "size": 80406, "ext": "py", "lang": "Python", "max_stars_repo_path": "atomize/control_center/awg_phasing.py", "max_stars_repo_name": "Anatoly1010/Atomize_NIOCH", "max_stars_repo_head_hexsha": "9359f2ee31e71ee3b2e210ad5ccc2dc3ad3dfbe0", "max_stars_repo_licenses": ["... |
[STATEMENT]
lemma [simp]: "NatTrans \<eta> \<Longrightarrow> Category(NTCatCod \<eta>)"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. NatTrans \<eta> \<Longrightarrow> Category (NTCatCod \<eta>)
[PROOF STEP]
by (simp add: NatTransP.NatTransFtor2 NTCatCod_def) | {"llama_tokens": 105, "file": "Category2_NatTrans", "length": 1} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.