text stringlengths 0 1.25M | meta stringlengths 47 1.89k |
|---|---|
# coding: utf-8
__author__ = 'ZFTurbo: https://kaggle.com/zfturbo'
import numpy as np
def nms_standard(dets, thresh):
scores = dets[:, 0]
x1 = dets[:, 1]
y1 = dets[:, 2]
x2 = dets[:, 3]
y2 = dets[:, 4]
areas = (x2 - x1 + 1) * (y2 - y1 + 1)
order = scores.argsort()[::-1]
keep = []
... | {"hexsha": "b1fa95518ffb4e21069074a840765009ec9160ac", "size": 5066, "ext": "py", "lang": "Python", "max_stars_repo_path": "a01_ensemble_boxes_functions.py", "max_stars_repo_name": "MinliangLin/Keras-RetinaNet-for-Open-Images-Challenge-2018", "max_stars_repo_head_hexsha": "e9a1e0e463fd9792d839cba3d950d75ec6641b75", "ma... |
from collections import namedtuple
from math import atan2
from gym import spaces
import numpy as np
from src.util import norm2, angle_parts
from src.mdp.action import TURN_LIM, NUM_A
ac_vars = ['x', 'y', 'phi', 'speed', 'd_phi']
obs_vars = ['r', 'theta_x', 'theta_y',
'psi_x', 'psi_y', 'sp0', 'sp1',
... | {"hexsha": "440d073c9f17ada5ac369c9147fbcc5a345b1632", "size": 2068, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/src/mdp/state.py", "max_stars_repo_name": "osmanylc/deep-rl-collision-avoidance", "max_stars_repo_head_hexsha": "e7f0831b683f78d741dd488c9c8b0403bf17abd5", "max_stars_repo_licenses": ["MIT"], ... |
# Imports
import dash
import dash_core_components as dcc
import dash_html_components as html
import dash_bootstrap_components as dbc
import dash_table
import dash_table.FormatTemplate as FormatTemplate
import pandas as pd
import pandas.io.sql as psql
from pandas.io.json import json_normalize
import plotly.express as px... | {"hexsha": "2ffcfcd6615be472604b018ee0a7382358fb4324", "size": 1848, "ext": "py", "lang": "Python", "max_stars_repo_path": "app/dashapp2/layout.py", "max_stars_repo_name": "fpdcc/fpcc_data_dashboard", "max_stars_repo_head_hexsha": "575e10a72a85617bd214906822271aa65ecced04", "max_stars_repo_licenses": ["MIT"], "max_star... |
import numpy as np
# 9^2 * 7 = 567, so only need 1 to 567
n = 0
yes = []
no = [1]
temp = []
for i in range(2, 568):
n = i
temp = []
temp.append(n)
while n not in (1, 89):
temp.append(n)
a = n
n = 0
while a > 9:
n += (a - int(a.__floordiv__(1... | {"hexsha": "3ae83b82e5e2f52f147bd46cdf57c6ea3d3f3ceb", "size": 779, "ext": "py", "lang": "Python", "max_stars_repo_path": "76-100/92.py", "max_stars_repo_name": "tonyyzy/ProjectEuler", "max_stars_repo_head_hexsha": "f52de2f931ebd4df2020e32d12062866b1586e72", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, ... |
import requests
import os
if 'TPU_DRIVER_MODE' not in globals():
url = 'http://' + os.environ['COLAB_TPU_ADDR'].split(':')[0] + ':8475/requestversion/tpu_driver0.1-dev20191206'
resp = requests.post(url)
TPU_DRIVER_MODE = 1
# The following is required to use TPU Driver as JAX's backend.
from jax.config import con... | {"hexsha": "b47426200325c006681b9c531d98c06a356a78c5", "size": 443, "ext": "py", "lang": "Python", "max_stars_repo_path": "start_tpu.py", "max_stars_repo_name": "Tenoke/trax-reformer", "max_stars_repo_head_hexsha": "5c8de0e5194f8593632712148c68b7adc13b2e5d", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count":... |
#include <tm_kit/infra/Environments.hpp>
#include <tm_kit/infra/TerminationController.hpp>
#include <tm_kit/infra/BasicWithTimeApp.hpp>
#include <tm_kit/infra/RealTimeApp.hpp>
#include <tm_kit/basic/ByteData.hpp>
#include <tm_kit/basic/VoidStruct.hpp>
#include <tm_kit/basic/TrivialBoostLoggingComponent.hpp>
#include <... | {"hexsha": "dc1862b3ce8416ed683b6559c25c5a106be8baa1", "size": 7154, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "db_one_list_subscription/DBOneListSubscriptionServerEtcd.cpp", "max_stars_repo_name": "cd606/tm_examples", "max_stars_repo_head_hexsha": "5ea8e9774f5070fbcc073c71c39bcb7febef88a7", "max_stars_repo_l... |
C MULTI-ADD: Program to add many maps together
C ---------
C
C Multi add takes as input a file name and reads from the redtape a
C list of maps in the standard map catalogue to add together.
C Output is to the map specified in the call to the routine.
C-
include '../include/anmap_sys_pars.inc'
include '/... | {"hexsha": "91c44f8a83066d3dee511946100d41f885900f85", "size": 6231, "ext": "f", "lang": "FORTRAN", "max_stars_repo_path": "anm_tools/multi_add.f", "max_stars_repo_name": "CavendishAstrophysics/anmap", "max_stars_repo_head_hexsha": "efb611d7f80a3d14dc55e46cd01e8a622f6fd294", "max_stars_repo_licenses": ["BSD-3-Clause"],... |
//
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/CPPAlliance/url
//
#ifndef BOOST_URL_IMPL_QUERY_PARAMS... | {"hexsha": "da3388a5e58130fca4ac33f519fcdcb7e4eadb82", "size": 3755, "ext": "ipp", "lang": "C++", "max_stars_repo_path": "include/boost/url/impl/query_params_view.ipp", "max_stars_repo_name": "TankerHQ/url", "max_stars_repo_head_hexsha": "336917aca8d09b950b85c2cabdd46375aa0f0fb7", "max_stars_repo_licenses": ["BSL-1.0"]... |
# AUTOGENERATED! DO NOT EDIT! File to edit: 03_templates.ipynb (unless otherwise specified).
__all__ = ['replace', 'txt2lst', 'lst2txt', 'ZIP', 'getEvals', 'filltxt', 'Template']
# Cell
import warnings
with warnings.catch_warnings(): #ignore warnings
warnings.simplefilter("ignore")
from typing import Optional... | {"hexsha": "8a379fcaa8660dd5f4f1e172d5b118de90df4573", "size": 4798, "ext": "py", "lang": "Python", "max_stars_repo_path": "sidis/templates.py", "max_stars_repo_name": "Noeloikeau/sidis", "max_stars_repo_head_hexsha": "3e6f261747ecc73864ed661fbb6bd5059c2eb31b", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_coun... |
import numpy as np
import pdb
from astropy import wcs
from astropy.coordinates import SkyCoord
from astropy.io import fits
from reid19_rotation import rotcurve, R0, V0
from MW_utils import lbd2vlsr
from reproject import reproject_exact, reproject_interp
import cv2
import pdb
def merge_maps(maps, outmap, target_res, l... | {"hexsha": "415a18d2f0d640c98d240256cacc071e0025233f", "size": 7197, "ext": "py", "lang": "Python", "max_stars_repo_path": "ISM/map_utils.py", "max_stars_repo_name": "XanAstia/tangents-gamma", "max_stars_repo_head_hexsha": "f9a1927f90592934ff8b027ddc62cfb603975676", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_sta... |
# ------------------------------------------------------------------------------
# Copyright (c) Microsoft
# Licensed under the MIT License.
# Created by Tianheng Cheng(tianhengcheng@gmail.com), Yang Zhao
# ------------------------------------------------------------------------------
import math
import torch
import ... | {"hexsha": "e674d66fd6836aa7c3fc1ab8ce892166530ab8a9", "size": 2137, "ext": "py", "lang": "Python", "max_stars_repo_path": "lib/core/evaluation.py", "max_stars_repo_name": "ainur699/HR_facial_landmarks", "max_stars_repo_head_hexsha": "4ba9abf0409ac169931c51066d4491883f125bb6", "max_stars_repo_licenses": ["MIT"], "max_s... |
import numpy
from setuptools import setup, find_packages
from setuptools import Extension
from setuptools.command.build_ext import build_ext as _build_ext
from codecs import open
from os import path
from distutils.extension import Extension
import os
try:
from Cython.Build import cythonize
except:
print('Cython... | {"hexsha": "5d4de599188532b51cc4e8771d7d65c9bc1ea1e3", "size": 1804, "ext": "py", "lang": "Python", "max_stars_repo_path": "setup.py", "max_stars_repo_name": "sterinaldi/lensingpop", "max_stars_repo_head_hexsha": "d35bd46676c5bc9436ed60b77d25d75d97775a1c", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "m... |
"""
In this lesson we prepare simple feedforward neural network
"""
import numpy as np
import torch
import torch.nn as nn
import torchvision
import torchvision.transforms as transforms
# set random seeds for reproducibility
torch.manual_seed(12)
torch.cuda.manual_seed(12)
np.random.seed(12)
# Device configuration
... | {"hexsha": "628751f2239ef047f695bb321c165c3d6d53f5c0", "size": 4431, "ext": "py", "lang": "Python", "max_stars_repo_path": "feedforward_1_hid_nn.py", "max_stars_repo_name": "ksopyla/pytorch_neural_networks", "max_stars_repo_head_hexsha": "42831cfbd76276488bf58bb8f3f936f7b4188cea", "max_stars_repo_licenses": ["MIT"], "m... |
import numpy as np
import torch
import torchvision
import torchvision.transforms as transforms
transform = transforms.Compose(
[transforms.ToTensor(),
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))])
trainset = torchvision.datasets.CIFAR10(root='./datasets/fmnist/data', train=True,
... | {"hexsha": "5d4381e5c6784651bfcce605e0f9136845ca0918", "size": 1449, "ext": "py", "lang": "Python", "max_stars_repo_path": "datasets/cifar10/preprocess.py", "max_stars_repo_name": "zhaolotelli/FedLearn", "max_stars_repo_head_hexsha": "b5ddb26acbee3218b11894fb7ca7ce24677c0b50", "max_stars_repo_licenses": ["MIT"], "max_s... |
import random
import struct
import string
import numpy as np
from origin import data_types
def random_data( dtype ):
if dtype.find("int") != -1:
x = long(random.randint(0, 2**32-1))
x *= 2**32
x += random.randint(0, 2**32-1)
size = data_types[dtype]["size"]
data = struct.pa... | {"hexsha": "497fcd0932d36b383504f5575e2171375b187c78", "size": 911, "ext": "py", "lang": "Python", "max_stars_repo_path": "ServerStuff/lib/origin/client/origin_random_data_maker.py", "max_stars_repo_name": "QuantumQuadrate/powstab2", "max_stars_repo_head_hexsha": "4311302417a859f8c17197648ee958b126d3a454", "max_stars_r... |
subroutine token(x,y,mrk,fz,n,h,th)
call tmf(x,y,xf,yf)
call move(xf,yf,0)
call marker(mrk)
call number(xf,yf,h,fz,n,th)
return
end
| {"hexsha": "e7211b725554a9b67b45c0f55ada4738b4bee3d4", "size": 174, "ext": "f", "lang": "FORTRAN", "max_stars_repo_path": "ftn/token.f", "max_stars_repo_name": "sergev/grafor", "max_stars_repo_head_hexsha": "2b7b244d84b739bdcdf1717824ee895eb015c4a0", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count": 4, "max... |
using Etcetera
using Test
@testset "LongestRepeatedStrings.jl" begin
@test longest_repeated_substrings([9,1,2,3,5,1,2,9]) == (2, Dict([1,2] => [2, 6]))
@test longest_repeated_substrings("ananas") == (3, Dict("ana" => [1, 3]))
@test longest_repeated_substrings("ananas"; overlap_allowed=false) == (... | {"hexsha": "9a565037d249cee8fcc010e7134def64f9772f18", "size": 1502, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/runtests.jl", "max_stars_repo_name": "rene-olsthoorn/Etcetera.jl", "max_stars_repo_head_hexsha": "ab51fb99ebf0afde2c11630331cc32db95d202f5", "max_stars_repo_licenses": ["MIT"], "max_stars_coun... |
using FileIO
using FCSFiles
using GeometricalPredicates
#= Gets flow data for a dictionary of tubes.
Given a dictionary of index => fcs file name, returns a dictionary of
index => filtered flow values.
=#
function get_facs_data(tubedict)
# want to use B1-A for information -- FITC
facs_data = Dict(i... | {"hexsha": "eb18b185ff1e70ffece4004c74ca010f874e7e9f", "size": 4301, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "info_theory_flow_data/fcsfile_handling.jl", "max_stars_repo_name": "bintulab/cr_theory_mukund2021", "max_stars_repo_head_hexsha": "c750c013439b67ee7667885e0aa44472c7f47d07", "max_stars_repo_license... |
import numpy as np
import matplotlib.pyplot as plt
import scipy
import seaborn as sns
filename = "possibleIATs.csv"
f = open(filename, "r")
f.readline()
data = []
for line in f:
data.append(float(line[:-1]))
N = len(data)
x = np.sort(data)
y = np.arange(N) / float(N)
plt.xlabel('x-axis')
plt.ylabel('y-axis')
p... | {"hexsha": "f1f57095918efb4d3666872f777f81412002f676", "size": 531, "ext": "py", "lang": "Python", "max_stars_repo_path": "Testcase11-Real-world-app-emulation/trace-gen/src/plotCDF.py", "max_stars_repo_name": "sangroad/ServerlessBench", "max_stars_repo_head_hexsha": "5cddf6c7969319c2b02c608bc3866fd781d1417e", "max_star... |
Require Import String.
Require Import Ascii.
Definition L (s : ascii) : Prop := True.
Inductive L1 : string -> Prop :=
| epsilon1 : L1 ""
| cons1 : forall x y, L x -> L1 y -> L1 (String x y).
Inductive L2 : string -> Prop :=
| epsilon2 : L2 ""
| L_e_L2 : forall x, L x -> L2 (String x EmptyString)
| cons2 : forall x ... | {"author": "jaeem006", "repo": "Semantica", "sha": "fdfdf544dd2d30b2f03a82849d78879762d48811", "save_path": "github-repos/coq/jaeem006-Semantica", "path": "github-repos/coq/jaeem006-Semantica/Semantica-fdfdf544dd2d30b2f03a82849d78879762d48811/repo_seman4_javier_enriquez (1).v"} |
\clearpage
\phantomsection
\addcontentsline{toc}{subsection}{SLL}
\label{insn:sll}
\subsection*{SLL: Shift Left Logical}
\subsubsection*{Format}
\textrm{SLL \%rd, \%r1, \%r2}
\begin{center}
\begin{bytefield}[endianness=big,bitformatting=\scriptsize]{32}
\bitheader{0,7,8,15,16,23,24,31} \\
\bitbox{8}{0x04}
\bitbox{8}... | {"hexsha": "7f44cd4bbf800f729b940f62bdc57e8d10da2f73", "size": 958, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "specification/instr/sll.tex", "max_stars_repo_name": "trombonehero/opendtrace-documentation", "max_stars_repo_head_hexsha": "ffa4129d0d6caa1e719502f416a082498c54be5d", "max_stars_repo_licenses": ["BS... |
# CubicSpline.py
#
# Daniel R. Reynolds
# SMU Mathematics
# Math4315
# imports
import numpy
from LUFactorsTri import LUFactorsTri
from BackwardSubTri import BackwardSubTri
from ForwardSubTri import ForwardSubTri
def CubicSplineCoeffs(t, y):
"""
Usage: z = CubicSplineCoeffs(t, y)
This routine comput... | {"hexsha": "d79f49f25625d3b15ea26882a1f8d94ad485af67", "size": 3029, "ext": "py", "lang": "Python", "max_stars_repo_path": "CubicSplines/CubicSpline.py", "max_stars_repo_name": "drreynolds/Math4315-codes", "max_stars_repo_head_hexsha": "b8be1c1254417a96d3bc23e48444731a75ed0d3b", "max_stars_repo_licenses": ["CC0-1.0"], ... |
M_PI = 3.14159265358979323846
from RAPID import RAPIDlib
import numpy.oldnumeric as Numeric
import math
import unittest, sys
class RapidTests(unittest.TestCase):
def setUp(self):
"""
start Viewer
"""
try:
from DejaVu.Viewer import Viewer
self.vi = Viewer()
... | {"hexsha": "1f57318272f71552658def1f7defe05deb52740c", "size": 6343, "ext": "py", "lang": "Python", "max_stars_repo_path": "cellpack/mgl_tools/RAPID/Tests/test.py", "max_stars_repo_name": "mesoscope/cellpack", "max_stars_repo_head_hexsha": "ec6b736fc706c1fae16392befa814b5337a3a692", "max_stars_repo_licenses": ["MIT"], ... |
#!/usr/bin/env python
"""Script to prepare and run different PseudoDojo tests for a given pseudopotential."""
from __future__ import division, print_function, unicode_literals
import sys
import os
import argparse
import copy
import numpy as np
import logging
import abipy.abilab as abilab
from monty.termcolor import c... | {"hexsha": "83e7e268b2dba8a4299f3989f12b72afb2b491b9", "size": 11741, "ext": "py", "lang": "Python", "max_stars_repo_path": "pseudo_dojo/scripts/dojorun.py", "max_stars_repo_name": "henriquemiranda/pseudo_dojo", "max_stars_repo_head_hexsha": "40e26ca5139909b891581a07e12f375e921f6aad", "max_stars_repo_licenses": ["CC-BY... |
import numpy as np
import glob
import os
import argparse
import re
from collections import defaultdict
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--exppath', '-p', type=str, required=True)
parser.add_argument('--infolder', '-i', type=str, required=True)
parser.ad... | {"hexsha": "52c0c47aebed950a3ea36b36f22b667b122f84e8", "size": 1240, "ext": "py", "lang": "Python", "max_stars_repo_path": "make_ph_kernel_list.py", "max_stars_repo_name": "OminiaVincit/scale-variant-topo", "max_stars_repo_head_hexsha": "6945bc42aacd0d71a6fb472c87e09da223821e1e", "max_stars_repo_licenses": ["MIT"], "ma... |
import numpy as np
from skimage.transform import warp
from transforms3d.euler import euler2mat
from transforms3d.affines import compose
class RandomTranslationRotationZoom3D(object):
'''
Data augmentation method.
Including random translation, rotation and zoom, which keep the shape of input.
Args:
... | {"hexsha": "bc2a54da93036d7aeff05a59d22a425716b521d3", "size": 4094, "ext": "py", "lang": "Python", "max_stars_repo_path": "data_utils/transformer_3d.py", "max_stars_repo_name": "shijun18/TMLI-PLAN", "max_stars_repo_head_hexsha": "1e41c8963dc8f5ca890ba83c8f1f17ac6aecfe16", "max_stars_repo_licenses": ["MIT"], "max_stars... |
import numpy as np
from ..map import Center, Edge, Corner
from .utils.voronoi import voronoi_finite_polygons
def key(p1, p2=None):
if p2 is None:
return tuple(p1)
return tuple(sorted([tuple(p1), tuple(p2)]))
class VoronoiGraph:
def generate(self, map_obj):
points = map_obj.points
... | {"hexsha": "bb7b6be8ba8a930518882a5c7c960e3dba69e3b5", "size": 4001, "ext": "py", "lang": "Python", "max_stars_repo_path": "map/generators/graph.py", "max_stars_repo_name": "Alerion/fantasy_map", "max_stars_repo_head_hexsha": "1ed2d7daf44c10c4e5f747fda25b0afc8cd5ccfe", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
# -*- coding: utf-8 -*-
"""
Here are the models
continuous-time sequential model (CTSM)
@author: hongyuan
"""
import pickle
import time
import numpy
import theano
from theano import sandbox
import theano.tensor as tensor
import os
#import scipy.io
from collections import defaultdict
from theano.tensor.shared_randoms... | {"hexsha": "bbe06c7601b42a8ba4a317678d66646825d06bcd", "size": 254854, "ext": "py", "lang": "Python", "max_stars_repo_path": "modules/models.py", "max_stars_repo_name": "sathvikb007/neurawkes", "max_stars_repo_head_hexsha": "6e8657b66e44de32e4aa5c0fc32fddd801b27d94", "max_stars_repo_licenses": ["MIT"], "max_stars_count... |
from selenium import webdriver
from pyvirtualdisplay import Display
from pymongo import MongoClient
from itertools import product
import numpy as np
import dynamic_scraping_helper as h
from bs4 import BeautifulSoup
import os
def fetch_source(driver, url):
with h.WaitForPageLoad(driver):
driver.get(url)
... | {"hexsha": "ca2699189795d82e4b71e45c835737c26a42313c", "size": 1999, "ext": "py", "lang": "Python", "max_stars_repo_path": "scraping/dynamic_scraping.py", "max_stars_repo_name": "Nathx/subs_check", "max_stars_repo_head_hexsha": "b91e0f031f756d0df317c6768fe73e4d07dc7ba3", "max_stars_repo_licenses": ["MIT"], "max_stars_c... |
import torchvision
import numpy as np
import torch
class Gaussain_data(torch.utils.data.Dataset):
def __init__(self, mu, sigma, size, dim):
input_pos = np.concatenate((np.random.multivariate_normal(mu*np.ones(dim), np.eye(dim)*(sigma**2), size//2),
np.random.multivariate_normal(... | {"hexsha": "2238409f2cb989d7a12a69656206e35e6ad3da3c", "size": 2720, "ext": "py", "lang": "Python", "max_stars_repo_path": "data_helper/toy.py", "max_stars_repo_name": "acmi-lab/PU_learning", "max_stars_repo_head_hexsha": "a9174bda92c7411906056c789011cfa41749ee5f", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_... |
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Wed Oct 24 01:22:23 2018
@author: eagle software
"""
import struct
import sys
import numpy as np
def getpal(image_index):
i = bsz*image_index + 8
#print i
j = i+ bsz - 8
buff = buffi[i:j]
#print buff
pal= struct.unpack('16Q',... | {"hexsha": "fc190a8f5672af067f7dbf6a954e9ddd9854c8c8", "size": 3717, "ext": "py", "lang": "Python", "max_stars_repo_path": "artbox/genscreens.py", "max_stars_repo_name": "eaglesoftware777/neogeosdk", "max_stars_repo_head_hexsha": "235b521b0f72b0f7b09f08dceca4966d9ceae6e8", "max_stars_repo_licenses": ["MIT"], "max_stars... |
# coding: utf-8
import sys
sys.path.insert(0, '..')
import os
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
from run_nengo import error_lims
sns.set_style('white')
class Results(object):
def __init__(self, loadpath, dstart, dend, nstarts=None):
self.dstart = dstart
se... | {"hexsha": "91acabb27adab5f0787738b6888d37a2d2b5ed9a", "size": 5432, "ext": "py", "lang": "Python", "max_stars_repo_path": "results/classification_time_plots.py", "max_stars_repo_name": "hunse/cuda-convnet2", "max_stars_repo_head_hexsha": "e692974dc973310e75bed9031c5ece16430abfeb", "max_stars_repo_licenses": ["Apache-2... |
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.dates
from floodsystem.stationdata import build_station_list , update_water_levels
import datetime
from floodsystem.datafetcher import fetch_measure_levels
def polyfit(dates, levels, p):
if type(p) != int:
assert ValueError("p must b... | {"hexsha": "b49bfdefe88670fa057a72663a5e7e7650ced029", "size": 925, "ext": "py", "lang": "Python", "max_stars_repo_path": "analysis.py", "max_stars_repo_name": "LostwandererJerry/Flood-Warning-System", "max_stars_repo_head_hexsha": "48948480b08de750ea1731febb2dfedcb1fdf771", "max_stars_repo_licenses": ["MIT"], "max_sta... |
import imageio
import numpy as np
import numpy.random as rng
from torch.autograd import Variable
import utils
import torch
from torch.utils.data.dataset import Dataset
def rgb2gray(rgb):
return np.dot(rgb[...,:3], [0.2989, 0.5870, 0.1140])
def extract_patch(image, center, size):
result = np.arange(size*size).re... | {"hexsha": "5de5e731e9c4ceb05f49b12c9a8475d689ace79b", "size": 4063, "ext": "py", "lang": "Python", "max_stars_repo_path": "smtcn/dataset.py", "max_stars_repo_name": "Tmyann/deep-stereo-matching", "max_stars_repo_head_hexsha": "35f8733fb481c05434a45a77a2fe44d822c8ce3d", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
import numpy as np
class Box:
"""
Convenience class for creating gym spaces Box
from a dictionary :
{key:(min value,max value)}
Once an instance of Box created, this instance
has read/write attributes corresponding to the
keys. For example::
d = {"a":(1,2),
"b":(-1,... | {"hexsha": "a2f7cd82a80926485155d2e18ae9e365b6ce9ab4", "size": 1997, "ext": "py", "lang": "Python", "max_stars_repo_path": "roboball2d/utils.py", "max_stars_repo_name": "dtrb/roboball2d", "max_stars_repo_head_hexsha": "9e49ec89d3a8ce2b3b249dc8f3a975e9a412977a", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars_co... |
# Copyright 2021 ZBW – Leibniz Information Centre for Economics
#
# 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 b... | {"hexsha": "9c453dce1ab2f321b0b76cd9777c13257e71abf5", "size": 4072, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/features/label_calibration/test_thesauri_label_calibration/test_transformer.py", "max_stars_repo_name": "annakasprzik/qualle", "max_stars_repo_head_hexsha": "871f7fbce3d6d3da07fe7197cf21a5a6... |
#!/usr/bin/python3
# Author: Sari Sabban
# Email: sari.sabban@gmail.com
# URL: https://github.com/sarisabban
#
# Created By: Sari Sabban
# Created Date: 20 February 2017
# Modified Date: 4 May 2017
import re
import itertools
import numpy
import sys
from Bio.PDB import *
Design=sys.argv[1] #Designed PDB ... | {"hexsha": "671ad5df5745a435276d834412eaa986f3600ede", "size": 2436, "ext": "py", "lang": "Python", "max_stars_repo_path": "ReSurf.py", "max_stars_repo_name": "sarisabban/ReSurf", "max_stars_repo_head_hexsha": "f6e4075a2f42cb5c32f4e6864630a4476a786568", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "max_... |
# Use baremodule to shave off a few KB from the serialized `.ji` file
baremodule CUDNN_CUDA110_jll
using Base
using Base: UUID
import JLLWrappers
JLLWrappers.@generate_main_file_header("CUDNN_CUDA110")
JLLWrappers.@generate_main_file("CUDNN_CUDA110", UUID("5fa5d4a9-0408-52e0-9638-7667eddd2fce"))
end # module CUDNN_CU... | {"hexsha": "9c44171dd64b91eab200db40427066d764c58b19", "size": 330, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/CUDNN_CUDA110_jll.jl", "max_stars_repo_name": "JuliaBinaryWrappers/CUDNN_CUDA110_jll.jl", "max_stars_repo_head_hexsha": "e4c45d36eedc7b5530faaa83eeb2c16dbf5c4838", "max_stars_repo_licenses": ["M... |
import tensorflow as tf
import numpy as np
from . import config, stochasticdepth
from .util import *
from functools import partial
def stem(x, filters, name=None, config=config.Config()):
x = conv_norm(x, filters=filters, kernel_size=4, stride=4, bias=True, padding=0, name=name, config=config)
return x... | {"hexsha": "ac5504f80762f8b3c99e1dd45f13d26c51ec6e5c", "size": 5022, "ext": "py", "lang": "Python", "max_stars_repo_path": "tfcv/model/convnext.py", "max_stars_repo_name": "fferflo/tfcv", "max_stars_repo_head_hexsha": "b549f733f3f04395e0ed0d4527e30b83fa2d8ad9", "max_stars_repo_licenses": ["MIT"], "max_stars_count": nul... |
% Random SVD
\subsection{Randomized SVD}
\label{sec:rsvd}
Randomized SVD is a method to very efficient and effective way to perform approximate singular value decompositions using random matrix theory. The premise is a very large data matrix $\mathbf{X} \in \mathbb{R}^{n \times m}$ that has low \textit{intrinsic rank}... | {"hexsha": "1ec52f39c89f0030d618d8ff2689de3fad7e968c", "size": 4190, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "notes/chapters/sections/unsup_randomsvd.tex", "max_stars_repo_name": "jpbm/probabilism", "max_stars_repo_head_hexsha": "a2f5c1595aed616236b2b889195604f365175899", "max_stars_repo_licenses": ["MIT"],... |
\lab{Speech Recognition using CDHMMs}{Speech Recognition using CDHMMs}
\objective{Understand how speech recognition via CDHMMs works, and implement a simplified speech recognition system.}
\subsection{Continuous Density Hidden Markov Models}
Some of the most powerful applications of HMMs (speech and voice recognition)... | {"hexsha": "4ce7db554d503cef3d5e6def501fc0160df4b723", "size": 19183, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "acme-material/Labs/Volume3/CDHMM/CDHMM.tex", "max_stars_repo_name": "DM561/dm561.github.io", "max_stars_repo_head_hexsha": "216e8f41007f4f4fbd174c529f543b20bb477702", "max_stars_repo_licenses": ["C... |
# Linear Algebra
## Dot Products
A dot product is defined as
$ a \cdot b = \sum_{i}^{n} a_{i}b_{i} = a_{1}b_{1} + a_{2}b_{2} + a_{3}b_{3} + \dots + a_{n}b_{n}$
The geometric definition of a dot product is
$ a \cdot b = $\|\|b\|\|\|\|a\|\|
### What does a dot product conceptually mean?
A dot product is a repres... | {"hexsha": "4fd9971d58f179fff2529305fb60b0f5e99f2915", "size": 19460, "ext": "ipynb", "lang": "Jupyter Notebook", "max_stars_repo_path": "week2/Linear Algebra, Distance and Similarity (Completed).ipynb", "max_stars_repo_name": "ychennay/dso-599-text-analytics-nlp", "max_stars_repo_head_hexsha": "e02e136d24e5a704e2ad69c... |
import numpy as np
import matplotlib.pyplot as plt
fig = plt.figure()
ax = plt.axes(projection='3d')
#The distances are calculated from origin in 3 dimensional space
x_domain = 20
y_domain = 20
def euclidean_distance(x,y,z,dimension=3):
point_b = [x,y,z]
distance_squared_sum = 0
for n in range(dimension... | {"hexsha": "e9a0f189444218eb9413677a97f088e1d196fc6b", "size": 2639, "ext": "py", "lang": "Python", "max_stars_repo_path": "distance_functions.py", "max_stars_repo_name": "SparkleButt747/K-Nearest-Neighbours-w-Minkowski-Distance-Functions", "max_stars_repo_head_hexsha": "9c9c48a86193415dadf5f49c887889fd92aaf50c", "max_... |
import numpy as np
class Loss:
"""This class defines the loss of a neural network."""
def __init__(self):
pass
def forward(self, prediction: np.ndarray, target: np.ndarray) -> float:
self.prediction = prediction
self.target = target
return self._output()
def backward... | {"hexsha": "3c51be5e72702b171556caf0abb716432b9ed1af", "size": 1015, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/loss.py", "max_stars_repo_name": "Joshua-Robison/NNFS", "max_stars_repo_head_hexsha": "9d3ab311b18a58aeee6a276fcb19325dae770cfa", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "... |
function label_mat = convert_labelvec_to_mat(label_vec, num, class_num)
label_mat = zeros(class_num, num);
for i=1:num
label_mat(label_vec(i),i) = 1;
end
end
| {"author": "hiroyuki-kasai", "repo": "ClassifierToolbox", "sha": "63aa78304a8ac10c432840c45d63170ea2bbabb0", "save_path": "github-repos/MATLAB/hiroyuki-kasai-ClassifierToolbox", "path": "github-repos/MATLAB/hiroyuki-kasai-ClassifierToolbox/ClassifierToolbox-63aa78304a8ac10c432840c45d63170ea2bbabb0/auxiliary/convert_lab... |
from wordcloud import WordCloud
import matplotlib.pyplot as plt
import datetime
import os
import re
from PIL import Image
import numpy as np
from konlpy.tag import Kkma
kkma=Kkma()
import crawl_logger
from dc_crawler import DCText
def get_mask(logo):
return np.array(Image.open(logo))
def make_wordcloud(text, lo... | {"hexsha": "c1e8b62e761afcdd78932953291c51f92cdea271", "size": 2546, "ext": "py", "lang": "Python", "max_stars_repo_path": "dc_wordcloud.py", "max_stars_repo_name": "HardPlant/dc_crawler", "max_stars_repo_head_hexsha": "46255d080ed9e283a5f1b9cd99b803576165d5d3", "max_stars_repo_licenses": ["MIT"], "max_stars_count": nu... |
#include "gpudb/GPUdb.hpp"
#include "gpudb/utils/Utils.h"
#include <boost/lexical_cast.hpp>
#include <boost/random.hpp>
#include <snappy.h>
#include <algorithm> // for std::random_shuffle, std::iter_swap
#include <iostream>
#include <iterator>
#include <map>
#include <stdexcept> // for std::out_of_range
#include <... | {"hexsha": "bd5a8ac6e635997ae43bb8e932ef5b2ed2f86c2b", "size": 47408, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "gpudb/GPUdb.cpp", "max_stars_repo_name": "kineticadb/kinetica-api-cpp", "max_stars_repo_head_hexsha": "7487b07fb6462544580561fc95a5f959ce734aa6", "max_stars_repo_licenses": ["MIT"], "max_stars_coun... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import sys
import click
import numpy as np
from collections import OrderedDict, Mapping
from . import _fileio, _pairsam_format, cli, _headerops, common_io_options
UTIL_NAME = 'pairtools_stats'
@cli.command()
@click.argument(
'input_path',
type=str,... | {"hexsha": "0b56a3809de5a9b15e2f8883643b853955b480f9", "size": 20671, "ext": "py", "lang": "Python", "max_stars_repo_path": "pairtools/pairtools_stats.py", "max_stars_repo_name": "stefanor/pairtools", "max_stars_repo_head_hexsha": "254695a1ae8ef23741cc7d43f6b86cca2f909a97", "max_stars_repo_licenses": ["MIT"], "max_star... |
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
import json
import numpy as np
import ubelt as ub
import pandas as pd
def walk_json(node):
for key, val in node.items():
if isinstance(val, dict):
for item in walk_json(val):
... | {"hexsha": "89be4bfe5ac5d793ceb7af67ec9a9c6c0aed8003", "size": 3938, "ext": "py", "lang": "Python", "max_stars_repo_path": "netharn/util/util_json.py", "max_stars_repo_name": "angiemsu/netharn", "max_stars_repo_head_hexsha": "728cb40aad299baf62c689430d07b29c67d8cf21", "max_stars_repo_licenses": ["Apache-2.0"], "max_sta... |
[STATEMENT]
lemma pred_sets_All[measurable_dest]:
"\<forall>i. A i \<in> sets (N i) \<Longrightarrow> f \<in> measurable M (N i) \<Longrightarrow> pred M (\<lambda>x. f x \<in> A i)"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. \<lbrakk>\<forall>i. A i \<in> sets (N i); f \<in> M \<rightarrow>\<^sub>M N i\<rbrak... | {"llama_tokens": 328, "file": null, "length": 2} |
from .duet_core import *
from functools import reduce
import math
import numpy as np
class SensEnv:
def __init__(self, sens={}):
self.sens = sens
def _add_dicts(self, a, b):
return {x: a.get(x, 0) + b.get(x, 0) for x in set(a).union(b)}
def __add__(self, other):
all_sens = self._a... | {"hexsha": "ec751ee42e08e1172220b2baa3f175f1cdce12d9", "size": 5561, "ext": "py", "lang": "Python", "max_stars_repo_path": "duet/duet_envs.py", "max_stars_repo_name": "uvm-plaid/dduo-python", "max_stars_repo_head_hexsha": "368e1aa47a913f7adcf1e5db1e4a329a26d8d7ba", "max_stars_repo_licenses": ["MIT"], "max_stars_count":... |
from timeit import default_timer as timer
import xgboost as xgb
from sklearn.metrics import mean_squared_error
import daal4py as d4p
import numpy as np
import pandas as pd
import common
d4p.daalinit()
NUM_LOOPS = 100
print("Computing for Kmeans with Daal")
def run_inference(num_observations:int = 1000):
"""Run... | {"hexsha": "3bf303c3a44e5956804fce19dcf96607f357fdad", "size": 1475, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/kmeans_all/daal_kmeans_training.py", "max_stars_repo_name": "tapojyotipaul/xgboost-benchmarks", "max_stars_repo_head_hexsha": "789b99acbf401617a45a8c82dbae1210378527d8", "max_stars_repo_licens... |
#%%
from torch.utils.data import DataLoader
from l5kit.configs import load_config_data
from l5kit.data import LocalDataManager, ChunkedDataset
from l5kit.dataset import AgentDataset, EgoDataset
from l5kit.rasterization import build_rasterizer
from l5kit.configs import load_config_data
from l5kit.data.labels import PE... | {"hexsha": "57307b3ef80cd0110208102fe9c235b470e2120d", "size": 6285, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/data_process.py", "max_stars_repo_name": "akhopkar01/lyft-l5-trajectory-prediction", "max_stars_repo_head_hexsha": "e70a402e1577aabe6cd40615a0af0ac3e5084e94", "max_stars_repo_licenses": ["MIT"... |
[STATEMENT]
lemma uncountable_UNIV_real: "uncountable (UNIV :: real set)"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. uncountable UNIV
[PROOF STEP]
using real_non_denum
[PROOF STATE]
proof (prove)
using this:
\<nexists>f. surj f
goal (1 subgoal):
1. uncountable UNIV
[PROOF STEP]
unfolding uncountable_def
[PROOF... | {"llama_tokens": 202, "file": null, "length": 3} |
#####################################
##
## Imports
##
#####################################
import warnings
warnings.filterwarnings("ignore")
import os
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
from collections import Or... | {"hexsha": "d68fbb3300f5896d575375e0b6ca1cd506959d24", "size": 6267, "ext": "py", "lang": "Python", "max_stars_repo_path": "electra/albert.py", "max_stars_repo_name": "paramiai/cantoformer", "max_stars_repo_head_hexsha": "ea2ae38f215bfcde8f1651b296e80fc796b2fa13", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
import game.max.level03 -- hide
open_locale classical -- hide
noncomputable theory -- hide
namespace xena -- hide
/-
# Chapter ? : Max and abs
## Level 4
`le_max_right` is the statement that `b ≤ max a b`. There's a short
proof using what we've already done.
-/
/- Hint :
Why not start with `rw max_comm`?
-/
/-... | {"author": "ImperialCollegeLondon", "repo": "real-number-game", "sha": "f9dcb7d9255a79b57e62038228a23346c2dc301b", "save_path": "github-repos/lean/ImperialCollegeLondon-real-number-game", "path": "github-repos/lean/ImperialCollegeLondon-real-number-game/real-number-game-f9dcb7d9255a79b57e62038228a23346c2dc301b/src/game... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import matplotlib.pyplot as plt
import numpy as np
import scipy.stats as stats
class Prior:
r"""Initialize a prior.
In the Bayesian paradigm, all available information about an unknown
parameter is incorporated in a prior probability distribution, which
... | {"hexsha": "b01c8cbe710c6c122892edb39e46165d526fb293", "size": 6621, "ext": "py", "lang": "Python", "max_stars_repo_path": "pylfi/priors/prior.py", "max_stars_repo_name": "nicolossus/pylfi", "max_stars_repo_head_hexsha": "7950aff5c36e7368cbe77b32ef348966b905f5cf", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
#=
Copyright (c) 2015, Intel Corporation
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaime... | {"hexsha": "90c438f2ed3ef4aada6d7d0d831b03298679b0a0", "size": 2281, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/perf/pcg/utils.jl", "max_stars_repo_name": "IntelLabs/Sparso", "max_stars_repo_head_hexsha": "570e7a18a96045e490f4ebf27ea948592e0bfa0b", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars... |
# -*- coding: utf-8 -*-
from pmdarima.preprocessing.exog import base
from pmdarima import datasets
import numpy as np
import pandas as pd
wineind = datasets.load_wineind()
class RandomExogFeaturizer(base.BaseExogFeaturizer):
"""Creates random exog features. This is just used to test base func"""
def _get_p... | {"hexsha": "e093834b4f6cbe393e072df7b1b754726130f808", "size": 1152, "ext": "py", "lang": "Python", "max_stars_repo_path": "pmdarima/preprocessing/exog/tests/test_base.py", "max_stars_repo_name": "tuomijal/pmdarima", "max_stars_repo_head_hexsha": "5bf84a2a5c42b81b949bd252ad3d4c6c311343f8", "max_stars_repo_licenses": ["... |
import os.path as osp
import numpy as np
# root = ~/.../copo/copo/maour_environment
root = osp.dirname(osp.abspath(osp.dirname(__file__)))
_checkpoints_buffers = {}
# There data is generate in compress_trained_model.py
meta_svo_lookup_table = {
"copo_round_0": (0.3837417275236364, 0.10217650927472532),
"cop... | {"hexsha": "689d28d1e9c0f6817085cb6e9f53953cbae86d9c", "size": 8743, "ext": "py", "lang": "Python", "max_stars_repo_path": "copo_code/copo/eval/get_policy_function.py", "max_stars_repo_name": "binderwang/CoPO", "max_stars_repo_head_hexsha": "a3ddef3b2bd264b1256747800919c66061ad4d5e", "max_stars_repo_licenses": ["Apache... |
import sys, torch
import yaml
import os
import numpy as np
from tqdm import tqdm
import matplotlib.pyplot as plt
from functions.process_data import *
from main import dict2namespace
from runners.image_editing import *
from models.diffusion import Model
from colab_utils.utils import *
import warnings
warnings.filterwar... | {"hexsha": "fd3e8bdb57ba62d2fbce3ca5ab9152c1df1ea6a1", "size": 776, "ext": "py", "lang": "Python", "max_stars_repo_path": "test.py", "max_stars_repo_name": "firstSupakorn/SDEdit", "max_stars_repo_head_hexsha": "150f52a7496f73ae9c61f267a381ac6d29487cfe", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "max_... |
import numpy as np
from Bio import PDB
"""
Various utility functions for working with PDB structures.
"""
def binarize_contact_map(contact_map, threshold=8.0):
"""Returns binary version of contact map."""
return np.less(contact_map, threshold)
def calc_min_dist(res1, res2):
"""Returns the minimum dist... | {"hexsha": "13cb7a54bced88e6d181e10e916d57c8a80263b7", "size": 2281, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/structure_utils.py", "max_stars_repo_name": "dhbrookes/FitnessSparsity", "max_stars_repo_head_hexsha": "ccaf35a4dbdbf175e5a6f6dcfd7c368b640f84f2", "max_stars_repo_licenses": ["MIT"], "max_star... |
import matplotlib.pyplot as plt
import numpy
import math
data1 = [-20,-20,-20,-15,-15,-15,-10,-10,-10,-5,-5,-5,0,0,0,5,5,5,10,10,10,15,15,15,20,20,20]
data2 = [6.52,6.86,3.03,3.29,2.40,3.02,1.86,4.16,3.50,1.32,1.37,1.19,0,0,0,2.50,1.52,1.32,2.64,2.97,1.98,2.59,2.64,2.70,2.24,3.42,2.63]
dataleft = [-20,-20,-20,... | {"hexsha": "3b94fc32800a3bff66199dea34ad6e5503793054", "size": 1266, "ext": "py", "lang": "Python", "max_stars_repo_path": "plot2.py", "max_stars_repo_name": "tbartos17/meme-machine", "max_stars_repo_head_hexsha": "b18011b5e40b538baf3db30940c756c07d5785fd", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "... |
@inline function update_batch_edge(mp::T, adj, E::AbstractMatrix, X::CuMatrix) where {T<:MessagePassing}
E = convert(typeof(X), E)
update_batch_edge(mp, adj, E, X)
end
@inline function update_batch_edge(mp::T, adj, E::CuMatrix, X::AbstractMatrix) where {T<:MessagePassing}
X = convert(typeof(E), X)
upda... | {"hexsha": "5bfd1b4934dd6b6acdc644360f6e8ad5bfc11d97", "size": 1333, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/cuda/msgpass.jl", "max_stars_repo_name": "ChrisRackauckas/GeometricFlux.jl", "max_stars_repo_head_hexsha": "aa427da343cb0f40d12d3b7ddc3535e762346ccd", "max_stars_repo_licenses": ["MIT"], "max_s... |
#include "stdafx.h"
#include "hmac_sha_base64.h"
#include "openssl/sha.h"
#include <boost/archive/iterators/binary_from_base64.hpp>
#include <boost/archive/iterators/base64_from_binary.hpp>
#include <boost/archive/iterators/transform_width.hpp>
#include <boost/algorithm/string.hpp>
using namespace core;
using namespa... | {"hexsha": "3b7216b5d23554ffb98cbdf1d0b6af0328981f5d", "size": 6161, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "core/tools/hmac_sha_base64.cpp", "max_stars_repo_name": "Qt-Widgets/im-desktop-imported", "max_stars_repo_head_hexsha": "85fed419229597bc10de59de268f5d898f853405", "max_stars_repo_licenses": ["Apach... |
using Dates
using GitCommand
using GitHub
using JSON
using Pkg
using Printf
using RegistryCI
using Test
using TimeZones
const AutoMerge = RegistryCI.AutoMerge
const timestamp_regex = r"integration\/(\d\d\d\d-\d\d-\d\d-\d\d-\d\d-\d\d-\d\d\d)\/"
function wait_pr_compute_mergeability(repo::GitHub.Repo, pr::GitHub.PullR... | {"hexsha": "47f41101b8274bfba2f2c93d4840bbe19cc26749", "size": 9136, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/automerge-integration-utils.jl", "max_stars_repo_name": "logankilpatrick/RegistryCI.jl", "max_stars_repo_head_hexsha": "ad5cd0f634a01e6f0391378bfddacaa83f01a3f1", "max_stars_repo_licenses": ["... |
[STATEMENT]
lemma ln_Lambert_W:
assumes "x > 0"
shows "ln (Lambert_W x) = ln x - Lambert_W x"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. ln (Lambert_W x) = ln x - Lambert_W x
[PROOF STEP]
proof -
[PROOF STATE]
proof (state)
goal (1 subgoal):
1. ln (Lambert_W x) = ln x - Lambert_W x
[PROOF STEP]
have "-exp... | {"llama_tokens": 1041, "file": "Lambert_W_Lambert_W", "length": 15} |
PIVersion <- function(fullVersion = NULL, majorMinorRevision = NULL, build = NULL, webException = NULL) {
if (is.null(fullVersion) == FALSE) {
if (is.character(fullVersion) == FALSE) {
return (print(paste0("Error: fullVersion must be a string.")))
}
}
if (is.null(majorMinorRevision) == FALSE) {
if (is.chara... | {"hexsha": "beeb621d7174f4e15d4e074c812c615e012e4fa0", "size": 1078, "ext": "r", "lang": "R", "max_stars_repo_path": "R/PIVersion.r", "max_stars_repo_name": "frbl/PI-Web-API-Client-R", "max_stars_repo_head_hexsha": "1e12907493053fe10c8b9feb229584b741d4ae2e", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count":... |
"""
Class ClinicalEnsemble
Parse file across all classfiers and combine into single dataframe
For example
Source Target classifier1 classifier2 ... classifiern
e1 e2 BEFORE CONTAINS
e1 e3 CONTAINS OVERLAP
etc.
Th... | {"hexsha": "bdf9fd9795d81ec8bc6a5f32a149db1836da3dca", "size": 4071, "ext": "py", "lang": "Python", "max_stars_repo_path": "clinicalensemble.py", "max_stars_repo_name": "catherinekerr/ip-ensemble", "max_stars_repo_head_hexsha": "a1ddcf0260d5a210dd55ae5faf015f3a8792c812", "max_stars_repo_licenses": ["Apache-2.0"], "max_... |
SUBROUTINE ST_SORT ( itype, nstr, inpstr, nout, outstr, iret )
C************************************************************************
C* ST_SORT *
C* *
C* This subroutine sorts a list of strings. The output list may be *
C* sorted forward or backward, and may contain only the unique entries. *
C* The... | {"hexsha": "a50ab420790814f24bb169f78bc7cdf9d7d75673", "size": 2299, "ext": "f", "lang": "FORTRAN", "max_stars_repo_path": "gempak/source/gemlib/st/stsort.f", "max_stars_repo_name": "oxelson/gempak", "max_stars_repo_head_hexsha": "e7c477814d7084c87d3313c94e192d13d8341fa1", "max_stars_repo_licenses": ["BSD-3-Clause"], "... |
"""
Tests for classic module
"""
import pytest
from numpy.testing import assert_almost_equal, assert_array_almost_equal
from skextremes.models.classic import GEV, Gumbel
from skextremes.datasets import portpirie, fremantle
# Datasets to be used
datasets = [portpirie().fields.sea_level, fremantle().fields.sea_level]
... | {"hexsha": "324d9afb44731c7a0fe94807463a278d6901c2c2", "size": 3921, "ext": "py", "lang": "Python", "max_stars_repo_path": "skextremes/tests/test_classic.py", "max_stars_repo_name": "aurelienline/scikit-extremes", "max_stars_repo_head_hexsha": "90be86f8212b7cd293492d15cefdf4fd48121739", "max_stars_repo_licenses": ["MIT... |
#!/usr/bin/env python
# -*-coding:utf-8 -*-
import rospy
import threading
import time
import numpy as np
from modbus.modbus_nex_api import ModbusNexApi
from modbus.msg import peripheralCmd, ipconfig, closenode
from PyQt5 import QtWidgets, QtGui
from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from PyQt5.QtGui ... | {"hexsha": "fb81321e70975dded57c41f05e0d5cbf16efa10f", "size": 32019, "ext": "py", "lang": "Python", "max_stars_repo_path": "scripts/other/armcontrol_GUI_qt5.py", "max_stars_repo_name": "SamKaiYang/ros_modbus_nex", "max_stars_repo_head_hexsha": "b698cc73df65853866112f7501432a8509a2545c", "max_stars_repo_licenses": ["BS... |
from __future__ import division
from simtbx.nanoBragg.nanoBragg_crystal import NBcrystal
from dxtbx.model import Crystal
from simtbx.diffBragg.utils import fcalc_from_pdb
import sys
if "--cuda" in sys.argv:
import os
os.environ["DIFFBRAGG_USE_CUDA"]="1"
Fcomplex = fcalc_from_pdb(resolution=2, wavelength=1, ... | {"hexsha": "f17376c7a8e0639d60a506d899431a084117aacf", "size": 1551, "ext": "py", "lang": "Python", "max_stars_repo_path": "simtbx/diffBragg/tests/tst_diffBragg_Fhkl_complex.py", "max_stars_repo_name": "dperl-sol/cctbx_project", "max_stars_repo_head_hexsha": "b9e390221a2bc4fd00b9122e97c3b79c632c6664", "max_stars_repo_l... |
"""
pysteps.cascade.decomposition
=============================
Methods for decomposing two-dimensional images into multiple spatial scales.
The methods in this module implement the following interface::
decomposition_xxx(X, filter, **kwargs)
where X is the input field and filter is a dictionary returned by a f... | {"hexsha": "93e022b382da79e61a59440f065cabfc2d466e39", "size": 4333, "ext": "py", "lang": "Python", "max_stars_repo_path": "pysteps/cascade/decomposition.py", "max_stars_repo_name": "Fangyh09/pysteps", "max_stars_repo_head_hexsha": "9eb7f4ead0a946d98b7504d1bd66b18dc405ed51", "max_stars_repo_licenses": ["BSD-3-Clause"],... |
```python
# import Point, Polygon
from sympy import Point, Polygon, Line
# creating points using Point()
p1, p2, p3, p4 = map(Point, [(0, 0), (1, 0), (5, 1), (0, 1)])
# creating polygon using Polygon()
poly1 = Polygon(p1, p2, p3, p4)
# using intersection()
isIntersection = poly1.intersection(Line(p1, Po... | {"hexsha": "003836c4d99ced69ffa34d97222c5f73e71b1499", "size": 1979, "ext": "ipynb", "lang": "Jupyter Notebook", "max_stars_repo_path": "Polygon_Intersection.ipynb", "max_stars_repo_name": "williampc8985/VT-JamesRiver", "max_stars_repo_head_hexsha": "6bacd10f4fd6158db74973ddc1abd89b650efc9f", "max_stars_repo_licenses":... |
"""Download annual data of all HRS sites and save them to CSV files.
"""
using HydroRefStations
using CSV
hrs = HRS()
for awrc_id in hrs.sites[!,"AWRC Station Number"]
data, header = get_data(hrs, awrc_id, "annual data")
data |> CSV.write("st_$(awrc_id)_annual_data.csv")
end | {"hexsha": "de10d21ca78112919f30de445550f76e13ef38ff", "size": 286, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "examples/save_annual_data_of_all_sites.jl", "max_stars_repo_name": "petershintech/HydroRefStations.jl", "max_stars_repo_head_hexsha": "d615f40f6e917f46bbce53f70f57f1d6578f7e58", "max_stars_repo_lice... |
import numpy as np
import os
import cv2
import glob
import matplotlib.image as mpimg
from .Transform import get_mask_seg, get_mask_seg_ellipse
IMAGE_HEIGHT = 512
IMAGE_WIDTH = 512
IMAGE_CHANNELS = 1
IMAGE_SHAPE = (180, 180)
PIXEL_DEPTH = 256
path_to_images = './Data/Dataset-DetectNet_20161128_512-20170313T074149Z-001/... | {"hexsha": "c04ee1b03dfdd56139e5e19136c4b437c9cec6fa", "size": 7324, "ext": "py", "lang": "Python", "max_stars_repo_path": "coslib/DataIO.py", "max_stars_repo_name": "Tony607/Industrial-Defect-Inspection-segmentation", "max_stars_repo_head_hexsha": "71b90a32654ab4e26bda98ed0da143abe3284f6d", "max_stars_repo_licenses": ... |
! Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
!
! 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 appli... | {"hexsha": "03598ee5912c22965ce79623eac26b23edd2cfad", "size": 1724, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "test/f90_correct/src/oop472.f90", "max_stars_repo_name": "hfinkel/flang-bgq", "max_stars_repo_head_hexsha": "ce1bd680e5ab6dab298d5f96077a5f1056dfe906", "max_stars_repo_licenses": ["Apache-2.0"],... |
#!/usr/bin/env python3
"""
Script for generating the neural dynamics of a multilayer S-FFT
The plotting library is tuned for the specific configuration that is
indicated in the default config file. If this data is changed,
the auxiliary functions should be changed accordingly.
"""
# Standard libraries
import logging
i... | {"hexsha": "a607636f0ec5b224d5ed383d08ede59cf10638a2", "size": 2522, "ext": "py", "lang": "Python", "max_stars_repo_path": "spikingFT/examples/experiment_layers_spikemap.py", "max_stars_repo_name": "KI-ASIC-TUM/time-coded-SFT", "max_stars_repo_head_hexsha": "fd69f1dcc057e49f38c6a94d450efca87ebe7ee7", "max_stars_repo_li... |
import torch.nn.functional as F
from modules.layers import *
import numpy as np
from scipy.stats import norm
def build_candidate_ops(candidate_ops, in_channels, out_channels, stride):
if candidate_ops is None:
raise ValueError('please specify a candidate set')
name2ops = {
'Zero': lambda in_C... | {"hexsha": "b6700aee6ad2d0c23a6cec8c2d97f49e5e750347", "size": 18413, "ext": "py", "lang": "Python", "max_stars_repo_path": "modules/mix_op.py", "max_stars_repo_name": "984881878/ProgressiveSearch", "max_stars_repo_head_hexsha": "e293158c45779d1ceca23d097f3ca2a8a65ee450", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
[STATEMENT]
theorem terminates_fewer_guards:
shows "\<lbrakk>\<Gamma>\<turnstile>c'\<down>s; c \<subseteq>\<^sub>g c'; \<Gamma>\<turnstile>\<langle>c',s \<rangle> \<Rightarrow>\<notin>Fault ` UNIV\<rbrakk>
\<Longrightarrow> \<Gamma>\<turnstile>c\<down>s"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. \<lb... | {"llama_tokens": 217, "file": "Simpl_Termination", "length": 1} |
[STATEMENT]
lemma Atom_Atom_eq [iff]: "(Atom(a)=Atom(b)) = (a=b)"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. (Atom a = Atom b) = (a = b)
[PROOF STEP]
by (blast dest!: Atom_inject) | {"llama_tokens": 92, "file": null, "length": 1} |
"""
==============================================================
Denoise images using Adaptive Soft Coefficient Matching (ASCM)
==============================================================
The adaptive soft coefficient matching (ASCM) as described in [Coupe11]_ is a
improved extension of non-local means (NLMEANS) ... | {"hexsha": "318af8f5a44c9b7746608117ffd6dca7417a9db4", "size": 5650, "ext": "py", "lang": "Python", "max_stars_repo_path": "doc/examples/denoise_ascm.py", "max_stars_repo_name": "omarocegueda/dipy", "max_stars_repo_head_hexsha": "520b724041116a958892bee0068b057314a21cb2", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
#
import random
import numpy as np
from apps.rxgb.rxgb_ds import RxgbDs
from apps.rxgb.rxgb_strategy import RxgbStrategy
from apps.rxgb.rxgb_agent import RxgbAgent
class RxgbApp(object):
def __init__(self):
self.name = 'apps.rxgb.RxgbApp'
def startup(self):
print('基于XGBoost强化学习... | {"hexsha": "57b2335fb07a569a966bba21d82c10641eae1569", "size": 2373, "ext": "py", "lang": "Python", "max_stars_repo_path": "apps/rxgb/rxgb_app.py", "max_stars_repo_name": "yt7589/iching", "max_stars_repo_head_hexsha": "6673da38f4c80e7fd297c86fedc5616aee8ac09b", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_coun... |
import numpy as np
import scipy.signal
from gym.spaces import Box, Discrete
import torch
import torch.nn as nn
from torch.distributions.normal import Normal
from torch.distributions.categorical import Categorical
from spinup.algos.pytorch.ppo.core import Actor
import copy
# module_inputs = {'obs_state': np.array([0,... | {"hexsha": "7ce40bbacfe4d6c09c5705d34ea3516cb8eb7e67", "size": 10105, "ext": "py", "lang": "Python", "max_stars_repo_path": "spinningup/spinup/algos/pytorch/ppo/compositional_core.py", "max_stars_repo_name": "collassubmission91/CompoSuite-Code", "max_stars_repo_head_hexsha": "ac544efb68a11ed8a483b0932975c4949f0cec90", ... |
#this program is used to mathematicall find the number of spanning trees of a graph G using Kirchhoffs's Matrix Tree Theorem
import numpy as np
import networkx as nx
import types
#Create the laplace matrix of any graph G
def laplacian(G):
# lap_matrix = [[0 for x in range(len(G.nodes()))] for y in range(len(G.n... | {"hexsha": "23d6a1e0f1801aa1401659835bae1c8393109cd3", "size": 1217, "ext": "py", "lang": "Python", "max_stars_repo_path": "spanning-tree-enumeration/kirchhoff_calc.py", "max_stars_repo_name": "slaclab/VADER-Analytics", "max_stars_repo_head_hexsha": "9d2dd5b11b4f632eb511278c52aa8236f9e252f5", "max_stars_repo_licenses":... |
# Contains all the types definitions
using Distributions
abstract type SobolEvals end
struct SobolDists
P::Int
dist::Array{Distributions.Distribution,1}
function SobolDists(P,dist)
length(dist) != P ?
error("Dimensions are incorrect!") :
new(P,dist)
end
end
mutable struct So... | {"hexsha": "eae5b9c00127992c9f6240eccd673ad845841da3", "size": 1983, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/types.jl", "max_stars_repo_name": "mstobb/VarianceBasedSensitivity", "max_stars_repo_head_hexsha": "5cfcb32ca44a6447cb74d35ba92941bc52fbeb3c", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
import numpy as np
import os
import json
import random
import torch
import torch.nn as nn
import torch.nn.functional as F
def hidden_init(layer):
""" Initialize the hidden layer weights with random noise. """
fan_in = layer.weight.data.size()[0]
lim = 1. / np.sqrt(fan_in)
return -lim, lim
class NnM... | {"hexsha": "d73e12235df883f42642de3b2ea456f4eff4332e", "size": 6052, "ext": "py", "lang": "Python", "max_stars_repo_path": "brainrl/brain/util/nn_model.py", "max_stars_repo_name": "JoseAndresMR/ABC", "max_stars_repo_head_hexsha": "187a9482d855aefa7e33b683fce1272b92b9289d", "max_stars_repo_licenses": ["MIT"], "max_stars... |
#!/usr/bin/env python
#
# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# 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
#
# ... | {"hexsha": "327fc03f587e2f357e9b11f579c84e8f6bdc1cfa", "size": 8666, "ext": "py", "lang": "Python", "max_stars_repo_path": "dscomp/cnn_mnist.py", "max_stars_repo_name": "idahood/CS575", "max_stars_repo_head_hexsha": "85650abd218873048c5f93b4e91d46ead4af990b", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null,... |
import rvt.default
import rvt.blend_func
import rvt.blend
import rvt.vis
import numpy as np
# Test enhanced version 3 multi-scale topographic position (e3MSTP)
dem_path = r"D:\RVT_py\test\Pohorje\Pohorje.tif" #r"D:\RVT_py\test\E3MSTP_TEST\Skolj_dem_05m.tif"
dem_dict = rvt.default.get_raster_arr(dem_path)
dem_arr = de... | {"hexsha": "26ffcc622ee29f8eca739e874e1c3be2901465e4", "size": 893, "ext": "py", "lang": "Python", "max_stars_repo_path": "test_e3mstp.py", "max_stars_repo_name": "EarthObservation/RVT_py", "max_stars_repo_head_hexsha": "aeb790d2a372ad14cc1e17fca988e3c87744529f", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_co... |
[STATEMENT]
lemma D_vis: "E\<inter>D\<times>UNIV \<subseteq> lvE" \<comment> \<open>All edges from done nodes are visited\<close>
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. E \<inter> D \<times> UNIV \<subseteq> lvE
[PROOF STEP]
unfolding vE_def touched_def
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. E \<i... | {"llama_tokens": 301, "file": "Gabow_SCC_Gabow_Skeleton", "length": 3} |
\clearpage
\subsubsection{C++ Reference Parameters} % (fold)
\label{ssub:c_reference_parameters}
C has limited support for pass by reference, but this feature was added with the extensions in the C++ language. The following syntax shows how to declare a parameter that will be passed by reference. Please note that this... | {"hexsha": "4ab0f2e842dfb90e7ed33dc07c86d0bb216ced2b", "size": 1222, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "topics/storing-using-data/c/cpp-function-decl-with-by-ref.tex", "max_stars_repo_name": "thoth-tech/programming-arcana", "max_stars_repo_head_hexsha": "bb5c0d45355bf710eff01947e67b666122901b07", "max... |
import numpy as np
np.random.seed(1337) # for reproducibility
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.metrics._regression import r2_score, mean_squared_error
from sklearn.preprocessing import MinMaxScaler
from sklearn.metrics import accuracy_score
from dbn import Superv... | {"hexsha": "ba0791ddcb333f0131ceb29d8f4bce92509d8f41", "size": 2729, "ext": "py", "lang": "Python", "max_stars_repo_path": "test.py", "max_stars_repo_name": "Rahul-singh98/dbn", "max_stars_repo_head_hexsha": "d90bed87fda418da7edab125fcf4ab981b8ec369", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1, "max_stars... |
#!/usr/bin/env python
import numpy as np
import os
from matplotlib import pyplot as plt
from pymicro.xray.fitting import fit
'''Basic curve fitting example with a cosine function. The data is
also fitted with a custom function slightly different than the default
Cosine, which lead to the same result.'''
x = np.linspac... | {"hexsha": "afc6b83ff6a075ab78ab6bdc18600b6a71a97b2f", "size": 1047, "ext": "py", "lang": "Python", "max_stars_repo_path": "examples/plotting/cos_fitting.py", "max_stars_repo_name": "heprom/pymicro", "max_stars_repo_head_hexsha": "176bf3a829dbf67796a3d4471f18868a3da229a7", "max_stars_repo_licenses": ["MIT"], "max_stars... |
/-
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.monotone
import order.rel_classes
import tactic.simps
import tactic.pi_instances
/-!
# (Semi-)lattices
Semilattices are partially ordered sets with joi... | {"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/lattice.lean"} |
# -*- coding: utf-8 -*-
"""
Created on Sun Mar 15 22:42:09 2020
@author: leona
"""
import numpy as np
import matplotlib.pyplot as plt
#Definizione della funzione f(x) = log(x) di cui si vuole calcolare la derivata
def f(x):
function = np.log(x)
return function
#Definizione della derivata prima della funzion... | {"hexsha": "46ec623eb0f3ba943a83ad1225cc325f5a51040d", "size": 1820, "ext": "py", "lang": "Python", "max_stars_repo_path": "1_Computer Algebra/12_ApprossimazioneDerivataLogaritmo.py", "max_stars_repo_name": "LeonardoSaccotelli/Numerical-Calculus-Project", "max_stars_repo_head_hexsha": "becb480a611c9a57416127f6b0289085f... |
import pytplot
import pyqtgraph as pg
import numpy as np
from pyqtgraph.Qt import QtCore
from pyqtgraph import functions as fn
from pyqtgraph.Point import Point
from pyqtgraph import debug as debug
from collections.abc import Callable
from ..CustomViewBox.NoPaddingPlot import NoPaddingPlot
class UpdatingImage(pg.Ima... | {"hexsha": "b1535079b2100f7aeb45b50ad976904d3456e1f4", "size": 11843, "ext": "py", "lang": "Python", "max_stars_repo_path": "pytplot/QtPlotter/CustomImage/UpdatingImage.py", "max_stars_repo_name": "shihikoo/PyTplot", "max_stars_repo_head_hexsha": "5cee3e537b7deb0cee2cb3a5a920e3958737eb87", "max_stars_repo_licenses": ["... |
import matplotlib.pylab as plt
import numpy as np
fig = plt.figure()
closed = False
def handle_close(evt):
global closed
closed = True
def waitforbuttonpress():
while plt.waitforbuttonpress(0.2) is None:
if closed:
return False
return True
fig.canvas.mpl_connect('close_event', ha... | {"hexsha": "9ae055c014a9c0ff3f90ae2d03928e2e6e04a40b", "size": 493, "ext": "py", "lang": "Python", "max_stars_repo_path": "App MFDFA/Ver 3/example.py", "max_stars_repo_name": "moooises/MFDFA", "max_stars_repo_head_hexsha": "2880a221d4b30396aa5a222773d1e0e886032af7", "max_stars_repo_licenses": ["MIT"], "max_stars_count"... |
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2004-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/interpr... | {"hexsha": "f6c720ec410fe37e44d4dd812ab0a93e9015e3ef", "size": 8243, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "libs/interprocess/test/message_queue_test.cpp", "max_stars_repo_name": "mike-code/boost_1_38_0", "max_stars_repo_head_hexsha": "7ff8b2069344ea6b0b757aa1f0778dfb8526df3c", "max_stars_repo_licenses": ... |
"""
Alternating Central Extension Quantum Onsager Algebra
AUTHORS:
- Travis Scrimshaw (2021-03): Initial version
"""
# ****************************************************************************
# Copyright (C) 2021 Travis Scrimshaw <tcscrims at gmail.com>
#
# This program is free software: you can redistribu... | {"hexsha": "fa9c5fc96b7895c4e9b556b3114a95c7621a193d", "size": 27890, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/sage/algebras/quantum_groups/ace_quantum_onsager.py", "max_stars_repo_name": "dimpase/sagetrac-mirror", "max_stars_repo_head_hexsha": "473cd41f19ec23df7e207391cfb0cf41c7c4ef46", "max_stars_re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.