text stringlengths 0 1.25M | meta stringlengths 47 1.89k |
|---|---|
IDmm = DataFrame(NPS = [0.125,
0.25,
0.375,
0.5,
0.75,
1,
1.25,
1.5,
2,
2.5,
3,
3.5,
4,
5,
6,
8,
10,
12,
14,
16,
18,
20,
22,
24,
26,
28,
30,
32,
36,
42,
48,
0.125,
0.25,
0.375,
0.5,
0.75,
1,
1.25,
1.5,
2,
2.5,
3,
3.5,
4,
5,
6,
8,
10,
12,
14,
16,
18,
20,
22,
24,
26,... | {"hexsha": "0621b71fba232a8d3d4e1b12687e3e9a98550316", "size": 5342, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/pipeIDlist.jl", "max_stars_repo_name": "kevindorma/Hydraulics2.jl", "max_stars_repo_head_hexsha": "331009cc9417b560eb9442fdf8e1e85d1c5d416f", "max_stars_repo_licenses": ["MIT"], "max_stars_coun... |
library(data.table)
library(dplyr)
# Move relevant files to the cloud if running out of RAM locally
# for (i in c("both_sexes", "male", "female")) {
# for (j in 1:n_chunks) {
# system(paste0("gzip ", QCed_io_name, "_cat_variables_", i, ".", j, ".tsv"))
# }
# system(paste0("gzip ", QCed_io_name, "_cts_irnt.tsv"))
... | {"hexsha": "e338f1cbed401edec16236ea0b26f33fd6a6a7ff", "size": 13343, "ext": "r", "lang": "R", "max_stars_repo_path": "post_PHESANT_exome_pipeline/04_run_combine_PHESANT_exomes_output.r", "max_stars_repo_name": "eric-czech/PHESANT", "max_stars_repo_head_hexsha": "05997a79c734a0706f7622e8c9c734984f1da130", "max_stars_re... |
#!/usr/bin/env python3
# chainConfigurator.py
# Script for generating chain configuration files to be used in active-microemulsion
#
# NOTE: This is python3 code but it is fully backward compatible with python2, just call the script via the interpreter.
#
import argparse
import numpy as np
from math import sqrt, floo... | {"hexsha": "3604005856cccaa4e3bbb92a7c01bc6e416bfead", "size": 15809, "ext": "py", "lang": "Python", "max_stars_repo_path": "utils/chainConfigurator.py", "max_stars_repo_name": "lhilbert/active-microemulsion", "max_stars_repo_head_hexsha": "c0514f148d673501d1966e2d65a4568b26b8bacb", "max_stars_repo_licenses": ["BSD-2-C... |
[STATEMENT]
lemma ni_circ_left_unfold:
"ni(x\<^sup>\<circ>) = ni(x * x\<^sup>\<circ>)"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. ni (x\<^sup>\<circ>) = ni (x * x\<^sup>\<circ>)
[PROOF STEP]
by (simp add: ni_def n_circ_left_unfold) | {"llama_tokens": 107, "file": "Correctness_Algebras_N_Semirings", "length": 1} |
import numpy as np
import torch
from .general import pol2cart
def doersch_set_patches(input_sz, patch_side):
# pick the same locations for all images, for computational ease
# not necessarily in relevancy mask of each image - ignored later if it isn't
# unlike isola_set_patches, there are random gaps bet... | {"hexsha": "6765c422543d49c8d5622e6856f6b87a5efef861", "size": 2464, "ext": "py", "lang": "Python", "max_stars_repo_path": "proj/utils/segmentation/baselines/doersch_utils.py", "max_stars_repo_name": "zqma/IIC", "max_stars_repo_head_hexsha": "9d4e30b51535c6ca381389d9c22ce45be4d11883", "max_stars_repo_licenses": ["MIT"]... |
#pragma once
// DO NOT REMOVE, exists to avoid private/public headers mixing!
#ifndef TACKLE_VARIANT_DECL_HPP
#define TACKLE_VARIANT_DECL_HPP
#include <src/tacklelib_private.hpp>
#include <tacklelib/utility/platform.hpp>
#include <tacklelib/utility/type_identity.hpp>
#include <tacklelib/utility/static_asse... | {"hexsha": "2876679c105588da72b6972e36e81b57814b47f6", "size": 9594, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "src/tackle/variant.hpp", "max_stars_repo_name": "andry81/tacklelib", "max_stars_repo_head_hexsha": "e77216839a6c2397b31e8f7a278892bb90b58d4b", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
"""
Script to generate Panoptic nuScenes predictions from nuScene-lidarseg predictions and nuScenes-tracking or
nuScenes-detection predictions.
Code written by Motional and the Robot Learning Lab, University of Freiburg.
"""
import argparse
import os
from typing import List, Tuple, Union
import numpy as np
from tqdm i... | {"hexsha": "bcbd458a81ec44c1dbdb42c83f891f707e9d27f5", "size": 9138, "ext": "py", "lang": "Python", "max_stars_repo_path": "python-sdk/nuscenes/eval/panoptic/get_panoptic_from_seg_det_or_track.py", "max_stars_repo_name": "BAI-Yeqi/nuscenes-devkit", "max_stars_repo_head_hexsha": "f94dcd313feb8adc91e7d01312fb7d27cc77098e... |
!------------------------------------------------------------------------------
!------------------------------------------------------------------------------
!-------Berendsen thermostat for ions 08/16 KK,JI------------------------------
MODULE berendsen_module
use calc_kine_temp_module
implicit none
PRIVAT... | {"hexsha": "56f1b934f03d4efcb62a2879869e6c71885a72b8", "size": 961, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "src/mdsource/berendsen_module.f90", "max_stars_repo_name": "j-iwata/RSDFT_DEVELOP", "max_stars_repo_head_hexsha": "14e79a4d78a19e5e5c6fd7b3d2f2f0986f2ff6df", "max_stars_repo_licenses": ["Apache-2... |
SUBROUTINE BMG2_SymStd_SOLVE_cg_unpack(&
& Q, Q_SER,&
& II, JJ, NGx, NGy, iGs, jGs,&
& NProcI, NProcJ, NProc, MyProc,&
& ProcCoord,&
& MPICOMM&
& ) BIND(C, NAME='BMG2_SymStd_SOLVE_cg_unpack')
!... | {"hexsha": "c315f34db3fd0ca45370e6e0d6596227f3811bc9", "size": 3835, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "src/2d/ftn/mpi/BMG2_SymStd_SOLVE_cg_unpack.f90", "max_stars_repo_name": "cedar-framework/cedar", "max_stars_repo_head_hexsha": "9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44", "max_stars_repo_license... |
import argparse
import os
import random
import numpy as np
import torch.backends.cudnn as cudnn
import torch.optim as optim
import torch.optim.lr_scheduler as lr_scheduler
import torchvision.utils as vutils
from torch.autograd import Variable
from visdom import Visdom
from data.UData import CreateDataLoader
from mode... | {"hexsha": "4f66a9d9f60bc09078689576a059054ec7853faf", "size": 6207, "ext": "py", "lang": "Python", "max_stars_repo_path": "UnetArch.py", "max_stars_repo_name": "orashi/DeeperDeblur", "max_stars_repo_head_hexsha": "3707ae147753bb9c5a8be2215eccee3ea5113cee", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "... |
#
# Copyright 2022 DMetaSoul
#
# 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 law or agreed to in writing, ... | {"hexsha": "657ea006f4b4da24f68b5344bd8d4fc23437f4f6", "size": 5076, "ext": "py", "lang": "Python", "max_stars_repo_path": "python/metaspore/initializer.py", "max_stars_repo_name": "meta-soul/MetaSpore", "max_stars_repo_head_hexsha": "e6fbc12c6a3139df76c87215b16f9dba65962ec7", "max_stars_repo_licenses": ["Apache-2.0"],... |
import pandas as pd
import geopandas as gpd
import numpy as np
import os, urllib, json, csv, zipfile, math
INPUT = "iso_input.csv"
OUTPUT = "iso_output.csv"
OUTPUT_PC = "distances_pc4.json"
# Create table with all origin-distination pairs to plan
with zipfile.ZipFile('gtfs-nl.zip') as z:
with z.open('stops.txt') ... | {"hexsha": "12c1fee8ff19fa3d7dc2e598d7abb6acb7caabcc", "size": 2969, "ext": "py", "lang": "Python", "max_stars_repo_path": "GTFS-Traveltime.py", "max_stars_repo_name": "lmeulen/GTFS-Visuals", "max_stars_repo_head_hexsha": "1c7d3881bfb724ed02c865511fab2dc333dd9b59", "max_stars_repo_licenses": ["MIT"], "max_stars_count":... |
function [c, ceq] = ma_surfaceVelConstraint(stateLog, eventID, lbHorzVel, ubHorzVel, bodyIDApply, celBodyData, maData)
%ma_semiMajorAxisConstraint Summary of this function goes here
% Detailed explanation goes here
normFact = 1;
if(ischar(eventID) && strcmpi(eventID,'final'))
eventNum = max(stateLog... | {"author": "Arrowstar", "repo": "ksptot", "sha": "2b414440d3b167ba2294f56dafce0f465c07f982", "save_path": "github-repos/MATLAB/Arrowstar-ksptot", "path": "github-repos/MATLAB/Arrowstar-ksptot/ksptot-2b414440d3b167ba2294f56dafce0f465c07f982/helper_methods/ksptot_ma/optimization/constraints/zArchive/ma_surfaceVelConstrai... |
# -*- coding: utf-8 -*-
"""
Created on Thu Dec 6 22:11:28 2018
@author: Sandor Zoletnik (zoletnik.sandor@wigner.mta.hu)
Example/test programs for FLAP.
Will run various tests and print/plot the result.
As default all testst will be run.
If you don't want all tests look for "test_all = True" and change True to Fal... | {"hexsha": "6ae1e69592acbaf0b30375e8d4fb9cdb78203dc9", "size": 34850, "ext": "py", "lang": "Python", "max_stars_repo_path": "flap/tests/flap_tests.py", "max_stars_repo_name": "csillagbarnabas/flap", "max_stars_repo_head_hexsha": "c68fccb3d2472a569e22b5484b57b53fa5e8115d", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
setwd("~/Documents/Projects/UA_FAIRBANKS/dendrometer/data/20160822_newPwrTest/")
data = data.frame(read.csv("102_1.csv"))
names(data) <- c("sensor_num", "time", "val", "temp", "batt_v", "Ev", "n_at")
data$time_real = as.POSIXct(data$time, origin="1970-01-01") #Convert time to POSIX
Vref = 2.048 #ADC Voltage Reference... | {"hexsha": "810b2acc5dee471cc6fced5d80d60d44ee9317cf", "size": 728, "ext": "r", "lang": "R", "max_stars_repo_path": "dendrometer/data/2016-08-22_newPwrTest/graph.r", "max_stars_repo_name": "kinasmith/UAF", "max_stars_repo_head_hexsha": "df431b17ec8d74f64ed0e74271b1bdcd40967dc3", "max_stars_repo_licenses": ["MIT"], "max... |
import data.real.basic
import data.set.intervals.unordered_interval
theorem USAMO_Problem_3_1993 (f : ℝ -> ℝ) [f ≥ 0] [f(1) = 1]:
(∀ x y : ℝ, (x ∈ (set.interval (0 : ℝ) (1: ℝ)) ∧ y ∈ (set.interval (0 : ℝ) (1: ℝ))) →
x+y ∈ (set.interval (0 : ℝ) (1: ℝ)) → f(x) + f(y) ≤ f(x+y)) →
(∀ x : ℝ, x ∈ (set.interval (0 : ℝ) (... | {"author": "ahayat16", "repo": "lean_exos", "sha": "682f2552d5b04a8c8eb9e4ab15f875a91b03845c", "save_path": "github-repos/lean/ahayat16-lean_exos", "path": "github-repos/lean/ahayat16-lean_exos/lean_exos-682f2552d5b04a8c8eb9e4ab15f875a91b03845c/src_icannos_totilas/aops/1993-USAMO-Problem_3.lean"} |
function raytrace_image(scene::Scene, cam::Camera{T}, image_height::Integer, samples_per_pixel::Integer, max_bounces_per_ray::Integer, max_steps_per_bounce::Integer, distance_tolerance::T, rng::MersenneTwister) where {N<:Integer, T<:Real}
aspect_ratio_cam = aspect_ratio(cam)
image_width = Int64(floor(aspect_ra... | {"hexsha": "24fe6407240daa3ee36cd6aa2e14ec0658d0a186", "size": 4915, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/raytrace.jl", "max_stars_repo_name": "zoemcc/Raytracing.jl", "max_stars_repo_head_hexsha": "ffe8753f0d3c863fdfbf4d1f3c34b13c34a60cfa", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1, ... |
import csv, pandas, dateparser
import matplotlib.pyplot as plt
import numpy as np
from scipy.stats import chisquare
from math import ceil
from scipy import linalg
from lowess import lowess
YEAR = '17'
ROUND = 1
sondages = csv.DictReader(open('data/sondages_'+str(YEAR)+'.csv'))
sondages_headers = sondages.fieldnames
s... | {"hexsha": "e17ecd554d168f005cfdc9934ae50d79a7fcda5b", "size": 2530, "ext": "py", "lang": "Python", "max_stars_repo_path": "inspect_herding_hist.py", "max_stars_repo_name": "lemeb/presidentielle", "max_stars_repo_head_hexsha": "4a42e08fd473380f9ea42bd5b26e105e6bfe7362", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
section \<open>Array of Array Lists\<close>
theory Array_of_Array_List
imports LLVM_DS_Array_List
begin
subsection \<open>Arrays that own their Elements\<close>
definition "idxe_map l i \<equiv> if i<length l then Some (l!i) else None"
lemma idxe_map_empty[simp]: "idxe_map [] = Map.empty" unfolding idxe_map_de... | {"author": "lammich", "repo": "isabelle_llvm", "sha": "6be37a9c3cae74a1134dbef2979e312abb5f7f42", "save_path": "github-repos/isabelle/lammich-isabelle_llvm", "path": "github-repos/isabelle/lammich-isabelle_llvm/isabelle_llvm-6be37a9c3cae74a1134dbef2979e312abb5f7f42/thys/ds/Array_of_Array_List.thy"} |
------------------------------------------------------------------------------
-- ABP Lemma 2
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --wit... | {"hexsha": "24f91c755c53c924a65c740d23813658457c894d", "size": 5864, "ext": "agda", "lang": "Agda", "max_stars_repo_path": "src/fot/FOTC/Program/ABP/Lemma2ATP.agda", "max_stars_repo_name": "asr/fotc", "max_stars_repo_head_hexsha": "2fc9f2b81052a2e0822669f02036c5750371b72d", "max_stars_repo_licenses": ["MIT"], "max_star... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Apr 28 20:23:37 2019
@author: kenneth
"""
import pandas as pd
import dash
import os
import random
import numpy as np
from dash.dependencies import Input, Output
import dash_core_components as dcc
import dash_html_components as html
import plotly.graph... | {"hexsha": "0c7fdce0391dc83b8bd2ea3cc120c7858f133603", "size": 21484, "ext": "py", "lang": "Python", "max_stars_repo_path": "app.py", "max_stars_repo_name": "kennedyCzar/NLP-PROJECT-BOOK-INSIGHTS-WITH-PLOTLY", "max_stars_repo_head_hexsha": "2522eda90b674017ea21ebb9fbbbad821f4228e0", "max_stars_repo_licenses": ["MIT"], ... |
# ! /usr/bin/env python
'''
Given APT output files, read in data relevant to the data simulator,
organize, and create input files for the simulator.
Inputs:
xml file - Name of xml file exported from APT.
pointing file - Name of associated pointing file exported from APT.
Optional inputs:
epoch_list - Name of ascii... | {"hexsha": "6febe41edaf2f9368ee0e449ec56450d9406783b", "size": 64933, "ext": "py", "lang": "Python", "max_stars_repo_path": "mirage/apt/apt_inputs.py", "max_stars_repo_name": "eas342/mirage", "max_stars_repo_head_hexsha": "0ec5f1304730387e8f75a2ab786b59e026bc043b", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_star... |
/*
@copyright Louis Dionne 2014
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/iterable/mcd.hpp>
#include <boost/hana/detail/assert.hpp>
#include <boost/hana/detail/minimal/iterable.hpp>
#include <boost... | {"hexsha": "cae7f7f8c448341bf97d58b007c291f12f7f818f", "size": 1041, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "test/iterable/at.cpp", "max_stars_repo_name": "rbock/hana", "max_stars_repo_head_hexsha": "2b76377f91a5ebe037dea444e4eaabba6498d3a8", "max_stars_repo_licenses": ["BSL-1.0"], "max_stars_count": 2.0, ... |
from utils.constant import CUDA_DEVICE, BATCH_SIZE
from utils.utils import get_pair, store_vocab2idx, load_json_dic, stop_words
from transformers import PreTrainedTokenizer, PreTrainedModel
from models.model_wrapper import ModelWrapper
from models.mlm_wrapper import MLMWrapper
import torch
from tqdm import tqdm
import ... | {"hexsha": "1a25bdfb857c336deda0225d04ca7a2738ce50d2", "size": 15838, "ext": "py", "lang": "Python", "max_stars_repo_path": "models/gpt_wrapper.py", "max_stars_repo_name": "c-box/causalEval", "max_stars_repo_head_hexsha": "85d237dff997ad4b044a0f329e15cf6531676c75", "max_stars_repo_licenses": ["CC-BY-4.0"], "max_stars_c... |
import os
import numpy as np
import cv2
import torch
import torch.nn.functional as F
from torch.utils.data import Dataset
from utils import read_list_from_file
from transforms import ResizeWithIntrinsic, RandomHorizontalFlipWithIntrinsic, CenterCropWithIntrinsic, EqualizeHist
from torchvision.transforms import ToTenso... | {"hexsha": "6a1f7c4e42ac93a73b4ec127f9f410189208c72f", "size": 8016, "ext": "py", "lang": "Python", "max_stars_repo_path": "datasets/robot_car.py", "max_stars_repo_name": "liaojh1998/RNW", "max_stars_repo_head_hexsha": "412764400a4a555fb8245ab51047019429d1141f", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 46... |
import numpy as np
import cv2
import sys
import shapely.geometry
import shapely.ops
from descartes.patch import PolygonPatch
import matplotlib
#matplotlib.use('GTKAgg')
import matplotlib.pyplot as plt
from matplotlib.pyplot import cm
from collections import defaultdict
from sklearn.utils.extmath import randomized_svd
i... | {"hexsha": "3da9822ca5f618f0d6e9f23655bf3ad98d156213", "size": 12676, "ext": "py", "lang": "Python", "max_stars_repo_path": "mb_aligner/visualization/visualize_fine_matches_3d.py", "max_stars_repo_name": "tomuram/mb_aligner_adisuissa", "max_stars_repo_head_hexsha": "eaaa81fd7bc9ffc58c2683dc6cca8e2d5e90c11a", "max_stars... |
import argparse
import numpy as np
from tqdm import tqdm
import math
import cv2
import os
YAW_STD = 71.58
YAW_MEAN = 0.7037
# PITCH_STD = 1.497
# PITCH_MEAN = 18.97
# PITCH_STD = 3.497
# PITCH_MEAN = 4.975
PITCH_STD = 2.497
PITCH_MEAN = 0
def line_point(line):
return line[0][0], line[0][1], line[1][0], line[1]... | {"hexsha": "48a5953c28f066c06d32d38840cefce4180b25a0", "size": 5256, "ext": "py", "lang": "Python", "max_stars_repo_path": "pose_estimation.py", "max_stars_repo_name": "hyungkwonko/sgf-pytorch", "max_stars_repo_head_hexsha": "9264b9f7ae353a9195a98bd64c3842c64241f2fa", "max_stars_repo_licenses": ["MIT", "BSD-3-Clause"],... |
import cvxpy as cp
import fire
import numpy as np
def main():
Sigma = cp.Variable(shape=(4, 4), symmetric=True)
x = np.array(
[[0.1], [0.2], [-0.05], [0.1]],
) # (4, 1)
objective = cp.Maximize(
cp.transpose(x) @ Sigma @ x
)
constraints = [
Sigma >> 0,
Sigma[0,... | {"hexsha": "ed9fd7e383bac9a6ff1f02ecd1fad098965503d9", "size": 1047, "ext": "py", "lang": "Python", "max_stars_repo_path": "experiments/ee364a/a17_4.py", "max_stars_repo_name": "lxuechen/swissknife", "max_stars_repo_head_hexsha": "43dbd36f1e998ebe29c0b85fafd0de765dfb5de8", "max_stars_repo_licenses": ["MIT"], "max_stars... |
subroutine DEVBH(A, LDA, N, LOW, IGH, IFLAG, SCALE)
c Copyright (c) 1996 California Institute of Technology, Pasadena, CA.
c ALL RIGHTS RESERVED.
c Based on Government Sponsored Research NAS7-03001.
c>> 2001-05-25 DEVBH Krogh Minor change for making .f90 version.
c>> 1996-03-30 DEVBH Krogh Added external state... | {"hexsha": "fee25d724d70804359b7ffeaff8ed9487a6394a6", "size": 7307, "ext": "f", "lang": "FORTRAN", "max_stars_repo_path": "src/MATH77/devbh.f", "max_stars_repo_name": "jacobwilliams/math77", "max_stars_repo_head_hexsha": "b562d09e191e99eba8a5bedfec45acf7461203b1", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_star... |
#pragma once
#include <boost/core/ignore_unused.hpp>
#include <any>
#include <list>
#include <map>
#include <memory>
#include <mutex>
namespace mira { namespace multi_index { namespace detail {
class abstract_multi_index_cache_manager
{
public:
abstract_multi_index_cache_manager() = default;
virtual ~abstract... | {"hexsha": "e2002ac4c7da7bcb4b32da8883602fc8582949bc", "size": 11912, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "libraries/vendor/mira/include/mira/detail/object_cache.hpp", "max_stars_repo_name": "arafat877/koinos-chain", "max_stars_repo_head_hexsha": "3773eaf326be5fcab271b1a411a8eb5282ed2b28", "max_stars_re... |
[STATEMENT]
lemma unity_root_periodic_arithmetic_mult_minus:
shows "periodic_arithmetic (\<lambda>i. unity_root k (-int i*int m)) k"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. periodic_arithmetic (\<lambda>i. unity_root k (- int i * int m)) k
[PROOF STEP]
unfolding periodic_arithmetic_def
[PROOF STATE]
proof (... | {"llama_tokens": 1690, "file": "Gauss_Sums_Complex_Roots_Of_Unity", "length": 17} |
/-
Copyright (c) 2021 Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies, Scott Morrison
-/
import data.finset.lattice
import data.finset.n_ary
import data.multiset.functor
/-!
# Functoriality of `finset`
> THIS FILE IS SYNCHRONIZED WITH MATHLI... | {"author": "leanprover-community", "repo": "mathlib", "sha": "5e526d18cea33550268dcbbddcb822d5cde40654", "save_path": "github-repos/lean/leanprover-community-mathlib", "path": "github-repos/lean/leanprover-community-mathlib/mathlib-5e526d18cea33550268dcbbddcb822d5cde40654/src/data/finset/functor.lean"} |
import unittest
from datefeatures import ShoppingHolidays
from datetime import datetime
import numpy as np
import numpy.testing as npt
class Test_ShoppingHolidays(unittest.TestCase):
def test1(self):
# Singles Day (China) 2017
x = datetime(2017, 11, 11)
hd = ShoppingHolidays(country='all'... | {"hexsha": "1d780aaea9ab6888477e6a164df233e6218e03e2", "size": 1274, "ext": "py", "lang": "Python", "max_stars_repo_path": "test/test_shoppingholidays.py", "max_stars_repo_name": "kmedian/datefeatures", "max_stars_repo_head_hexsha": "27a7e2a67a56e745adfabba61ee61623d6d28d55", "max_stars_repo_licenses": ["Apache-2.0"], ... |
"""
Build Chimera routes from tile routes.
Author: Aidan Roy
"""
import networkx as nx
import random
import itertools
import math
import copy
def linear_index_to_chimera(linear_indices, m, n=None, t=None):
"""
[[i0, j0, u0, k0], [i1, j1, u1, k1], ...] = linear_index_to_chimera(linear_indices, m, n, t)
Con... | {"hexsha": "1825ffc2c58559aa4efda8568244892b97d74011", "size": 22269, "ext": "py", "lang": "Python", "max_stars_repo_path": "placeandroute/tilebased/detailed_channel_routing.py", "max_stars_repo_name": "boothby/placeandroute", "max_stars_repo_head_hexsha": "550a2e8d2af4a91f1b09ec028b0ef2c74d6e5103", "max_stars_repo_lic... |
!
! forward substitution example
!
program fs03
integer n, i
parameter (n=100)
real a(n), x
do i=1, n
x = a(i)*a(i)
a(i) = x + x
enddo
x = a(4)
a(i-3) = x + x
a(i-2) = x - x
print *, a(5)
end
| {"hexsha": "1c16c4e63e113809ae9a9ddf548d9cb346f3a772", "size": 283, "ext": "f", "lang": "FORTRAN", "max_stars_repo_path": "packages/PIPS/validation/Expressions/fs03.f", "max_stars_repo_name": "DVSR1966/par4all", "max_stars_repo_head_hexsha": "86b33ca9da736e832b568c5637a2381f360f1996", "max_stars_repo_licenses": ["MIT"]... |
import numpy as np
import pyglet
class ArmEnv(object):
viewer = None
def __init__(self):
pass
def step(self, action):
pass
def reset(self):
pass
def render(self):
if self.viewer is None:
self.viewer = Viewer()
self.viewer.render()
class Vie... | {"hexsha": "09036256f781da7b62eddd16b3fa6d1f3994edc5", "size": 1881, "ext": "py", "lang": "Python", "max_stars_repo_path": "train-robot-arm-from-scratch/part2/env.py", "max_stars_repo_name": "ilray88/tutorials", "max_stars_repo_head_hexsha": "0182234002233179ab5c9a0d4ba230e5aa5f170e", "max_stars_repo_licenses": ["MIT"]... |
[STATEMENT]
lemma sum_list_plus:
fixes xs :: "'a::comm_monoid_add list"
assumes "length xs = length ys" shows "\<sigma> (xs + ys) = \<sigma> xs + \<sigma> ys"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. \<sigma> (xs + ys) = \<sigma> xs + \<sigma> ys
[PROOF STEP]
using assms
[PROOF STATE]
proof (prove)
using t... | {"llama_tokens": 206, "file": "Khovanskii_Theorem_Khovanskii", "length": 2} |
import pandas as pd
import numpy as np
import trafilatura
import time
import random
from tqdm import tqdm
from pathlib import Path
def get_full_text_col(df: pd.DataFrame) -> None:
"""
A method that will add a new column "full_text"
in which the full text of the URL associated to the row will be there. I... | {"hexsha": "2065a0b01a89640c9a0d983c3a31b8bed437ff5e", "size": 1310, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/data/google_facts_web_scraping.py", "max_stars_repo_name": "christianvadillo/fakenewsdetection", "max_stars_repo_head_hexsha": "f0a45e074ed897871627b349393c1e3cb6b3961d", "max_stars_repo_licen... |
"""
This function creates the model for a full themal dispatch formulation depending on combination of devices, device_formulation and system_formulation
"""
function construct_device!(canonical::Canonical, sys::PSY.System,
model::DeviceModel{T, D},
::Type{S};
... | {"hexsha": "604857b553dfbae79f2d747adb6d23046e30221f", "size": 8971, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/devices_models/device_constructors/thermalgeneration_constructor.jl", "max_stars_repo_name": "mattirish/PowerSimulations.jl", "max_stars_repo_head_hexsha": "f2ebec4c68926e749a2ec422cc94c84a4ac7... |
"""Module for parsing and manipulating data from ENDL evaluations.
For the moment, classes and functions in this module only implement the
specifications relevant to the EEDL (Evaluated Electron Data Library) and the
EPDL (Evaluated Photon Data Library). The formats are described by the
following documents:
"ENDL typ... | {"hexsha": "5c7acd364144fbda6e1f1dc3db9f250f309248d4", "size": 11982, "ext": "py", "lang": "Python", "max_stars_repo_path": "pyne/endl.py", "max_stars_repo_name": "epassaro/pyne", "max_stars_repo_head_hexsha": "74cf444cac3bca754fd6f433d5d922a99d6eea1d", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1, "max_sta... |
% Acknowledgements
\pdfbookmark[1]{Acknowledgements}{Acknowledgements} % Bookmark name visible in a PDF viewer
\begin{flushright}{\slshape
We have seen that computer programming is an art, \\
because it applies accumulated knowledge to the world, \\
because it requires skill and ingenuity, and especially \\
bec... | {"hexsha": "b12fe455c4c8aa45399c82807e8ce4e4535c33e2", "size": 1102, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "FrontBackMatter/Acknowledgments.tex", "max_stars_repo_name": "fmr42/MasterThesis", "max_stars_repo_head_hexsha": "0ff0d2100d6547afb67af40c0f355bec1a3c9150", "max_stars_repo_licenses": ["MIT"], "max_... |
import torch
import os
import glob
from torch.utils.data import Dataset
import numpy as np
import scipy.stats as scipy_stats
import numpy.matlib
from PIL import Image
from torchvision import transforms
from xmuda.data.utils.preprocess import create_img_grid, create_voxel_grid, select_points_in_frustum, compute_local_fr... | {"hexsha": "8052f7eb46d814278619fef18b177c97a688de23", "size": 23450, "ext": "py", "lang": "Python", "max_stars_repo_path": "xmuda/data/NYU/nyu_dataset.py", "max_stars_repo_name": "anhquancao/xmuda-extend", "max_stars_repo_head_hexsha": "4b670ec2f6766e3a624e81dbe5d97b209c1c4f76", "max_stars_repo_licenses": ["Apache-2.0... |
from Actor_Critic.model_v2 import ActorCriticNet
import gym
import matplotlib.pyplot as plt
import numpy as np
def plot_reward(reward_history: list, window: int=5) -> None:
N = len(reward_history)
running_avg = np.empty(N)
for t in range(N):
running_avg[t] = np.mean(reward_history[max(0, t - window... | {"hexsha": "35122223c73667558459900da2816d942f609a90", "size": 1338, "ext": "py", "lang": "Python", "max_stars_repo_path": "Actor_Critic/play_with_gym.py", "max_stars_repo_name": "GracefulMan/reinforcement_learning", "max_stars_repo_head_hexsha": "473a38565642d684270928679e7c436c9470e91d", "max_stars_repo_licenses": ["... |
# -*- coding: utf-8 -*-
import os
import glob
import json
import weakref
from collections import OrderedDict
import numpy as np
import scipy
import scipy.stats
import acq4.util.debug as debug
import acq4.pyqtgraph as pg
from acq4.modules.Module import Module
from acq4.analysis.AnalysisModule import AnalysisModule
fro... | {"hexsha": "86202a123547585c35e788dc9c7120bdab565e37", "size": 22390, "ext": "py", "lang": "Python", "max_stars_repo_path": "acq4/modules/MosaicEditor/MosaicEditor.py", "max_stars_repo_name": "aleonlein/acq4", "max_stars_repo_head_hexsha": "4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555", "max_stars_repo_licenses": ["MIT"], ... |
[STATEMENT]
lemma (in ring_hom_cring) hom_zero [simp]: "h \<zero> = \<zero>\<^bsub>S\<^esub>"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. h \<zero> = \<zero>\<^bsub>S\<^esub>
[PROOF STEP]
proof -
[PROOF STATE]
proof (state)
goal (1 subgoal):
1. h \<zero> = \<zero>\<^bsub>S\<^esub>
[PROOF STEP]
have "h \<zero> \<... | {"llama_tokens": 623, "file": null, "length": 7} |
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{comment}
\usepackage{xcolor}
\usepackage{bussproofs}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{comment}
\usepackage{hyperref}
\usepackage{multicol}
\usepackage{stmaryrd}
\usepackage{cmll}
\usepackage{setspace}
\usepackage{verbatim}
\makeatlett... | {"hexsha": "6e0b53096e1ef95e63ac62ac046248518e633f07", "size": 42892, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "Project Documentation/main.tex", "max_stars_repo_name": "harshikaaagrawal/game-semantics-for-affine-logic", "max_stars_repo_head_hexsha": "6db365c92e9bff315d61d6262cb1b794100d69ad", "max_stars_repo... |
# -*- coding: utf-8 -*-
import requests,re,json,pickle,os
from lxml import etree
from pymongo import MongoClient
from bs4 import BeautifulSoup
from CONSTANTS import HEADER2
from CrawlFunctions import getSoup,getEtreeHtml,getSoup
from multiprocessing.dummy import Lock,Pool
import numpy as np
from datetime import datetim... | {"hexsha": "626bbc485e7dcbf252e2465995c29153fef4d8cb", "size": 5577, "ext": "py", "lang": "Python", "max_stars_repo_path": "parseItems.py", "max_stars_repo_name": "sitgang/Dianping-Spider", "max_stars_repo_head_hexsha": "b3bfef5293404a81d82e757caa312f874c87a578", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1... |
# --------------
# Import packages
import numpy as np
import pandas as pd
from scipy.stats import mode
bank = pd.read_csv(path)
# code starts here
# categorical_var creation
categorical_var = bank.select_dtypes(include = object)
print(categorical_var)
#numerical_var creation
numerical_var = bank.select_dtypes(incl... | {"hexsha": "dad3f17ea03cddc31d18024f0ca6f6ca4a19d43f", "size": 2061, "ext": "py", "lang": "Python", "max_stars_repo_path": "Pandas-mini-Project/code.py", "max_stars_repo_name": "Parthsarthi99/greyatom-python-for-data-science", "max_stars_repo_head_hexsha": "a643b5204901e6600e52a121bdcd448c13f19e7e", "max_stars_repo_lic... |
from typing import Any, List, Dict, Optional, Sequence
from scipy import sparse
import os
import sklearn
import numpy # NOTE numpy is used only to set types and nan values. FIXME with correct types from AF
# import arrayfire as af # FIXME uncommnet when line 300 is resolved
from numpy import ndarray # FIXME to arra... | {"hexsha": "96b7beb4cba60a81244bb50f785858c2a1874e27", "size": 18769, "ext": "py", "lang": "Python", "max_stars_repo_path": "af_primitives/afSKImputer.py", "max_stars_repo_name": "pv-pterab-s/d3m-arrayfire-primitives", "max_stars_repo_head_hexsha": "d1f5a561ad5e5e99f91f9fc0401423835b180748", "max_stars_repo_licenses": ... |
/*
* Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
* Fou... | {"hexsha": "c27598f8f0b1a1dd1fc7ec3b023056ed22e64868", "size": 1607, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "liblink/native/src/utility/sha256.cpp", "max_stars_repo_name": "oklink-dev/bitlink", "max_stars_repo_head_hexsha": "69705ccd8469a11375ad3c08c00c9dc54773355e", "max_stars_repo_licenses": ["MIT"], "ma... |
(* This Isabelle theory is produced using the TIP tool offered at the following website:
https://github.com/tip-org/tools
This file was originally provided as part of TIP benchmark at the following website:
https://github.com/tip-org/benchmarks
Yutaka Nagashima at CIIRC, CTU changed the TIP output th... | {"author": "data61", "repo": "PSL", "sha": "2a71eac0db39ad490fe4921a5ce1e4344dc43b12", "save_path": "github-repos/isabelle/data61-PSL", "path": "github-repos/isabelle/data61-PSL/PSL-2a71eac0db39ad490fe4921a5ce1e4344dc43b12/UR/TIP_with_Proof/TIP15/TIP15/TIP_nat_max_assoc.thy"} |
"""
Author: Ben Knisley [benknisley@gmail.com]
Date: 26 March, 2021
"""
import numpy as np
from scipy.signal import filtfilt, butter
def smooth_samples(samples):
"""
Smooths out any major waves crossing the 0-axis.
Normalizes values back around 0-axis, by using a Butterworth filter to
create a ... | {"hexsha": "0ada997214ebf497b2adcf625c3250348cd15653", "size": 3342, "ext": "py", "lang": "Python", "max_stars_repo_path": "signal_functions.py", "max_stars_repo_name": "BenKnisley/Oregon-Scientific-RF-Protocol-Decoder", "max_stars_repo_head_hexsha": "528711fe959f234a8cdefd7ff206737ecb669327", "max_stars_repo_licenses"... |
import numpy as np
import cv2
cap = cv2.VideoCapture(0)
while(True):
#Capture fraem by frame
ret, frame = cap.read()
#convert to gray image
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
#display the resulting frame
cv2.imshow('color', frame)
cv2.imshow('gray', gray)
if cv2.waitKey(... | {"hexsha": "0e72d853b94aebe5d27bfafe9198da0ac4dd398d", "size": 419, "ext": "py", "lang": "Python", "max_stars_repo_path": "readcamera.py", "max_stars_repo_name": "ycnelson521/PythonCV_readcamera", "max_stars_repo_head_hexsha": "79f153ac472cd2b93c4e404a1c896a4ef85cc833", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
/*! \file 1d_tests.cpp
\brief Test of SVG 1D plot
\author Jacob Voytko & Paul A. Bristow
*/
// Copyright Jacob Voytko 2007
// Copyright Paul A. Bristow 2013, 2020
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy ... | {"hexsha": "e1025d0c7dd67834027435e476c7677694d3fc78", "size": 21755, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "test/1d_tests.cpp", "max_stars_repo_name": "pabristow/svg_plot", "max_stars_repo_head_hexsha": "59e06b752acc252498e0ddff560b01fb951cb909", "max_stars_repo_licenses": ["BSL-1.0"], "max_stars_count":... |
from __future__ import division
def parallel_loop(algo_names, pmt, args):
'''
This is one loop of the computation
extracted for parallelization
'''
number_sources = args[0]
SNR = args[1]
seed = args[2]
# We need to do a bunch of imports
import pyroomacoustics as pra
import os
... | {"hexsha": "b7ee58a6ab4e44d1548fb82dd85453ce5367d664", "size": 7710, "ext": "py", "lang": "Python", "max_stars_repo_path": "figure_doa_synthetic.py", "max_stars_repo_name": "LCAV/FRIDA", "max_stars_repo_head_hexsha": "ff5d51e498805b862c342dd216ccfffb22444b7f", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 73, ... |
#include <Eigen/Core>
#include <numpy_eigen/boost_python_headers.hpp>
Eigen::Matrix<int, 6, 4> test_int_6_4(const Eigen::Matrix<int, 6, 4> & M)
{
return M;
}
void export_int_6_4()
{
boost::python::def("test_int_6_4",test_int_6_4);
}
| {"hexsha": "4f0f9afdc6f1635f2c68ccd926be9a7dfda42f82", "size": 237, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "Schweizer-Messer/numpy_eigen/src/autogen_test_module/test_6_4_int.cpp", "max_stars_repo_name": "PushyamiKaveti/kalibr", "max_stars_repo_head_hexsha": "d8bdfc59ee666ef854012becc93571f96fe5d80c", "max_... |
from __future__ import print_function
import argparse
from time import perf_counter
import torch
from PIL import Image
from torchvision.transforms import ToTensor
import numpy as np
def inference(input_image, model, cuda=False):
""" inference function """
img = input_image.convert('YCbCr')
y, cb, cr = im... | {"hexsha": "14e26333822850ce9523027700929145b1a93064", "size": 1845, "ext": "py", "lang": "Python", "max_stars_repo_path": "super_resolution/inference.py", "max_stars_repo_name": "hsuanhauliu/examples", "max_stars_repo_head_hexsha": "0f5b1d4fb439beb697a874f39e4c91cffac8e25a", "max_stars_repo_licenses": ["BSD-3-Clause"]... |
[STATEMENT]
lemma [simp,code_unfold]: "dom (heap \<sigma>\<^sub>1') = {oid0,oid1,oid2,oid3\<^cancel>\<open>,oid4\<close>,oid5,oid6,oid7,oid8}"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. dom (heap \<sigma>\<^sub>1') = {oid0, oid1, oid2, oid3, oid5, oid6, oid7, oid8}
[PROOF STEP]
by(auto simp: \<sigma>\<^sub>1'_de... | {"llama_tokens": 152, "file": "Featherweight_OCL_examples_Employee_Model_Analysis_Analysis_UML", "length": 1} |
import numpy as np
import logging
import theano.tensor as tt
import pymc3 as pm
import theano as th
import pymc3.distributions.dist_math as pm_dist_math
from typing import Tuple, Generator
_logger = logging.getLogger(__name__)
_log_2_pi = 1.837877066409345 # np.log(2 * np.pi)
_10_inv_log_10 = 4.342944819032518 # 10... | {"hexsha": "e0046f2cd6e9f896800d0e7d7cc0e3c74a555f0a", "size": 8865, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/main/python/org/broadinstitute/hellbender/gcnvkernel/models/commons.py", "max_stars_repo_name": "tommycarstensen/gatk", "max_stars_repo_head_hexsha": "489fe150ecee627dc3e237cf6d20217619f5e67f"... |
@testset "Lattice tests" begin
#test honeycomb lattice implementation
a1 = (3/2, sqrt(3)/2)
a2 = (3/2, -sqrt(3)/2)
basis = [(0.0, 0.0), (1.0, 0.0)]
uc = UnitCell(a1, a2)
b1 = addBasisSite!(uc, basis[1])
b2 = addBasisSite!(uc, basis[2])
J = [1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0]
Kx =... | {"hexsha": "fad5753b86fcc685bbfc13be225157aba87bf604", "size": 4625, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/Lattice.jl", "max_stars_repo_name": "fbuessen/SpinMC.jl", "max_stars_repo_head_hexsha": "e66b28231830243bb07a16ba9b8576b786d8f9b6", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 19, "... |
# -*- coding: utf-8 -*-
"""
Synthetic 2D Classification Covariate Shift Problem (Sugiyama et al. 2007)
==========================================================================
"""
# sphinx_gallery_thumbnail_number = 8
import tensorflow as tf
import numpy as np
import tensorflow_probability as tfp
import matplotlib.... | {"hexsha": "53cc44622e5f2a58c9e71fbf2a1b81f87f8f2365", "size": 4627, "ext": "py", "lang": "Python", "max_stars_repo_path": "examples/plot_synthetic_covariate_shift_example_2d_sugiyama.py", "max_stars_repo_name": "ltiao/gp-dre", "max_stars_repo_head_hexsha": "5997a74826636a58662f5fa8c41a81d32ba8baa2", "max_stars_repo_li... |
## test/hbdict.jl --- check if bond dict functions properly/as expected
@testset "HBondDict (2 element) (get/set/iterate)" begin
## declare a throwaway bonddict
dict = HBondDict(2) # check if the constructor works
@test_throws ErrorException HBondDict(0)
## type and iteration
@test dic... | {"hexsha": "8c95786fad8ac194f4a8a8c6c5b2ae3244047883", "size": 4694, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/hbdict.jl", "max_stars_repo_name": "bldamalla/ProtStructs.jl", "max_stars_repo_head_hexsha": "98f73e61d123b8f319c597368f00b4b83a416d62", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
"""
General EM routines
"""
import warnings
import jax.numpy as np
from jax import jit, vmap
from ssm.utils import Verbosity, ensure_has_batch_dim, ssm_pbar
@ensure_has_batch_dim(model_arg="model")
def em(model,
data,
covariates=None,
metadata=None,
num_iters=100,
tol=1e-4,
v... | {"hexsha": "2a7071ff7e1874220427ca627c55706d572e9ee2", "size": 2671, "ext": "py", "lang": "Python", "max_stars_repo_path": "ssm/inference/em.py", "max_stars_repo_name": "lindermanlab/ssm-jax-refactor", "max_stars_repo_head_hexsha": "879243a5b649daeacea3467fab09b5a405cb4ff9", "max_stars_repo_licenses": ["MIT"], "max_sta... |
"""
Tests for various sub-parsers
Included in this test suite:
s/p/base.CSCStreamProcessor
"""
from unittest import TestCase
from io import StringIO
import re
from numpy.testing import assert_array_equal, assert_allclose
from numpy import longfloat, array, dtype
from serpentTools.parsers.base import CSCStream... | {"hexsha": "fe1fdeed4d943b2817b5a0a6f9102ac2508081b8", "size": 5002, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/test_engines.py", "max_stars_repo_name": "travleev/serpent-tools", "max_stars_repo_head_hexsha": "b699e5112aacb355be3056e3751d50ec2f926e0a", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
"""Main script. Contain model definition and training code."""
# MIT License
#
# Copyright (c) 2017 Baoming Wang
#
# 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, includ... | {"hexsha": "fe03aa6fe085e2527ca5d34489f022fff0c61cad", "size": 24032, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/history_format/mtcnn_onetlayer8.py", "max_stars_repo_name": "Xingxiangrui/MTCNN_for_head_detection", "max_stars_repo_head_hexsha": "5f036271ab0e00a29721855282b8d2e8feef0238", "max_stars_repo_... |
#!/usr/bin/python
import numpy as np
import csv
import json
import sys
import argparse
import multiprocessing as mp
import subprocess
import glob, os
from functools import partial
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
... | {"hexsha": "700d26a16221d13acd88289d29a9a7d78612ee5a", "size": 2085, "ext": "py", "lang": "Python", "max_stars_repo_path": "dt-bench/dist-dnn.py", "max_stars_repo_name": "cyliustack/scout", "max_stars_repo_head_hexsha": "5c3a7e0938a2b69d596d0fab0a0d39b91230961d", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_co... |
###################################################################################
# Copyright (c) 2020-2021 STMicroelectronics.
# All rights reserved.
# This software is licensed under terms that can be found in the LICENSE file in
# the root directory of this software component.
# If no LICENSE file c... | {"hexsha": "5b621dd1af8459dcfb820f28e4e94f30638b0ccd", "size": 1988, "ext": "py", "lang": "Python", "max_stars_repo_path": "generic_ui/ai_logging/decoders/float_decoder.py", "max_stars_repo_name": "STMicroelectronics/stm32ai-datalogger", "max_stars_repo_head_hexsha": "0ba92ced44248e606a5cc68139fdfdc84489fa17", "max_sta... |
\section{Appendix II: Previous versions of analysis patterns} \label{appendix2}
Below is a previous version of analysis patterns. It was decided that keeping
track of \emph{balance} was not something worth pursuing, since the main point
of the application is for users to choose a period of time and then look at a
summa... | {"hexsha": "a74b3be4653728840e9e4e2f25a60110b023b77a", "size": 2529, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "report/contents/old_appendix2.tex", "max_stars_repo_name": "claudiusbr/personal_finance_system", "max_stars_repo_head_hexsha": "cb97bce25316ee889fa022a999d949a447a9bd2f", "max_stars_repo_licenses": ... |
"""
Note:
before running this code, you shoud run get_mnist.sh and put the data
in "MNIST" folder.
"""
from mnist import MNIST # pip install python-mnist
import pickle
import pandas as pd
import numpy as np
import random
# %%
# Note: the gz can be True or False, depends on your OS and do you have th... | {"hexsha": "d1e6c3e50304c341dae2a7869f5b6f60152ecbd7", "size": 1545, "ext": "py", "lang": "Python", "max_stars_repo_path": "data_prepare/preprocess_mnist.py", "max_stars_repo_name": "BeibinLi/SGIN", "max_stars_repo_head_hexsha": "e73f64c9111b0841f3324459114c396847b9ccbe", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
import itertools
import numpy as np
import pandas
import pandas as pd
from aocd import get_data
from parse import parse
def create_bingo_card(input_rows: str) -> pandas.DataFrame:
input_matrix = []
card_rows = [row for row in input_rows.split('\n')]
for row_data in card_rows:
input_matrix.append([... | {"hexsha": "8120537cc94bedc3586c45b8c7f8f5319c61d946", "size": 3628, "ext": "py", "lang": "Python", "max_stars_repo_path": "day4.py", "max_stars_repo_name": "Siliconrob/advent2021", "max_stars_repo_head_hexsha": "29085e41bbaca6ea1783c09641418b649ff9e026", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "ma... |
import datetime
import math
from PIL import Image as PILImage, ImageDraw, ImageFont
import imageio
import numpy as np
from hardware import is_pi
class Image:
def __init__(self, path: str):
self.img = imageio.imread(path)
if len(self.img.shape) == 3:
self.img = np.average(self.img, 2)... | {"hexsha": "d3b8c1a4f4b733f4ce1b7599c4c78c28ecf14619", "size": 3365, "ext": "py", "lang": "Python", "max_stars_repo_path": "python/image.py", "max_stars_repo_name": "gurux13/babagram", "max_stars_repo_head_hexsha": "6910130f1373e09154da4ce9a744f94287d754f2", "max_stars_repo_licenses": ["CC0-1.0"], "max_stars_count": 5,... |
from ludopy.player import Player
from enum import Enum
import numpy as np
from QLearning.actionTable import ActionTable
class State(Enum):
Home=0 #state in which the token is home, which also is the starting position.
Safe=1 #state in which the token has reached goal.
Unsafe=2 # state where the token is sa... | {"hexsha": "5dcc652237c14921849deffd545f443d0dc6306e", "size": 17482, "ext": "py", "lang": "Python", "max_stars_repo_path": "QLearning/stateSpace.py", "max_stars_repo_name": "janschmid/LudoPy", "max_stars_repo_head_hexsha": "13e41f141868365b769a665a9c4040b8b76b1d2e", "max_stars_repo_licenses": ["MIT"], "max_stars_count... |
theme_set(theme_bw(18))
setwd("d:/Dropbox/Tuebingen17SS/RA/woq/experiments/non_english_collection_pilot/results")
# setwd("~/Dropbox/Tuebingen17SS/RA/woq/experiments/1c/results")
# setwd("~/cogsci/projects/stanford/projects/woq/experiments/1c/results")
source("rscripts/helpers.r")
d1 = read.table(file="data/results-1.... | {"hexsha": "e6cec7812b620367a86fbc882257fc2cd420366c", "size": 2055, "ext": "r", "lang": "R", "max_stars_repo_path": "experiments/non_english_collection_pilot/results/rscripts/production.r", "max_stars_repo_name": "thegricean/woq", "max_stars_repo_head_hexsha": "f1c86ed0f1cc5fd7a4b774d8559f764fbc436d19", "max_stars_rep... |
import numpy as np
from PIL import Image
from hsi_dataset import load_single_image, HsiSegmentationDataset
import torch
from albumentations import Compose, CenterCrop
def to_color_image(torch_tensor, pil=True):
""" Converting to valid RGB image. If HSI, then RGB channels are selected. """
tensor = np.squeez... | {"hexsha": "7e25b740e2d1e6743ccc6928e87f726cc5ff62fa", "size": 3137, "ext": "py", "lang": "Python", "max_stars_repo_path": "evaluation.py", "max_stars_repo_name": "mkisantal/nonrgb-transfer", "max_stars_repo_head_hexsha": "cb05be4dee0a1567e711fe51f6e72d5373223d2b", "max_stars_repo_licenses": ["MIT"], "max_stars_count":... |
from flask import Flask
import requests
import pandas as pd
import numpy as np
import time
import matplotlib.pyplot as plt
from math import pi
from matplotlib.path import Path
from matplotlib.spines import Spine
from matplotlib.transforms import Affine2D
apikey = 'RGAPI-5c385776-a3f1-46d5-8aab-e045125292a... | {"hexsha": "7ed3d97a28807c8fe6d574a6bfbcb09f13424729", "size": 5448, "ext": "py", "lang": "Python", "max_stars_repo_path": "python/test2.py", "max_stars_repo_name": "sanar4ng/capstone5-1", "max_stars_repo_head_hexsha": "fbbb4484c07d8b93930a831c8d9da76d93cfc06a", "max_stars_repo_licenses": ["MIT"], "max_stars_count": nu... |
# Use this script as a hacky way to verify BanditPAM is multithreaded
# Should complete in <= 3 seconds
import time
import numpy as np
from BanditPAM import KMedoids
X = np.loadtxt("data/MNIST-1k.csv")
kmed = KMedoids(n_medoids=5, algorithm="BanditPAM")
start = time.time()
kmed.fit(X, "L2", "gmm_log")
print(time.time... | {"hexsha": "45df139547b8997bc38f1071f969b3a1c528986f", "size": 363, "ext": "py", "lang": "Python", "max_stars_repo_path": "scripts/timing.py", "max_stars_repo_name": "ThrunGroup/BanditPAM", "max_stars_repo_head_hexsha": "ca5c8ba2ec8227db979c3b6381c61846cf18d8ff", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 2... |
import os
import numpy as np
from skimage.io import imread
import tqdm
from concurrent.futures import ThreadPoolExecutor
from src.data.preprocessing.NoPreprocessing import NoPreprocessing
# ABSOLUTE PATH OF THIS FILE
dir_path = os.path.dirname(os.path.realpath(__file__))
class DatasetManager:
"""
The Datase... | {"hexsha": "b6e29e233b58af1d896a1ce46618e1c6676494b3", "size": 12311, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/data/dataset_manager.py", "max_stars_repo_name": "ab3llini/ASLRecognizer", "max_stars_repo_head_hexsha": "9a98887b13b73bb81bd4d6d8ebbfb13c4ef7e856", "max_stars_repo_licenses": ["MIT"], "max_s... |
# Copyright (C) 2021 Raven Computing
#
# 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 law or agreed to in writi... | {"hexsha": "f751f76b13dd35a26a8a81d19ffc32586e1a61cc", "size": 43349, "ext": "py", "lang": "Python", "max_stars_repo_path": "raven/struct/dataframe/_dataframeutils.py", "max_stars_repo_name": "raven-computing/pydf", "max_stars_repo_head_hexsha": "70b14ad11aa629da6d1abb993a2a4c567db73ca9", "max_stars_repo_licenses": ["A... |
abstract type AbstractParticle{T <: AbstractFloat} end
abstract type AbstractParticleActivator end | {"hexsha": "7d99e2edcbe382685a14e74519811b6d75a36cbf", "size": 99, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "particles/abstracts.jl", "max_stars_repo_name": "wdevore/Ranger-Julia-SDL", "max_stars_repo_head_hexsha": "da33b1c5db43392fb17edab6f434d280a9b086c1", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
#!/usr/bin/env python
#-*- coding: utf-8 -*-
from lib.OptParseLib import OptParseLib
import tornado.httpclient
import tornado.ioloop
from tornado import process
import logging
import json
import time
import os
import random
import numpy
from lib.randomList import getRandomData
import brukva
ConfFilePath=u"./conf/easyB... | {"hexsha": "8e914f355deb3f97ef9db9ddfe2183f84b9edd82", "size": 2478, "ext": "py", "lang": "Python", "max_stars_repo_path": "easyBenchmarkTesttool/easyBenchmarkTesttool4Redis.py", "max_stars_repo_name": "junneyang/easybenchmarktesttool", "max_stars_repo_head_hexsha": "8f30cca1efe4a730ca0b3bc2cb9785afbd6e1ba3", "max_star... |
#
import numpy as np
from scipy.optimize import minimize
from scipy.interpolate import interp1d
from scipy.ndimage.interpolation import shift
from statsmodels.tsa.stattools import ccovf
def chisqr_align(reference, target, roi, order=1, init=0.1, bound=1):
'''
Align a target signal to a reference signal within ... | {"hexsha": "823cb907e31890594aebfe51a4fd8903b3c7c2c9", "size": 5465, "ext": "py", "lang": "Python", "max_stars_repo_path": "modules/libs/signal_alignment.py", "max_stars_repo_name": "jernelv/SpecAnalysis", "max_stars_repo_head_hexsha": "175875ea14f200ecd5de8eaa5b228c32c6621e46", "max_stars_repo_licenses": ["MIT"], "max... |
#!/usr/bin/env python
# Created on: October 7, 2013
__author__ = "Sven Kreiss, Kyle Cranmer"
__version__ = "0.1"
import optparse
parser = optparse.OptionParser(version=__version__)
parser.add_option("-i", "--input", dest="input", default="invalid.root", help="Input root model.")
parser.add_option("-w", "--wsName",... | {"hexsha": "ea3565074210660a41500728180ad89b0d3c4407", "size": 56482, "ext": "py", "lang": "Python", "max_stars_repo_path": "Decouple/obtainEtas.py", "max_stars_repo_name": "svenkreiss/decouple", "max_stars_repo_head_hexsha": "17acb0fd87a07a41413ab034db872ca307761ee1", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
import pandas as pd
import numpy as np
from final.model_evaluation.keras_model import neural_network
from sklearn.model_selection import train_test_split
from final.random_sampling.even_sample_brand import stratified_sampling_by_brand
from final.feature_extraction.text_vectorization import encode_categories,encode_stri... | {"hexsha": "ea1d985e8182bb53a84aad0e3dcf52390ce0ec0d", "size": 4361, "ext": "py", "lang": "Python", "max_stars_repo_path": "final/train_small_nn.py", "max_stars_repo_name": "DSEI21000-S21/project-product-price-prediction", "max_stars_repo_head_hexsha": "b98bff46e882de0ac1dade525a14beeaea224ffc", "max_stars_repo_license... |
#ifndef _MATRIX_PLOT_HPP_
#define _MATRIX_PLOT_HPP_
#include <boost/thread.hpp>
#include <boost/shared_ptr.hpp>
namespace matrix {
namespace plot {
struct expression {
virtual double operator()(int i, int j) const = 0;
virtual int size1() const = 0;
virtual int size2() const = 0;
};
template<... | {"hexsha": "344f4d6732cb33a9d1f2df8a68c5a51e0d663875", "size": 1209, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "gamess/libqc/src/matrix/plot.hpp", "max_stars_repo_name": "andremirt/v_cond", "max_stars_repo_head_hexsha": "6b5c364d7cd4243686488b2bd4318be3927e07ea", "max_stars_repo_licenses": ["Unlicense"], "max... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from sklearn.ensemble import RandomForestClassifier
from sklearn.linear_model import SGDClassifier
from sklearn.svm import SVC
import numpy as np
from sklearn import preprocessing
class NeighbourhoodClassifier:
def __init__(self, classifier_type, classifier_kwa... | {"hexsha": "f6b0790cce55a5dae7c4c6ac69a3a24cbf1ee929", "size": 5308, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/classifiers.py", "max_stars_repo_name": "h-sdl/projet-npm3d", "max_stars_repo_head_hexsha": "2a6459a00fb929e17814e5aae96f64d262050245", "max_stars_repo_licenses": ["MIT"], "max_stars_count": n... |
#include "converter.h"
#include "parser.h"
#include <cassert>
#include <fstream>
#include <boost/filesystem.hpp>
namespace tless {
bool Converter::validateDepth(ushort depth, const cv::Mat &src, const cv::Point &p, int maxDiff, int ksize) {
assert(src.type() == CV_16UC1);
const int offset = ksize /... | {"hexsha": "f7d4e8e4e7fb0bf57536a371b620a7b5ecec9a3f", "size": 10244, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "masters-thesis/utils/converter.cpp", "max_stars_repo_name": "jsimck/uni", "max_stars_repo_head_hexsha": "42ea184ccf3d9ecbffdea19b74ed13f3bc583137", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
"""Module trf_model defines pytorch-transformers components."""
import dataclasses
from typing import Any, List, Optional, Tuple
import numpy as np
import spacy
import spacy.language
import torch
import transformers
from spacy.gold import GoldParse
from spacy.tokens import Doc
from camphr.pipelines.utils import get_s... | {"hexsha": "51ca337e1c2d838fbb447325a6c9957efd9d01cd", "size": 4424, "ext": "py", "lang": "Python", "max_stars_repo_path": "camphr/pipelines/transformers/model.py", "max_stars_repo_name": "esakai/camphr", "max_stars_repo_head_hexsha": "124fa2cbcec7a984402bfd2e8cad1c85e668f074", "max_stars_repo_licenses": ["Apache-2.0"]... |
# LICENSE: Simplified BSD https://github.com/mmp2/megaman/blob/master/LICENSE
from __future__ import division ## removes integer division
import numpy as np
from nose import SkipTest
from numpy.testing import assert_array_almost_equal, assert_allclose
from scipy.spatial.distance import pdist, squareform
from megaman.... | {"hexsha": "a4377885f5f09afe09683384d5f706062d136ffb", "size": 5837, "ext": "py", "lang": "Python", "max_stars_repo_path": "megaman/geometry/tests/test_geometry.py", "max_stars_repo_name": "jakevdp/Mmani", "max_stars_repo_head_hexsha": "681b6cdbd358b207e8b6c4a482262c84bea15bd7", "max_stars_repo_licenses": ["BSD-2-Claus... |
import numpy as np
import pandas as pd
import csv
from sklearn.metrics import r2_score, mean_absolute_error, mean_squared_error
from sklearn.model_selection import GridSearchCV, KFold
from sklearn.preprocessing import MinMaxScaler
from keras.models import Sequential
from keras.layers import Dense, Dropout
from keras.wr... | {"hexsha": "02a566f8f882d2adcaa0430480d57e8edba57282", "size": 3692, "ext": "py", "lang": "Python", "max_stars_repo_path": "scripts/error_estimation_ann.py", "max_stars_repo_name": "vcovo/enthalpy-prediction", "max_stars_repo_head_hexsha": "c8439ec6aebfb3d9e65ba779cd9726812ec2cbe9", "max_stars_repo_licenses": ["Apache-... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# This file is part of pyunicorn.
# Copyright (C) 2008--2019 Jonathan F. Donges and pyunicorn authors
# URL: <http://www.pik-potsdam.de/members/donges/software>
# License: BSD (3-clause)
#
# Please acknowledge and cite the use of this software and its authors
# when resu... | {"hexsha": "378ec092d43256847965108152d8fbd3b0e1ac63", "size": 3995, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/test_core/test_spatial_network.py", "max_stars_repo_name": "lenas95/pyunicorn", "max_stars_repo_head_hexsha": "0fc05b7d7dc243b27bd23344305d26ac11fb056d", "max_stars_repo_licenses": ["BSD-3-C... |
import itertools
from functools import partial
from math import log2, ceil
import time
from typing import NamedTuple
from logging import DEBUG, INFO, info, basicConfig
import numpy as np
from validator import compute_satisfied_x_variables_x_weights, WEIGHTS, VARIABLES, NEGATIONS
INFINITY = float('inf')
RANDOM_GENERA... | {"hexsha": "9a21530a755507717d39c88641a459f380cce231", "size": 6818, "ext": "py", "lang": "Python", "max_stars_repo_path": "informatics/combinatorial_optimization/sat/src/solver.py", "max_stars_repo_name": "langer-jaros/learning_point", "max_stars_repo_head_hexsha": "5a92d34a3abacf0f4d36fa047d6db048d3049951", "max_star... |
import cv2
import numpy as np
def pre_process_image(image):
blurred = cv2.medianBlur(image, 11)
ret,thresh1 = cv2.threshold(blurred,175,255,cv2.THRESH_BINARY)
kernel = np.ones((7, 7),np.uint8)
eroded = cv2.erode(thresh1,kernel,iterations = 1)
return eroded
def pre_process_characters(image):
... | {"hexsha": "a1a3c9b2a15d9ce46759339575b4e65e6c57edf3", "size": 3018, "ext": "py", "lang": "Python", "max_stars_repo_path": "pre_processing.py", "max_stars_repo_name": "NataliaCarvalho03/ipfacensChallenge", "max_stars_repo_head_hexsha": "d4d298bffb3e703fe5a076ebad88c977dfb0cc24", "max_stars_repo_licenses": ["MIT"], "max... |
import multiprocessing
import threading
import numpy as np
from reinforcement_learning.crypto_market.util import my_score
import time
def create_actions(length, r_actions=None):
if r_actions is None:
return np.random.randint(0, 3, size=length)
else:
return r_actions
def run(data, states, in... | {"hexsha": "9be66af51bb36a5cd00004574998398dcf0bfd3f", "size": 3455, "ext": "py", "lang": "Python", "max_stars_repo_path": "reinforcement_learning/crypto_market/crypto_random_agent_func.py", "max_stars_repo_name": "xSakix/AI_playground", "max_stars_repo_head_hexsha": "17587583ecfc8fd9e92d9d3f643da6d37ac5cffd", "max_sta... |
#ifndef CX_DQMC_GREENS_REPLICA_RENYI_FT_HPP
#define CX_DQMC_GREENS_REPLICA_RENYI_FT_HPP
#include <complex>
#include <libdqmc/cx_dqmc_abstract_greens.hpp>
#include <libdqmc/la.hpp>
#include <libdqmc/cx_density.hpp>
#include <libdqmc/parameters.hpp>
#include <libdqmc/cx_workspace.hpp>
#include <libdqmc/cx_checkerboard.h... | {"hexsha": "c697510212b5d02c7cf393fa15a60ff810c2efb1", "size": 3213, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "libdqmc/cx_dqmc_greens_replica_renyi_ft.hpp", "max_stars_repo_name": "pebroecker/DQMC", "max_stars_repo_head_hexsha": "c4a96cb20347ef722b6ae68c415233d464c89e93", "max_stars_repo_licenses": ["BSD-3-C... |
from itertools import islice
from typing import Dict, Iterable, List, Union
from modelforge import merge_strings, Model, register_model, split_strings
import numpy
from sourced.ml.core.models.license import DEFAULT_LICENSE
@register_model
class DocumentFrequencies(Model):
"""
Document frequencies - number o... | {"hexsha": "cbb7e71eca45a3da3057b0b61bf6161609c0295f", "size": 5763, "ext": "py", "lang": "Python", "max_stars_repo_path": "sourced/ml/core/models/df.py", "max_stars_repo_name": "r0mainK/ml-core", "max_stars_repo_head_hexsha": "ac17828d58e817e771caf2b2c3de523d527874b8", "max_stars_repo_licenses": ["Apache-2.0"], "max_s... |
! { dg-do run }
program stack
implicit none
integer id
integer ilocs(2)
integer omp_get_thread_num, foo
call omp_set_num_threads (2)
!$omp parallel private (id)
id = omp_get_thread_num() + 1
ilocs(id) = foo()
!$omp end parallel
! Check that the two threads are not sharing a location for
! the array x ... | {"hexsha": "b27673d01fdac54f64a945ad34cca1ba220407ce", "size": 479, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "binutils-2.21.1/gcc-4.5.1/libgomp/testsuite/libgomp.fortran/stack.f90", "max_stars_repo_name": "cberner12/xv6", "max_stars_repo_head_hexsha": "53c4dfef0d48287ca0d0f9d27eab7a6ed7fee845", "max_star... |
powerset <- function(set){
ps <- list()
ps[[1]] <- numeric() #Start with the empty set.
for(element in set){ #For each element in the set, take all subsets
temp <- vector(mode="list",length=length(ps)) #currently in "ps" and create new subsets (in "temp")
for(subset in 1:length(ps)){ #by adding "el... | {"hexsha": "37eed500062d3664da44051789fcb336f95b1fa8", "size": 486, "ext": "r", "lang": "R", "max_stars_repo_path": "Task/Power-set/R/power-set-2.r", "max_stars_repo_name": "LaudateCorpus1/RosettaCodeData", "max_stars_repo_head_hexsha": "9ad63ea473a958506c041077f1d810c0c7c8c18d", "max_stars_repo_licenses": ["Info-ZIP"]... |
import os
import torch
import dgl
import networkx as nx
from utils import load_data, load_emb, graph_completion, draw_networkx_edge_labels
from gcs_model import gcs_attention
def run_gcs(args, KG, feats_org, feats_klm):
# cpu for whole KG analysis
args.device = torch.device("cpu")
if KG.number_of_nodes()... | {"hexsha": "3a4f391c562b6ee0e16136effeec9a46e7a08ed5", "size": 4373, "ext": "py", "lang": "Python", "max_stars_repo_path": "example/src/gcs_interpret.py", "max_stars_repo_name": "yifan-h/GCS_KI", "max_stars_repo_head_hexsha": "5d5c68832aa37cefb1d01723c35fc3d74482c8c2", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
import pytest
from timspyutils.ensemble import *
from sklearn.linear_model import RidgeClassifier, LogisticRegression
import numpy as np
def test_raise_fit():
pvc = PrefittedVotingClassifier(estimators = [])
with pytest.raises(NotImplementedError):
pvc.fit()
def test_numeric_classification():
y =... | {"hexsha": "89c6d3f55d7e095672108305a5ab5d6b038469ea", "size": 1615, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/test_ensemble.py", "max_stars_repo_name": "TimothyWillard/timspyutils", "max_stars_repo_head_hexsha": "05e1623b3a212dd92535c39f8b98741288c0609d", "max_stars_repo_licenses": ["MIT"], "max_sta... |
\chapter{Econometrics using stated preference}
| {"hexsha": "4b9b5fe11342b5d6b68aa34c559a61d71ce3968f", "size": 49, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "src/pug/theory/economics/econometricsStated/00-00-Chapter_name.tex", "max_stars_repo_name": "adamdboult/nodeHomePage", "max_stars_repo_head_hexsha": "266bfc6865bb8f6b1530499dde3aa6206bb09b93", "max_st... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.