text stringlengths 0 1.25M | meta stringlengths 47 1.89k |
|---|---|
from matplotlib import pyplot as plt
fig = plt.figure()
# l1 = plt.plot([0,0,7,7,0,5,7,0],[0,6,6,0,0,6,3,0], figure=fig, transform=fig.transFigure)
# l2 = plt.plot([0,7],[3,3], figure=fig, transform=fig.transFigure)
# l3 = plt.plot([5,5],[0,6], figure=fig, transform=fig.transFigure)
l1 = plt.plot([0,0,7,7,0,5,7,0],[... | {"hexsha": "e8ff4082e8a9bf1379303b9d274c294d426399ed", "size": 870, "ext": "py", "lang": "Python", "max_stars_repo_path": "python/pyplot/drawlines.py", "max_stars_repo_name": "staugust/leetcode", "max_stars_repo_head_hexsha": "0ddd0b0941e596d3c6a21b6717d0dd193025f580", "max_stars_repo_licenses": ["Apache-2.0"], "max_st... |
[STATEMENT]
lemma merge_root_if_contr:
"\<lbrakk>\<And>r1 t2 e2. is_subtree (Node r1 {|(t2,e2)|}) t1 \<Longrightarrow> rank (rev r1) \<le> rank (rev (Dtree.root t2));
is_subtree (Node v {|(t2,e2)|}) (merge t1); rank (rev (Dtree.root t2)) < rank (rev v)\<rbrakk>
\<Longrightarrow> Node v {|(t2,e2)|} = merge t1"... | {"llama_tokens": 651, "file": "Query_Optimization_IKKBZ_Optimality", "length": 2} |
! @@name: flush_nolist.1f
! @@type: F-fixed
! @@compilable: yes
! @@linkable: yes
! @@expect: success
SUBROUTINE F1(Q)
COMMON /DATA/ X, P
INTEGER, TARGET :: X
INTEGER, POINTER :: P
INTEGER Q
Q = 1
!$OMP FLUSH
! X, P and Q are flushed
! because they are s... | {"hexsha": "abd7db379d65da3186eca8e5d082b1407ae77f7d", "size": 1650, "ext": "f", "lang": "FORTRAN", "max_stars_repo_path": "test/openmp_examples/sources/Example_flush_nolist.1f.f", "max_stars_repo_name": "kammerdienerb/flang", "max_stars_repo_head_hexsha": "8cc4a02b94713750f09fe6b756d33daced0b4a74", "max_stars_repo_lic... |
# Copyright 2021 Huawei Technologies Co., Ltd
#
# 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... | {"hexsha": "fd89909f53ad85d0bdfba89cf43c7a187fba4225", "size": 5872, "ext": "py", "lang": "Python", "max_stars_repo_path": "official/cv/cspdarknet53/src/utils/var_init.py", "max_stars_repo_name": "leelige/mindspore", "max_stars_repo_head_hexsha": "5199e05ba3888963473f2b07da3f7bca5b9ef6dc", "max_stars_repo_licenses": ["... |
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
import numpy as np
class STN3d(nn.Module):
def __init__(self, args, num_points=2500):
super(STN3d, self).__init__()
self.num_points = num_points
self.args = args
self.conv1 = torch... | {"hexsha": "219d938c540d3afa52dfa7741efaaa61c7ba54b5", "size": 2722, "ext": "py", "lang": "Python", "max_stars_repo_path": "pytorch/models/common.py", "max_stars_repo_name": "lynetcha/completion3d", "max_stars_repo_head_hexsha": "1dc8ffac02c4ec49afb33c41f13dd5f90abdf5b7", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
import os
import random
import dotmap
import numpy as np
from dotmap import DotMap
from collections import OrderedDict
from sklearn.metrics import f1_score
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.utils.data import DataLoader
import torchvision
from src.datasets import datasets
fr... | {"hexsha": "02453879ab4feaef751273c10b5ef96a44639f4c", "size": 31737, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/systems/image_systems.py", "max_stars_repo_name": "ryudrigo/viewmaker", "max_stars_repo_head_hexsha": "336dfdc69a773fa7a2c0bf8cfb8fb5ea202f9231", "max_stars_repo_licenses": ["MIT"], "max_star... |
// Copyright 2021 Peter Dimov
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
#include <boost/core/detail/string_view.hpp>
#include <boost/core/lightweight_test.hpp>
#include <algorithm>
#include <cstddef>
int main()
{
std::size_t const npos = boost::core::st... | {"hexsha": "0e7e974351038c8d061acf351c150b061f871ef8", "size": 36106, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "console/src/boost_1_78_0/libs/core/test/sv_find_last_not_of_test.cpp", "max_stars_repo_name": "vany152/FilesHash", "max_stars_repo_head_hexsha": "39f282807b7f1abc56dac389e8259ee3bb557a8d", "max_sta... |
#!/usr/bin/env julia
using MPI
using PencilArrays
using Random
using Test
MPI.Init()
comm = MPI.COMM_WORLD
rank = MPI.Comm_rank(comm)
Nproc = MPI.Comm_size(comm)
let dev_null = @static Sys.iswindows() ? "nul" : "/dev/null"
rank == 0 || redirect_stdout(open(dev_null, "w"))
end
function test_pencil(pen)
A = ... | {"hexsha": "b31139df98a6347de537ff16b65719a4fb749e73", "size": 1696, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/broadcast.jl", "max_stars_repo_name": "fzhangscorec/PencilArrays.jl", "max_stars_repo_head_hexsha": "25e7ae668f9f3aa46ac7baa86b6a11dbe7f70e3e", "max_stars_repo_licenses": ["MIT"], "max_stars_c... |
# coding=utf-8
# Copyright 2022 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | {"hexsha": "4962e695293ef3e945f9b32a8a10f34c267eac5c", "size": 1137, "ext": "py", "lang": "Python", "max_stars_repo_path": "aux_tasks/synthetic/utils.py", "max_stars_repo_name": "dumpmemory/google-research", "max_stars_repo_head_hexsha": "bc87d010ab9086b6e92c3f075410fa6e1f27251b", "max_stars_repo_licenses": ["Apache-2.... |
import logging
import scipy
from os.path import join as joinpath
from typing import Optional, Dict, List
import numpy as np
from monty.json import MSONable
from monty.serialization import dumpfn
from scipy.ndimage import gaussian_filter1d
from BoltzTraP2 import units
from BoltzTraP2.bandlib import DOS
from amset.do... | {"hexsha": "1217e16551d462ed6b23c55f55fcf0ec0049cc7f", "size": 19698, "ext": "py", "lang": "Python", "max_stars_repo_path": "amset/data.py", "max_stars_repo_name": "Navolo/amset", "max_stars_repo_head_hexsha": "964cf847d777faba9888e934ffe2ac0813ff9c71", "max_stars_repo_licenses": ["BSD-3-Clause-LBNL"], "max_stars_count... |
[STATEMENT]
lemma Max_mid_sums_geq_0: "Max (mid_sums xs) \<ge> 0"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. (0::'a) \<le> Max (mid_sums xs)
[PROOF STEP]
proof-
[PROOF STATE]
proof (state)
goal (1 subgoal):
1. (0::'a) \<le> Max (mid_sums xs)
[PROOF STEP]
have "0 \<in> mid_sums xs"
[PROOF STATE]
proof (prove)
go... | {"llama_tokens": 632, "file": "Maximum_Segment_Sum_Maximum_Segment_Sum", "length": 9} |
using RDatasets, Gadfly
set_default_plot_size(6inch, 3inch)
plot(dataset("car", "SLID"), color="Language", y="Wages",
Geom.histogram(position=:stack, orientation=:horizontal))
| {"hexsha": "cd445c5db2b914af7399d85e51f4996a96a70d7d", "size": 183, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/testscripts/stacked_discrete_histogram_horizontal.jl", "max_stars_repo_name": "UnofficialJuliaMirrorSnapshots/Gadfly.jl-c91e804a-d5a3-530f-b6f0-dfbca275c004", "max_stars_repo_head_hexsha": "d18... |
!***********************************************************************
! *
SUBROUTINE DEFCOR(J)
! *
! Compute the deferred corrections for orbital J . *
!... | {"hexsha": "0a0a85dca909c29766519928948032eb70f3bc78", "size": 2661, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "src/appl/rmcdhf90_mpi/defcor.f90", "max_stars_repo_name": "sylas/grasp-continuum", "max_stars_repo_head_hexsha": "f5e2fb18bb2bca4f715072190bf455fba889320f", "max_stars_repo_licenses": ["MIT"], "... |
import numpy as np
import cv2, warnings
from matplotlib import pyplot as plt
warnings.filterwarnings("error")
########################################### mean method
def mean_threshold(gray):
T=127
mean1=0
mean2=0
h,w = gray.shape
while 1:
c1=c2=count1=count2=0
for i in range(h):
... | {"hexsha": "fdc52ccc5f208f2088b50f00abdca586cc3e9c17", "size": 2268, "ext": "py", "lang": "Python", "max_stars_repo_path": "threshold.py", "max_stars_repo_name": "leonardoandresgaray/wheat-quality-detector-2", "max_stars_repo_head_hexsha": "8dce39befdc2177b7de64e5e711125f9e92ce6fb", "max_stars_repo_licenses": ["MIT"], ... |
#
# Aggregate combinators lifted from Julia functions.
#
function AggregateQuery(fn, argtype::Type, restype::Type, haszero::Bool, q::Query)
@assert method_exists(fn, (argtype,))
@assert fits(domain(output(q)), Domain(argtype))
argq = RecordQuery(q)
sig = AggregateSig(fn, argtype, restype, haszero)
... | {"hexsha": "2fa9e265d88f0aeb95285e9a25fd59d5d3845615", "size": 2381, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "jlnext/src/query/aggregate.jl", "max_stars_repo_name": "rbt-lang/rbt-proto", "max_stars_repo_head_hexsha": "fe621af6bb5bb57f4bb474eefcc21975c34f4497", "max_stars_repo_licenses": ["Apache-2.0", "MIT... |
# Note that this script can accept some limited command-line arguments, run
# `julia build_tarballs.jl --help` to see a usage message.
using BinaryBuilder, Pkg
name = "boost"
version = v"1.76.0"
# Collection of sources required to build boost
sources = [
ArchiveSource("https://boostorg.jfrog.io/artifactory/main/r... | {"hexsha": "212c1597cdd8560338200d20c8670381f3d9d7e3", "size": 5019, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "B/boost/build_tarballs.jl", "max_stars_repo_name": "staticfloat/BinaryBuilderRepos", "max_stars_repo_head_hexsha": "e69f1fbabb1a7318f0dcd23ab85c03733ea593f4", "max_stars_repo_licenses": ["MIT"], "m... |
! Copyright (C) 2021 Atsushi Togo
! All rights reserved.
! This file is part of kspclib.
! 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, ... | {"hexsha": "4c98f60a5f47f022f770d7db19a34d2d38fa8cc5", "size": 8138, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "fortran/kspclib_f08.f90", "max_stars_repo_name": "atztogo/kspclib", "max_stars_repo_head_hexsha": "d842df2cb1a0c5294d184f85e62bcde1c22308a0", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_st... |
from os.path import dirname, join as pjoin
import scipy.io as sio
import numpy as np
import pandas as pd
import sys
import os
import argparse
import shutil
# Globally accessible:
csv_folderpath = os.path.join(sys.path[0], 'csvIndexes')
class ADEIndex():
def __init__(self):
self.image_index = None
self.obj... | {"hexsha": "5aa20b82ed5192d75ba0d7697ce169fdc6d13542", "size": 6134, "ext": "py", "lang": "Python", "max_stars_repo_path": "data/convertMATIndexToCSV.py", "max_stars_repo_name": "chekfung/James_TompGAN", "max_stars_repo_head_hexsha": "a6662fbaa3beef3dee50b72e283985bc106af162", "max_stars_repo_licenses": ["MIT"], "max_s... |
#Weka Simulator
#Uses python to open a CSV file of attributes, and shuffles the 23rd attribute (rec)
#Saves CSV File, opens CSV File in Java.weka
#Runs Random Forrest Classifier on the data, outputs the accuracy and matrixes to a file.
#Rinse and Repeat
import os
import sys
import warnings
#with warnings.catch_warning... | {"hexsha": "e738e1b566dd967fa7865fd122cabfa383fc1599", "size": 4273, "ext": "py", "lang": "Python", "max_stars_repo_path": "WekaChrByChrCV.py", "max_stars_repo_name": "SirLord/MotifCheck3", "max_stars_repo_head_hexsha": "6feee1e518a0ac703acdd8b80ef997b7a1c669ce", "max_stars_repo_licenses": ["CC0-1.0"], "max_stars_count... |
import numpy as np
import unittest
from bayes.vb import *
class ForwardModel:
def __init__(self):
self.xs = np.linspace(0.01, 0.1, 10)
def __call__(self, parameters):
m, c = parameters
return c + self.xs * m
def jacobian(self, parameters):
m, c = parameters
d_dm =... | {"hexsha": "cc9436dd81b5c3a7a09dab51643f647d3d1a4b4f", "size": 3082, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/test_vb.py", "max_stars_repo_name": "BAMresearch/BayesianInference", "max_stars_repo_head_hexsha": "3e0882e0cad82307b44cde96e87c6cee446576ed", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
from pathlib import Path
from typing import Dict, Iterable, Set, Union
from typing import List
import importlib
import datetime
import inspect
import uuid
import json
import os
import re
import networkx as nx
from networkx.algorithms.simple_paths import all_simple_paths
# from model_analysis.analysis import get_max_s... | {"hexsha": "b4d3ee2137a3b234207539b8ce484064e8716ab5", "size": 36482, "ext": "py", "lang": "Python", "max_stars_repo_path": "automates/model_analysis/networks.py", "max_stars_repo_name": "rsulli55/automates", "max_stars_repo_head_hexsha": "1647a8eef85c4f03086a10fa72db3b547f1a0455", "max_stars_repo_licenses": ["Apache-2... |
import numpy as np
import sys
import dlib
import cv2
import os
from os.path import join, basename, splitext
import preprocess.constants as constants
__face_detector = dlib.get_frontal_face_detector()
__face_pose_predictor = dlib.shape_predictor(constants.PREDICTOR_MODEL)
def __get_landmarks(image, face_rect):
pos... | {"hexsha": "b5b7883a74cd5d213dfd660afa52c9ca27cf26bd", "size": 2201, "ext": "py", "lang": "Python", "max_stars_repo_path": "nn_devel/preprocess/image_preprocess.py", "max_stars_repo_name": "mratkovic/NN_face_recognition", "max_stars_repo_head_hexsha": "7add2a5571c7332873cab6d2ab00507fe84727ca", "max_stars_repo_licenses... |
#-----------------------------------#
# LA variation caterpillar plots ----
#-----------------------------------#
library(dplyr)
library(ggplot2)
library(ggsci)
lavar_cat_plot <- function(data, var, var_lbl,pal) {
eval(data)
dat <- data %>%
rename(var_unquo = var) %>%
group_by(la_code) %>%
mutate(... | {"hexsha": "cfa48888a8f2b034434161d24ca8f00521aefbde", "size": 3735, "ext": "r", "lang": "R", "max_stars_repo_path": "Chapter 2/caterpillar_plots.r", "max_stars_repo_name": "RachelPearson/PhD-analyses", "max_stars_repo_head_hexsha": "ee116fa088edc7a3ce486e5262b713fc05985dd3", "max_stars_repo_licenses": ["MIT"], "max_st... |
import numpy as np
import numpy.testing as npt
import pytest
from pulse2percept.models import FadingTemporal
from pulse2percept.stimuli import Stimulus, MonophasicPulse, BiphasicPulse
from pulse2percept.percepts import Percept
from pulse2percept.utils import FreezeError
def test_FadingTemporal():
model = FadingT... | {"hexsha": "2b9011e8ffd146840cb0cc45648ea7e69ffc58bf", "size": 1948, "ext": "py", "lang": "Python", "max_stars_repo_path": "pulse2percept/models/tests/test_temporal.py", "max_stars_repo_name": "pulse2percept/pulse2percept", "max_stars_repo_head_hexsha": "67e0f2354db5ebe306b617f7f78a9ea8c02327ac", "max_stars_repo_licens... |
[STATEMENT]
lemma distance_refl[simp]: "\<delta> s s = 0"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. \<delta> s s = 0
[PROOF STEP]
using shortest_path_least[of s "[]" s]
[PROOF STATE]
proof (prove)
using this:
path s [] s \<Longrightarrow> \<delta> s s \<le> sum_list []
goal (1 subgoal):
1. \<delta> s s = 0
[P... | {"llama_tokens": 147, "file": "Prim_Dijkstra_Simple_Directed_Graph", "length": 2} |
import CA
from numpy.random import binomial, uniform
import matplotlib.pyplot as plt
def life_game_rule(k):
cur = k[len(k)/2]
t = k.sum() - cur
if cur >= .5:
if 2 <= t < 4:
return 1.0
#2.0,3.0 funny pattern
else:
return cur/2.0
# return cur/2.000000001
#t... | {"hexsha": "503fd7639332918dde864c008207b447e743fc06", "size": 788, "ext": "py", "lang": "Python", "max_stars_repo_path": "CI/CA/Lifegame_real.py", "max_stars_repo_name": "PiscesDream/Ideas", "max_stars_repo_head_hexsha": "9ba710e62472f183ae4525f35659cd265c71392e", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_... |
import numpy as np
import pandas as pd
from sklearn.preprocessing import StandardScaler
import dimod
df = pd.read_csv("protac_cleaned.csv")
df = df.drop(df[ df["DC50 (nM)"] > 30000].index)
y = np.log2(df["DC50 (nM)"])
df = df.drop(["DC50 (nM)"],axis=1)
scaler = StandardScaler()
X = scaler.fit_trans... | {"hexsha": "4130586207fc25163f40955c7ffaf2e13dc966bd", "size": 1019, "ext": "py", "lang": "Python", "max_stars_repo_path": "quantum_regression/protac_linear_regression.py", "max_stars_repo_name": "jt667/protac", "max_stars_repo_head_hexsha": "94eecd9b8deec0a9745d1b49f8f875d71798c6b1", "max_stars_repo_licenses": ["Apach... |
import numpy as np
""" PI PINOUTS """
SHOCK_PIN = 4 # OUTPUT
LED_PINS = [15, 27] # OUTPUT
SENSE_PINS = [26, 20, 13, 6, 5, 16, 12, 23] # INPUT
""" OPERATION PARAMETERS """
saveimg_path = '/home/pi/imgs'
window_update_hz = 25
window_size_s = 4
led_strobe_hz = 10
"""... | {"hexsha": "e31b5b989c3ac43ef0bd8076cc3950ec9374f52d", "size": 2963, "ext": "py", "lang": "Python", "max_stars_repo_path": "python/Config.py", "max_stars_repo_name": "DDeGonge/LearnToTypeBot", "max_stars_repo_head_hexsha": "9a0f6567acd3082b5bd8dba2169505ca1ce23ee0", "max_stars_repo_licenses": ["MIT"], "max_stars_count"... |
/**
* @file FEMesh.hpp
* @brief The finite element mesh for a line.
* @author Francois Roy
* @date 01/06/2020
*/
#ifndef FEMESH_H
#define FEMESH_H
#include <stdexcept>
#include <vector>
#include <Eigen/Core>
#include "spdlog/spdlog.h"
#include "utils/Utils.hpp"
namespace numerical {
... | {"hexsha": "eb40c1d9701f749f71e610fac66d2bd836c92886", "size": 3550, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "numerical/fem/FEMesh.hpp", "max_stars_repo_name": "frRoy/Numerical", "max_stars_repo_head_hexsha": "97e2167cf794eceaeba395bb1958fee72d8cbecf", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
# coding: utf-8
# In[1]:
#bloom filter is a space-efficient probabilistic data structure
#it is commonly used for query in large dataset
#the query can possibly return false positive matches but never false negative matches
#the workflow is very straight forward
#for each string in the database, it has to go throug... | {"hexsha": "67720170a53b57238f5107b233193478d3157795", "size": 3878, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "bloom filter.jl", "max_stars_repo_name": "je-suis-tm/search-and-sort", "max_stars_repo_head_hexsha": "822bbb1c53ac8ed6c244a18bd4ee03fcc577438e", "max_stars_repo_licenses": ["Apache-2.0"], "max_star... |
'''
.. codeauthor:: David Zwicker <david.zwicker@ds.mpg.de>
'''
import glob
import os
import subprocess as sp
from pathlib import Path
from typing import List # @UnusedImport
from tempfile import NamedTemporaryFile
import pytest
import numba as nb
from ..tools.misc import module_available, skipUnlessModule
PACKA... | {"hexsha": "dd5e976d51ba7af6d6b842b4c1ca97545d84bcc5", "size": 2421, "ext": "py", "lang": "Python", "max_stars_repo_path": "pde/tests/test_examples.py", "max_stars_repo_name": "xuanxu/py-pde", "max_stars_repo_head_hexsha": "de33d938aea8680eff872ae1b64569895662a248", "max_stars_repo_licenses": ["MIT"], "max_stars_count"... |
\documentclass[a4paper,12pt]{article}
%\documentclass[a4paper,12pt]{scrartcl}
\usepackage{xltxtra}
\input{../preamble.tex}
% \usepackage[spanish]{babel}
% \setromanfont[Mapping=tex-text]{Linux Libertine O}
% \setsansfont[Mapping=tex-text]{DejaVu Sans}
% \setmonofont[Mapping=tex-text]{DejaVu Sans Mono}
\title{Homew... | {"hexsha": "afa509f8e41d1701f3c4bba68815afe26de25402", "size": 2247, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "hw10_IsaacAyala.tex", "max_stars_repo_name": "der-coder/CINVESTAV-Mathematics-II-2020", "max_stars_repo_head_hexsha": "ccd3364818c673f7a6bf13d495004034d2c6ecc0", "max_stars_repo_licenses": ["MIT"], ... |
export WLS, RandomCascade
using Wavelets, Statistics
"""
WLS(shufflemethod::Surrogate = IAAFT();
f::Union{Nothing, Function} = Statistics.cor,
rescale::Bool = true,
wt::Wavelets.WT.OrthoWaveletClass = Wavelets.WT.Daubechies{16}())
A wavelet surrogate generated by the following procedure:
... | {"hexsha": "c80320367c9927e3b513229f4f69e4809f5af303", "size": 13615, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/methods/wavelet_based.jl", "max_stars_repo_name": "kahaaga/TimeseriesSurrogates.jl", "max_stars_repo_head_hexsha": "d96f32cc4501b3e2b4a07c54af23b75a1e6d6033", "max_stars_repo_licenses": ["MIT"... |
function jed = epoch_to_jed_ethiopian ( )
%*****************************************************************************80
%
%% EPOCH_TO_JED_ETHIOPIAN returns the epoch of the Ethiopian calendar as a JED.
%
% Licensing:
%
% This code is distributed under the GNU LGPL license.
%
% Modified:
%
% 14 June 2012
%
%... | {"author": "johannesgerer", "repo": "jburkardt-m", "sha": "1726deb4a34dd08a49c26359d44ef47253f006c1", "save_path": "github-repos/MATLAB/johannesgerer-jburkardt-m", "path": "github-repos/MATLAB/johannesgerer-jburkardt-m/jburkardt-m-1726deb4a34dd08a49c26359d44ef47253f006c1/calpak/epoch_to_jed_ethiopian.m"} |
from tqdm import tqdm
import random
import os
import numpy as np
import subprocess
import shlex
import sys
import torch
from pytorch_pretrained_bert import BertTokenizer, BertModel, BertForMaskedLM, BertForSequenceClassification, BertForNextSentencePrediction
from pytorch_pretrained_bert.optimization import BertAdam... | {"hexsha": "bbc6df7afe0297e667e77986a3321d1cd4bad22d", "size": 12080, "ext": "py", "lang": "Python", "max_stars_repo_path": "util.py", "max_stars_repo_name": "HTAustin/BERT-Fine_tune", "max_stars_repo_head_hexsha": "0034fd43672549860e15222f8d0f2af33ec0467d", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, ... |
#install.packages('rJava', type='mac.binary')
#install.packages('xlsx', type='mac.binary')
{
library("xlsx")
#Устанавливаем директорию
setwd("/Users/georgiydemo/Projects/FA/Course II/R/Diksi/analytics")
#Цикл по каждому товару. Надеемся на то, что во всех магазах одинаковые товары
goods.table <- read.ta... | {"hexsha": "f3a6e57c84eaa8dcea2c181534ebc47ec74db8f2", "size": 23006, "ext": "r", "lang": "R", "max_stars_repo_path": "Course II/R/Diksi/code/table.r", "max_stars_repo_name": "GeorgiyDemo/FA", "max_stars_repo_head_hexsha": "641a29d088904302f5f2164c9b3e1f1c813849ec", "max_stars_repo_licenses": ["WTFPL"], "max_stars_coun... |
#****************************************************************************
# Molecular Dynamics Potentials (MDP)
# CESMIX-MIT Project
#
# Contributing authors: Ngoc-Cuong Nguyen (cuongng@mit.edu, exapde@gmail.com)
#********************... | {"hexsha": "ca30bd97f1cde783c5b9b789807547d7163f8415", "size": 1285, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/Julia/Preprocessing/readweight.jl", "max_stars_repo_name": "cesmix-mit/MDP", "max_stars_repo_head_hexsha": "746e4f4aead5911ddeda77b0d2c117e3b70cc5c4", "max_stars_repo_licenses": ["MIT"], "max_s... |
# coding: utf-8
#
# Project: Azimuthal integration
# https://github.com/silx-kit/pyFAI
#
# Copyright (C) 2015-2021 European Synchrotron Radiation Facility, Grenoble, France
# Copyright (C) 2016 Synchrotron SOLEIL - L'Orme des Merisiers Saint-Aubin
#
# Permission is hereby granted, free of char... | {"hexsha": "493acc02d54a5c47f6c147f524992ded6b2becde", "size": 13210, "ext": "py", "lang": "Python", "max_stars_repo_path": "pyFAI/multi_geometry.py", "max_stars_repo_name": "tacaswell/pyFAI", "max_stars_repo_head_hexsha": "fd63c7d9ba35e687ef5c4ec717c01bf46564572a", "max_stars_repo_licenses": ["MIT"], "max_stars_count"... |
from ipapi.tools.folders import ipso_folders
from uuid import uuid4
import json
from datetime import datetime as dt
from timeit import default_timer as timer
import itertools
from typing import Union
import logging
import csv
import os
import numpy as np
from ipapi.base.ipt_abstract import IptParam, IptB... | {"hexsha": "1c413e7446013f7c9550b5712aa532c73dabe03e", "size": 62599, "ext": "py", "lang": "Python", "max_stars_repo_path": "ipapi/base/ipt_loose_pipeline.py", "max_stars_repo_name": "tpmp-inra/ipso_cli", "max_stars_repo_head_hexsha": "6de4097dcb1536b546d9e2cdeb61057e5f931537", "max_stars_repo_licenses": ["MIT"], "max_... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu May 7 23:49:10 2020
@author: prateek
contourplot of discriminant in beta_0-Lambda_T plane
"""
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import colors
plt.rc('lines', linewidth=3, color='r')
plt.rcParams.update({'font.size': 1... | {"hexsha": "e12692c5fe2cd2ea681a43bbd916cf02d46816c2", "size": 2154, "ext": "py", "lang": "Python", "max_stars_repo_path": "discriminant_contour_MHD.py", "max_stars_repo_name": "dutta-alankar/cooling-flow-model", "max_stars_repo_head_hexsha": "d3aed3c0ab9d976f7552b658e08e4f01046dff32", "max_stars_repo_licenses": ["MIT"... |
"""
This module contains the core implementation of linear SFA.
"""
import warnings
import numpy as np
from sklearn.base import BaseEstimator, ClassifierMixin, TransformerMixin
from sklearn.decomposition import PCA, IncrementalPCA
from sklearn.utils.validation import check_array
from scipy.sparse import issparse
from s... | {"hexsha": "5efc243b3500f0571155c163e188cdb5c010b235", "size": 15315, "ext": "py", "lang": "Python", "max_stars_repo_path": "sksfa/_sfa.py", "max_stars_repo_name": "sbhakat/sklearn-sfa", "max_stars_repo_head_hexsha": "464fca99160121881ff90525f7eaa2f96079e3a6", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars_cou... |
import numpy as _np
import torch as _torch
def safe_concat(large, small):
r"""
Safely concat two slightly unequal tensors.
"""
diff = _np.array(large.shape) - _np.array(small.shape)
diffa = _np.floor(diff / 2).astype(int)
diffb = _np.ceil(diff / 2).astype(int)
t = None
if len(large.sh... | {"hexsha": "018c8affb56a67714484cd4d8ccafb745e35c9dc", "size": 1131, "ext": "py", "lang": "Python", "max_stars_repo_path": "easytorch/utils/tensorutils.py", "max_stars_repo_name": "sraashis/quenn", "max_stars_repo_head_hexsha": "4bc6b7aca7ed13bed3502d0d5f2ea1a4c839bb41", "max_stars_repo_licenses": ["MIT"], "max_stars_c... |
module BIVARInterfaceModule
!> @file BIVARParticlesInterface.f90
!> Interface and workspace for interpolation of LPM data by the BIVAR package.
!> @author Peter Bosler, Sandia National Laboratories Center for Computing Research
!>
!>
!> @defgroup BIVARInterface BIVARInterface
!> Interface and workspace for interpolati... | {"hexsha": "6ccfaa4a1e5ad057c33e9a80073535c421892cec", "size": 9725, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "src/BIVARParticlesInterface.f90", "max_stars_repo_name": "pbosler/lpm-v2", "max_stars_repo_head_hexsha": "b562c5c942b5e29cef4cfc4f85c0b1341cae690b", "max_stars_repo_licenses": ["MIT"], "max_star... |
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include <boost/test/unit_test.hpp>
#include "armnnCaffeParser/ICaffeParser.hpp"
#include "ParserPrototxtFixture.hpp"
BOOST_AUTO_TEST_SUITE(CaffeParser)
struct DropoutFixture : public ParserP... | {"hexsha": "16f2c2728cba650ed107169e842ad6f948d3b0ee", "size": 1361, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "src/armnnCaffeParser/test/TestDropout.cpp", "max_stars_repo_name": "Air000/armnn_s32v", "max_stars_repo_head_hexsha": "ec3ee60825d6b7642a70987c4911944cef7a3ee6", "max_stars_repo_licenses": ["MIT"], ... |
import torch
import torch.nn as nn
import torch.nn.functional as F
from operations import *
from torch.autograd import Variable
from genotypes import PRIMITIVES
import numpy as np
from thop import profile
from matplotlib import pyplot as plt
from thop import profile
from quantize import QConv2d, QLinear
... | {"hexsha": "5747e46dae6ecba8b960b03ca2ca0698877d46ae", "size": 7370, "ext": "py", "lang": "Python", "max_stars_repo_path": "model_search.py", "max_stars_repo_name": "RICE-EIC/InstantNet", "max_stars_repo_head_hexsha": "e381bde7ecc18407e84ab3c66e048b8a7e32dc47", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 3, ... |
"""chain module.
This module contains information about a depletion chain. A depletion chain is
loaded from an .xml file and all the nuclides are linked together.
"""
from io import StringIO
from itertools import chain
import math
import re
from collections import OrderedDict, defaultdict
from collections.abc import... | {"hexsha": "960cf0645679b5f4c06c20b4adbd4ef1f0d573f1", "size": 35624, "ext": "py", "lang": "Python", "max_stars_repo_path": "openmc/deplete/chain.py", "max_stars_repo_name": "ypark234/openmc", "max_stars_repo_head_hexsha": "571ed3b6ab449e555fc9c8452106425d26b19bd3", "max_stars_repo_licenses": ["MIT"], "max_stars_count"... |
[STATEMENT]
lemma quasinorm_subset_zero_space:
assumes "N1 \<subseteq>\<^sub>N N2"
shows "zero_space\<^sub>N N1 \<subseteq> zero_space\<^sub>N N2"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. zero_space\<^sub>N N1 \<subseteq> zero_space\<^sub>N N2
[PROOF STEP]
using assms
[PROOF STATE]
proof (prove)
using this... | {"llama_tokens": 326, "file": "Lp_Functional_Spaces", "length": 3} |
[STATEMENT]
lemma omega_n_star:
"x\<^sup>\<omega> \<squnion> n(x\<^sup>\<star>) * top \<le> x\<^sup>\<star> * n(x\<^sup>\<omega>) * top"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. x\<^sup>\<omega> \<squnion> n (x\<^sup>\<star>) * top \<le> x\<^sup>\<star> * n (x\<^sup>\<omega>) * top
[PROOF STEP]
proof -
[PROO... | {"llama_tokens": 976, "file": "Correctness_Algebras_Recursion_Strict", "length": 9} |
#pragma once
#include <boost/filesystem/path.hpp>
#include <memo/silo/Key.hh>
#include <memo/silo/Silo.hh>
namespace memo
{
namespace silo
{
class Filesystem
: public Silo
{
public:
Filesystem(boost::filesystem::path root,
boost::optional<int64_t> capacity = {});
st... | {"hexsha": "881f90b79d68cdb754684db145e37b5c9a5d2c4e", "size": 1310, "ext": "hh", "lang": "C++", "max_stars_repo_path": "src/memo/silo/Filesystem.hh", "max_stars_repo_name": "infinit/memo", "max_stars_repo_head_hexsha": "3a8394d0f647efe03ccb8bfe885a7279cb8be8a6", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_co... |
\documentclass[9pt, parskip=full]{orbit-cv}
\urlstyle{rm}
\begin{document}
%%%%%%%
%% Lists
%%%%%%%
% An itemize-style list with little space between items
\newenvironment{innerlist}[1][\enskip\textbullet]%
{\begin{itemize}[#1,leftmargin=*,parsep=0pt,itemsep=3pt,topsep=1pt,partopsep=1pt]}
{\end{item... | {"hexsha": "1539994fe96e2e5b4fc6ed7452a0f19ee8cadd28", "size": 9107, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "stevebronder-cv.tex", "max_stars_repo_name": "SteveBronder/resume", "max_stars_repo_head_hexsha": "0c6868c26f6f12a5ee1a00c26d9acec3489a6e4d", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1... |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Copyright (c) 2020 Advanced Micro Devices, Inc.
!
! 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 res... | {"hexsha": "b11fadca0f58bfd2057abf4e568eb06c894106ac", "size": 485193, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "library/include/rocblas_module.f90", "max_stars_repo_name": "aazz44ss/rocBLAS", "max_stars_repo_head_hexsha": "fdf7ed2db0aa6b60d1059d0a163527cfcc1c4ad7", "max_stars_repo_licenses": ["MIT"], "m... |
import threading
import time
import pickle
from concurrent.futures import ThreadPoolExecutor, ProcessPoolExecutor
import os
import signal
from itertools import islice
import sys
import random
import numpy as np
import random, string
import time, sys
import datetime
import traceback
import argparse
from io import SEEK_E... | {"hexsha": "b47f356437df8aed7b6a40097b6b3e0dd5a6d05e", "size": 15058, "ext": "py", "lang": "Python", "max_stars_repo_path": "small_ds/ngram_ds_extract_counts_year_wise_mood_wise_with_pos.py", "max_stars_repo_name": "numberonewastefellow/projects", "max_stars_repo_head_hexsha": "b33f826930ef3e98165c267f34c7ea550853f2df"... |
# -*- coding: utf-8 -*-
"""
Helper functions to load, process, augment and save facedetection dataset.
Created on Mon Jun 6 12:55:20 2016
@author: rbodo
"""
# For compatibility with python2
from __future__ import division, absolute_import
from __future__ import print_function, unicode_literals
import os
import nu... | {"hexsha": "5ea5308f8c4b28a23223e71a32a1c4678f21f7df", "size": 4858, "ext": "py", "lang": "Python", "max_stars_repo_path": "scripts/dataset_io/load/facedetection.py", "max_stars_repo_name": "embeddedlabsiu/snn_exploration_spinnaker", "max_stars_repo_head_hexsha": "5cde5f4c705719058bc0b913f2353eac3bd580b3", "max_stars_r... |
####################################
####################################
type PSF
nu::Array{Float64}
nu0::Float64
mypsf::Array{Float64}
mypsfadj::Array{Float64}
end
type SKY
sky::Array{Float64}
alpha::Array{Float64}
sig::Float64
var::Float64
noise::Array{Float64}
mydata::Array{... | {"hexsha": "39037a2fb802b44e2c3c78db96060ff49ca99e78", "size": 3235, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/muffintype.jl", "max_stars_repo_name": "youcef4k/muffin.jl", "max_stars_repo_head_hexsha": "64f05c33b5507e910881f6f2c95865b92e8aaa42", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 2, ... |
classdef SSC_NN_OMP < handle
% Implements sparse subspace clustering algorithm using OMP algorithm
properties
Quiet = false
end
properties(SetAccess=private)
% Dimension of signal space
N
% Number of signals in the space
S
% A matrix of size NxS where ea... | {"author": "indigits", "repo": "sparse-plex", "sha": "43cae2978f62938d001baaa03308a2a717ee6c9b", "save_path": "github-repos/MATLAB/indigits-sparse-plex", "path": "github-repos/MATLAB/indigits-sparse-plex/sparse-plex-43cae2978f62938d001baaa03308a2a717ee6c9b/library/+spx/+cluster/+ssc/SSC_NN_OMP.m"} |
# Import scikit-learn dataset library
from sklearn import datasets, metrics, preprocessing, svm, naive_bayes
from sklearn.model_selection import train_test_split
from sklearn.naive_bayes import GaussianNB
# Pipeline related stuff
from sklearn.pipeline import Pipeline
from sklearn.impute import SimpleImputer
from sklea... | {"hexsha": "e5485f1e0dc5848d9a2feab3e0d4971766d308ad", "size": 7555, "ext": "py", "lang": "Python", "max_stars_repo_path": "naive-bayes.py", "max_stars_repo_name": "bhadaur1/scikit-datacamp", "max_stars_repo_head_hexsha": "b35d7a27e456d845a5771cfe86e14e6879bf0724", "max_stars_repo_licenses": ["BSD-2-Clause"], "max_star... |
wd <- "/home/eric/Desktop/MXelsCalendGovt/reelec/presentations/"
setwd(wd)
# data prep (summary of calendarios reelección)
firstElecs <- data.frame(
yr=2014:2024,
df= c(0,0,0,0, 0,0,0,1,0,0,0),
sen= c(0,0,0,0, 0,0,0,0,0,0,1),
dl= c(0,0,0,1,24,3,0,4,0,0,0),
ay= c(0,0,0,0,22,3,0,3,0,0,2),
... | {"hexsha": "11f192d26965078a9a1b9aabb7c05bb0923a4386", "size": 9364, "ext": "r", "lang": "R", "max_stars_repo_path": "presentations/plots.r", "max_stars_repo_name": "emagar/reelec", "max_stars_repo_head_hexsha": "7f2793f55e5dd705e1a7ca0b953797de50929b2a", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "ma... |
-- monadic computations
-- (contributed by Vivian McPhail)
import Numeric.LinearAlgebra
import Control.Monad.State.Strict
import Control.Monad.Maybe
import Foreign.Storable(Storable)
import System.Random(randomIO)
-------------------------------------------
-- an instance of MonadIO, a monad transformer
type VectorM... | {"hexsha": "7c6e0f4279f910a99d02f572b79054026591ec77", "size": 3574, "ext": "hs", "lang": "Haskell", "max_stars_repo_path": "benchmarks/hmatrix-0.15.0.1/examples/monadic.hs", "max_stars_repo_name": "curiousleo/liquidhaskell", "max_stars_repo_head_hexsha": "a265c044159480b3ddedbbf4982736a33ec8872c", "max_stars_repo_lice... |
Inductive type := VarT | SeqT | ParT | BoxT | UnT.
| {"author": "monstrencage", "repo": "AtomicCKA", "sha": "3d6208f18f247db91d9fca7bcafd0c78b205dc52", "save_path": "github-repos/coq/monstrencage-AtomicCKA", "path": "github-repos/coq/monstrencage-AtomicCKA/AtomicCKA-3d6208f18f247db91d9fca7bcafd0c78b205dc52/types_of_bsp.v"} |
#%%
import os
import cv2
dirs = os.listdir("../data/test/images/")
fn = dirs[0]
# %%
cv2.imread("../data/test/images/" + fn, cv2.IMREAD_COLOR)
# %%
latest_path = "../cls_KD_1610592762_best_best"
dirs = os.listdir(latest_path)
fn = dirs[0]
x = cv2.imread(latest_path + "/" + fn, cv2.IMREAD_COLOR)
x
# %%
latest_path = ".... | {"hexsha": "025ac20d362def8ffd4d81c062b9ca582baf2595", "size": 3569, "ext": "py", "lang": "Python", "max_stars_repo_path": "inference_src/select_examples.py", "max_stars_repo_name": "JinhuaSu/xview2_1st_place_solution", "max_stars_repo_head_hexsha": "6c653f2779d1780d70c2bb94fa41a3430e20ac3b", "max_stars_repo_licenses":... |
from heapq import heappush, heappop
import itertools
import math
import os
import sys
from contexttimer import Timer
import matplotlib.pyplot as plt
import networkx as nx
import PIL
def load_image(file_path):
image = PIL.Image.open(file_path)
rgb_image = image.convert('RGB')
pixels = rgb_image.load()
... | {"hexsha": "c4c8f99f5876328acef7eebed4c93c927cdd67f4", "size": 8204, "ext": "py", "lang": "Python", "max_stars_repo_path": "imgdist.py", "max_stars_repo_name": "bazadactyl/image-distance", "max_stars_repo_head_hexsha": "1b0be5126f7abdf11e988433d0993500fafae6ce", "max_stars_repo_licenses": ["Unlicense"], "max_stars_coun... |
function s=sss(n_id_1,n_id_2,slot_num);
% s=sss(n_id_1,n_id_2,slot_num);
%
% Return the sss for slot slot_num for the specified n_id_1 and n_id_2.
%
% s is of length 62 and only includes the non-zero subcarriers. The calling
% function must insert the DC subcarrier and the 5 zero subcarriers that
% surround the sss.
... | {"author": "JiaoXianjun", "repo": "rtl-sdr-LTE", "sha": "037a25f164f17b1a1d82e2eb02285550f50af9b9", "save_path": "github-repos/MATLAB/JiaoXianjun-rtl-sdr-LTE", "path": "github-repos/MATLAB/JiaoXianjun-rtl-sdr-LTE/rtl-sdr-LTE-037a25f164f17b1a1d82e2eb02285550f50af9b9/matlab/sss.m"} |
#This file contains all the tests of the Utils Functions
using Base.Test
include("LoadUtils.jl")
@testset "Utility Functions Test" begin
@test datetime2modifiedjulian(DateTime(2016,1,1,0,0,5,0)) == datetime2modifiedjulian(DateTime(2016,1,1,0,0,0,0),5)
end
##Examples
#x = [0 pi/4 pi/2 3*pi/4 pi 5*pi/4 6*pi/4 7... | {"hexsha": "f554be5624a5a35adefff1cdfc318acb0a7c1ab0", "size": 518, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/utils/TestUtils.jl", "max_stars_repo_name": "Brinky5678/FlightSimulator", "max_stars_repo_head_hexsha": "630d04c83efca52470f3624c4559f539c47a5b35", "max_stars_repo_licenses": ["MIT"], "max_stars... |
module Numeric.Physics.Particle where
import Numeric.LinearAlgebra.Vector
data Particle a = Particle
{ pPos :: !(Vec3 a) -- ^ Position of particle in the world
, pVel :: !(Vec3 a) -- ^ Velocity of particle
, pAcc :: !(Vec3 a) -- ^ Acceleration of particle
, pDamp :: !a -- ^ damping facto... | {"hexsha": "d54f3e97c512044afd5f1c2e55ad3bd646dfdfed", "size": 1035, "ext": "hs", "lang": "Haskell", "max_stars_repo_path": "src/Numeric/Physics/Particle.hs", "max_stars_repo_name": "dagit/physics", "max_stars_repo_head_hexsha": "aa29ad9b50a3c8a3a5cecd76b8dcb9cdafd53b57", "max_stars_repo_licenses": ["BSD-3-Clause"], "m... |
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
epsilon = 1e-6
LOG_SIG_MAX = 20
LOG_SIG_MIN = -2
class MlpPolicy(nn.Module):
def __init__(self, action_size=4, input_size=20, n = 64):
super(MlpPolicy, self).__init__()
self.action_siz... | {"hexsha": "7f21128bebf968463ea0b1f8e74f0517959500c2", "size": 6525, "ext": "py", "lang": "Python", "max_stars_repo_path": "dump/ppo.py", "max_stars_repo_name": "SINGROUP/Atom_manipulation_with_RL", "max_stars_repo_head_hexsha": "428e05459ed395f1a5fc00a7c65a9b0c26210ee8", "max_stars_repo_licenses": ["MIT"], "max_stars_... |
# -*- coding: UTF-8 -*-
"""
此脚本用于展示利用谱聚类进行图片分割
"""
import os
import numpy as np
import scipy as sp
import matplotlib.pyplot as plt
from sklearn.feature_extraction import image
from spectral import spectral_clustering
def read_img(path):
"""
读取图片,并将其转换为邻接矩阵
"""
# 对于彩色照片,只使用其中一个维度的色彩
im = sp.misc... | {"hexsha": "d4de10fd9d42cfd890dcfbd57c7cc3ac2e7bc710", "size": 1557, "ext": "py", "lang": "Python", "max_stars_repo_path": "ch10-unsupervised/clustering/spectral_clustering/photo_segmentation.py", "max_stars_repo_name": "skforest/intro_ds", "max_stars_repo_head_hexsha": "478a6b236c2e33c4baffec8aafa8e0a8ed68dca8", "max_... |
import ignore
import tensorflow as tf
import numpy as np
data = np.loadtxt('./data.csv', delimiter=',', unpack=True, dtype='float32')
x_data = np.transpose(data[0:2])
y_data = np.transpose(data[2:])
# 신경망 모델 구성
global_step = tf.Variable(0, trainable=False, name='global_step')
X = tf.placeholder(tf.float32)
Y = tf.p... | {"hexsha": "544eab4f079e4f1885a0418e8f5e73cca48f6c4d", "size": 2236, "ext": "py", "lang": "Python", "max_stars_repo_path": "use_tensorboard.py", "max_stars_repo_name": "kiseonjeong/tensorflow-v1.x-ml", "max_stars_repo_head_hexsha": "5b5636672eb5bdc67f1a3272614d79bdb1717ee1", "max_stars_repo_licenses": ["MIT"], "max_sta... |
import schnetpack as spk
import torch.nn as nn
import torch
import numpy as np
def force_weigth(target_energies, energy_cutoff=0.02):
# Get the differences
delta_e = (target_energies[:, :, None] - target_energies[:, None, :]) ** 2
# Mask the same states
delta_e[:, torch.eye(target_energies.shape[1]) ... | {"hexsha": "83986f979f9b6659b1e5bf7bf3cb11a108505bc4", "size": 23071, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/schnarc/nn.py", "max_stars_repo_name": "smausenberger/SchNarc", "max_stars_repo_head_hexsha": "727dedf300aa79c01217822c3a9a4f4ae96ede60", "max_stars_repo_licenses": ["MIT"], "max_stars_count"... |
# -*- coding: utf-8 -*-
"""
Created on Fri May 22 13:25:19 2020
@author: Suman
"""
# Importing the libraries
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras.preprocessing.image import ImageDataGenerator,load_img,img_to_array
from tensorflow.keras.layers import Dense, Input, Dropout... | {"hexsha": "ff533687c444acf422138f3cd30986b12edb807a", "size": 3894, "ext": "py", "lang": "Python", "max_stars_repo_path": "facial_expression.py", "max_stars_repo_name": "sahasuman343/Facial-Expression-recognizer", "max_stars_repo_head_hexsha": "40cdf6cca90ea96a3e0a1648e81a49a3dad4c7ae", "max_stars_repo_licenses": ["MI... |
#ifndef WEBSOCKET_SERVER_ASIOFWD_HH
#define WEBSOCKET_SERVER_ASIOFWD_HH
#include <boost/asio/ts/netfwd.hpp>
/// Forward declarations
namespace boost {
namespace asio {
namespace ssl {
class context;
}
} // namespace asio
namespace beast {
namespace http {
}
namespace websocket {
}
} // namespace beast
} // namespace ... | {"hexsha": "ce31682700ec462ab82d2c384361ce6afff28452", "size": 604, "ext": "hh", "lang": "C++", "max_stars_repo_path": "src/websocket_server/asiofwd.hh", "max_stars_repo_name": "3n16m4/websocket-server", "max_stars_repo_head_hexsha": "5b6575bbd459feeef459b20a093ada3fd9d035e5", "max_stars_repo_licenses": ["MIT"], "max_s... |
import numpy as np
import torch
import torch.nn as nn
from torchnet.logger import VisdomPlotLogger
from .utils import (visual_log, classification_accuracy, create_model_info,
weights_init)
def train_torch_model(network, config, data_iterator, new_weights=False):
"""Main function to run the opt... | {"hexsha": "c1635aa26e5058c0ce0af58bb92ebb156dd43846", "size": 4650, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/models/torch_models.py", "max_stars_repo_name": "srisadhan/emg-classification", "max_stars_repo_head_hexsha": "92b91ba0f2d1da3a5dd5f1d0bcc0d196c6325191", "max_stars_repo_licenses": ["MIT"], "m... |
! { dg-do compile }
! { dg-options "-O2 -fno-tree-dominator-opts -fdump-tree-pre" }
module test
type shell1quartet_type
integer(kind=kind(1)) :: ab_l_sum
integer(kind=kind(1)), dimension(:), pointer :: ab_form_3dints_x_indices => NULL()
integer(kind=kind(1)), dimension(:), pointer :: ab_form_3dints_yz_rms... | {"hexsha": "130d114462c75d33455c20f759e0ba2fbd8a7360", "size": 1457, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "validation_tests/llvm/f18/gfortran.dg/pr43984.f90", "max_stars_repo_name": "brugger1/testsuite", "max_stars_repo_head_hexsha": "9b504db668cdeaf7c561f15b76c95d05bfdd1517", "max_stars_repo_license... |
# -*- coding: utf-8 -*-
"""
@author: Tobias
Timo
Beschreibung:
Implementierung des bilinearen Modells zur Simulation der Hirnaktivität als Reaktion
auf einen äußeren Stimulus
Funktionsweise:
Die Zustandgleichungen werden mit dem RK4 oder Eulerverfahren gelöst. Um eine Simulation zu starten, müssen folgende S... | {"hexsha": "0e297b2c95c4f81d337027512d3154e1afab7019", "size": 913, "ext": "py", "lang": "Python", "max_stars_repo_path": "DCM/programs/bilinearModel.py", "max_stars_repo_name": "l-althueser/NiMoNa_DCM16", "max_stars_repo_head_hexsha": "d93ee253ade8ccb4da1f17a91f064258adcf29c0", "max_stars_repo_licenses": ["BSD-2-Claus... |
! Based on version found in PySIT
! https://github.com/pysit/pysit/blob/master/pysit/solvers/constant_density_acoustic/time/scalar/constant_density_acoustic_time_scalar_2D_4.h
module scalar2d
implicit none
contains
subroutine step(f1, f2, phix1, phix2, phiy1, phiy2, sigmax, &
... | {"hexsha": "9fff31818ab12a4f66ec5824fa244cb370c40bac", "size": 14318, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "smii/modeling/propagators/scalar2d.f90", "max_stars_repo_name": "ar4/smii", "max_stars_repo_head_hexsha": "b7eee03f2a4c8f56f6dde61738e8aa1090621ba3", "max_stars_repo_licenses": ["MIT"], "max_st... |
# Copyright (c) 2020 fortiss GmbH
#
# Authors: Julian Bernhard, Klemens Esterle, Patrick Hart and
# Tobias Kessler
#
# This work is licensed under the terms of the MIT license.
# For a copy, see <https://opensource.org/licenses/MIT>.
import unittest
import os
import numpy as np
from bark.runtime.scenario.scenario_gen... | {"hexsha": "e69e1955a31be1a941ed6fe1376eebc71453528e", "size": 4734, "ext": "py", "lang": "Python", "max_stars_repo_path": "bark/models/tests/py_behavior_model_test.py", "max_stars_repo_name": "RdecKa/bark", "max_stars_repo_head_hexsha": "4aa4c901417e3a2c97050894ec61fcb57cc94e6e", "max_stars_repo_licenses": ["MIT"], "m... |
import core
import context
context.get()
import magSonify
import datetime
import matplotlib.pyplot as plt
import matplotlib
import matplotlib.axes
import numpy as np
from magSonify.sonificationMethods.paulstretch_mono import paulstretch
### Parameters ###
stretch = 2
scan = -64 # Allows shifting the start of the in... | {"hexsha": "bc09b8dc60016b280944879b4c03bc8ac884798f", "size": 3528, "ext": "py", "lang": "Python", "max_stars_repo_path": "Example Code/Sonification Algorithm Diagrams/generatePaulstretchDiagram.py", "max_stars_repo_name": "marek-cottingham/magSonify", "max_stars_repo_head_hexsha": "74edf69e6a89365d9a08935d58332bfcd8c... |
from pathlib import Path
import numpy
import matplotlib.pyplot as pplt
#from scipy.stats import r
import bisect
import seaborn
#d = 3
#n = 7
#k = 4
#Al_known = numpy.array([1, 0, 0, 7, 7, 0, 0, 1], dtype=numpy.uint8)
#numSamples = 2**numpy.arange(4, 7) # explicit word-for-word: numWords
numChunks = 1
d = 5
n = 33
k =... | {"hexsha": "bbed82caddad98f7a05ab529e0794b6df602d3f8", "size": 5203, "ext": "py", "lang": "Python", "max_stars_repo_path": "BCH_plot_TVD.py", "max_stars_repo_name": "wry-run/weight-estimation", "max_stars_repo_head_hexsha": "1fe67d2bc7f5d9ef27771603d9416ddfc375b45b", "max_stars_repo_licenses": ["MIT"], "max_stars_count... |
#include <boost/preprocessor/logical/nor.hpp>
| {"hexsha": "7989a7b1ed9427ebd6fb56e8f9c10a24dd04e2c3", "size": 46, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "src/boost_preprocessor_logical_nor.hpp", "max_stars_repo_name": "miathedev/BoostForArduino", "max_stars_repo_head_hexsha": "919621dcd0c157094bed4df752b583ba6ea6409e", "max_stars_repo_licenses": ["BSL-... |
from os.path import join as opj
import numpy as np
from pandas import DataFrame, read_sql_query, concat, Series
from configs.nucleus_style_defaults import Interrater as ir
from interrater.interrater_utils import calc_stats_simple, \
_connect_to_anchor_db, get_roc_and_auroc_for_who, \
remap_classes_in_anchorsdf... | {"hexsha": "376ecaa98d2e15c09f57b12897b6ba575f72facc", "size": 13737, "ext": "py", "lang": "Python", "max_stars_repo_path": "interrater/scripts/i1e_run_NPs_accuracy_simulations.py", "max_stars_repo_name": "CancerDataScience/NuCLS", "max_stars_repo_head_hexsha": "c172b55b18d4ea78c3f51a8fd28ee6c2595c8360", "max_stars_rep... |
import pandas as pd
import numpy as np
import re
from nltk.corpus import stopwords
from nltk.stem.porter import PorterStemmer
from nltk.stem import WordNetLemmatizer
df = pd.read_csv('fake_or_real_news.csv')
"""
title =re.sub('[^a-zA-Z]' ,' ', df['title'][0])
title = title.lower()
title = title.split()
ps = Port... | {"hexsha": "67ce36c2b7147356b614b5cf5bd765850d22b4d7", "size": 867, "ext": "py", "lang": "Python", "max_stars_repo_path": "junk/untitled0.py", "max_stars_repo_name": "abdohelmy/fake-news-project", "max_stars_repo_head_hexsha": "b57e27aeae88a17d4b9a7256f7978c77c11a41b6", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
import numpy as np
import pickle
import os
def makeHightMap(xsize, ysize, lvl):
"""make a new higtmap
crate new higtmap with dimentions xsize, ysize, and level key lvl
@param xsize: the amount of values in the x dimention
@type xsize: int
@param ysize: the amount of values in the y dim... | {"hexsha": "d7f5e18d5f95e0a28a7b85d7553021a43f3fb652", "size": 6915, "ext": "py", "lang": "Python", "max_stars_repo_path": "pyplaygrounds/envGenerators/higtmap.py", "max_stars_repo_name": "JulianWww/Pyplaygrounds", "max_stars_repo_head_hexsha": "98a75b748fa3e0e095ae51a89fb9ac4d759a2fde", "max_stars_repo_licenses": ["MI... |
Theorem In_app_iff : forall A l l' (a:A),
In a (l++l') <-> In a l \/ In a l'.
Proof.
intros.
split.
- induction l as [| h t IH].
+ simpl. intros. right. apply H.
+ simpl. intros.
apply or_assoc.
destruct H.
* left. apply H.
* right. apply IH. apply H.
- induction l as [| h t IH... | {"author": "cristianlepore", "repo": "Coq_exercises", "sha": "109d34794edee6bd2b255ed4f7fc3c91edb8c8f5", "save_path": "github-repos/coq/cristianlepore-Coq_exercises", "path": "github-repos/coq/cristianlepore-Coq_exercises/Coq_exercises-109d34794edee6bd2b255ed4f7fc3c91edb8c8f5/Software_foundation/Chapter6/In_app_iff.v"} |
import numpy as np
__all__ = ["sign_activation",
"linear_regression_activation",
"sigmoid_activation"]
def sign_activation(z):
return np.sign(z)
def linear_regression_activation(z):
return z
def sigmoid_activation(z):
return 1.0/(1.0 + np.exp(-z))
| {"hexsha": "cf44d6ff569607c404684cfb6865d276b62de98d", "size": 300, "ext": "py", "lang": "Python", "max_stars_repo_path": "Supervised_Learning/Modules/activation_function.py", "max_stars_repo_name": "YulinLi98/Sample_INDE_Repo", "max_stars_repo_head_hexsha": "290a295e1dd5c46aaec2a380a2c98b2e96820fcd", "max_stars_repo_l... |
[STATEMENT]
lemma fold_mset_singleton[simp]: "fold_mset f z {#x#} = f x z"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. fold_mset f z {#x#} = f x z
[PROOF STEP]
by (simp add: fold_mset_def) | {"llama_tokens": 96, "file": "Lambda_Free_RPOs_Lambda_Free_Util", "length": 1} |
From Coq Require Import Arith.
From mathcomp Require Import ssreflect.
Require Import MyExtraction.
(* Section コマンド : スクリプトにセクションを導入する *)
Section ModusPonens.
(* Variables コマンド : 変数宣言 *)
(* ここでは Prop (命題) 型の変数 X, Y を宣言している *)
Variables X Y : Prop.
(* Hypothesis コマンド : セクション内の仮定を設定する *)
Hypothesis XtoY_is_t... | {"author": "0918nobita", "repo": "theorem-proving", "sha": "394e45bbd67e916d6800dbfdcf89dcabb139f4c1", "save_path": "github-repos/coq/0918nobita-theorem-proving", "path": "github-repos/coq/0918nobita-theorem-proving/theorem-proving-394e45bbd67e916d6800dbfdcf89dcabb139f4c1/coq/ex1.v"} |
module dmrgfun_lib
use tt_lib
use ttaux_lib
use ttop_lib
use rnd_lib
double precision,parameter,private :: tpi=6.28318530717958647692528676655900577d0
contains
subroutine dtt_dmrg(arg, tol, rhs, maxiter, coresize, demo)
![tt] fit rhs using dmrg
implicit none
type(dtt),intent(inout),target :: arg
double p... | {"hexsha": "21d6aba0cdc2a2c286da319b70c89d818e1e6905", "size": 11842, "ext": "f90", "lang": "FORTRAN", "max_stars_repo_path": "dmrg_fun.f90", "max_stars_repo_name": "dimpase/tt-fort", "max_stars_repo_head_hexsha": "2feceda8df2f7c6c84a473759a9c502c3c5a3ded", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 8, "max... |
"""
## Code length codes, I1 ##
In the first section, we read a series of 3 bit codes.
The meaning of these codes is follows, as specified in 3.2.7:
The alphabet for code lengths is as follows. This will make
more sense once we go through the actual values.
From 3.2.7:
0 - 15: Represent code lengths of 0 - 15
16: ... | {"hexsha": "c292ee575652ad935b0b61b78b82a76141d16a44", "size": 1251, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "d02_I1.jl", "max_stars_repo_name": "JimHokanson/DEFLATE_decompression_Julia", "max_stars_repo_head_hexsha": "60f36afbcdd902a45e016fd0317c1a0da07e52bb", "max_stars_repo_licenses": ["MIT"], "max_star... |
#ifdef WITH_V8
#include "net/JSProcedure.h"
#include <iostream>
#include <fstream>
#include "ebb/ebb.h"
#include <helper/HttpHelper.h>
#include "helper/vector_helpers.h"
#include <access/ScriptOperation.h>
#include "access/system/ResponseTask.h"
#include <boost/filesystem.hpp>
#include <helper/Settings.h>
#include... | {"hexsha": "f15a0d9aff8f3a74efba4789a355ac0850ac52b0", "size": 6483, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "src/lib/net/JSProcedure.cpp", "max_stars_repo_name": "EvilMcJerkface/hyrise-v1", "max_stars_repo_head_hexsha": "d97fa0df5b9e2b9aaa78865c010e93173404086d", "max_stars_repo_licenses": ["MIT"], "max_st... |
[GOAL]
R : Type u
inst✝⁶ : CommSemiring R
M : Type v
inst✝⁵ : AddCommMonoid M
inst✝⁴ : Module R M
ι : Type w
inst✝³ : DecidableEq ι
inst✝² : Fintype ι
κ : Type u_1
inst✝¹ : DecidableEq κ
inst✝ : Fintype κ
b : Basis ι R M
c : Basis κ R M
f : M →ₗ[R] M
⊢ trace (↑(toMatrix b b) f) = trace (↑(toMatrix b b) (comp (comp id f... | {"mathlib_filename": "Mathlib.LinearAlgebra.Trace", "llama_tokens": 19350} |
# Copyright (c) 2016-2019 Florian Wagner
#
# This file is part of XL-mHG.
"""Python API for performing XL-mHG tests."""
import sys
from math import isnan
import logging
import numpy as np
from . import mhg
try:
# This is a duct-tape fix for the Google App Engine, on which importing
# the C extension fails.
... | {"hexsha": "b999e61c5dcdd417983828faa546e36f5f05b0b6", "size": 14747, "ext": "py", "lang": "Python", "max_stars_repo_path": "xlmhg/test.py", "max_stars_repo_name": "flo-compbio/xlmhg", "max_stars_repo_head_hexsha": "c29d913386443396254774b8cff5cff2b5731323", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars_count... |
''' linear_descriminant_analsys.py
Linear Descriminant Analysis seeks to find a reduced dimensionality of
the features by maximizing class separability A hyperplane between features from
each class is calculated that separates the classes. A new sample can be classified
depending on which side of the hyperplane it... | {"hexsha": "1d50af84e53b8f8cc82ac0e5a1a40d670bb1cc66", "size": 10154, "ext": "py", "lang": "Python", "max_stars_repo_path": "p141_linear_descriminant_analsys.py", "max_stars_repo_name": "rrlyman/PythonMachineLearingExamples", "max_stars_repo_head_hexsha": "fedce1fcdc5e924bac3f279ccad902fec52dfa88", "max_stars_repo_lice... |
import numpy as np
import matplotlib.pyplot as plt
# Cython implementation
# from cDEM import DEM
# Python implementation
from DEM import DEM
import Gassmann
# Matrix properties
Km = 77.0 # GPa
Gm = 32.0 # GPa
rhom = 2.71 # g/cm3
# Fluid properties
Kf = 3.0 # GPa
rhof = 1.0 # g/cm3
# Porosity
p... | {"hexsha": "989b0abf80629a9f40e4eaade12ef5b598a80641", "size": 1175, "ext": "py", "lang": "Python", "max_stars_repo_path": "example.py", "max_stars_repo_name": "fvizeus/PyDEM", "max_stars_repo_head_hexsha": "d164537c33d4b220b70fad6b7bd98f003b4d023a", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count": 12, "ma... |
[STATEMENT]
lemma oarrivemsg_simps[simp]:
"\<And>R m. oarrivemsg P \<sigma> (R:*cast(m)) = True"
"\<And>d m. oarrivemsg P \<sigma> (d:deliver(m)) = True"
"\<And>i ii ni m. oarrivemsg P \<sigma> (ii\<not>ni:arrive(m)) = P \<sigma> m"
"\<And>i1 i2. oarrivemsg P \<sigma> (connect(i... | {"llama_tokens": 879, "file": "AWN_AWN", "length": 2} |
"""
.. _sampler:
User-Defined Sampler
====================
Thanks to user-defined samplers, you can:
- experiment your own sampling algorithms,
- implement task-specific algorithms to refine the optimization performance, or
- wrap other optimization libraries to integrate them into Optuna pipelines (e.g., :class:`~o... | {"hexsha": "63b84c6bfaee5c9140e4438dd01aaf33f8b8c3f1", "size": 6272, "ext": "py", "lang": "Python", "max_stars_repo_path": "tutorial/20_recipes/005_user_defined_sampler.py", "max_stars_repo_name": "ll7/optuna", "max_stars_repo_head_hexsha": "f674f89c79f02000bb355cc2f5f3740920d850cb", "max_stars_repo_licenses": ["MIT"],... |
__author__ = 'thor'
from sklearn.base import TransformerMixin, BaseEstimator
from sklearn.feature_extraction.text import CountVectorizer
from pandas import Series, DataFrame
from numpy import array, int64, empty, hstack
from inspect import getargvalues, currentframe
import re
from collections import Counter
from ite... | {"hexsha": "b288cb7d14daca5c9732b2292c4791a3fe8d88d5", "size": 15510, "ext": "py", "lang": "Python", "max_stars_repo_path": "ml/sk/feature_extraction/text.py", "max_stars_repo_name": "thorwhalen/ut", "max_stars_repo_head_hexsha": "353a4629c35a2cca76ef91a4d5209afe766433b4", "max_stars_repo_licenses": ["MIT"], "max_stars... |
from __future__ import (division, print_function, absolute_import,
unicode_literals)
from collections import OrderedDict
import os
import warnings
from astropy.modeling import models
import ccdproc
from astropy.extern import six
from astropy.stats import median_absolute_deviation
import numpy... | {"hexsha": "213efc61518ad61de4283bba4c921281555b918e", "size": 34866, "ext": "py", "lang": "Python", "max_stars_repo_path": "reducer/astro_gui.py", "max_stars_repo_name": "jimboH/reducer", "max_stars_repo_head_hexsha": "811b38cb9ffa49068dff3b0248923a6fb9afca8b", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars_c... |
import json
from keras.utils.data_utils import get_file
from tensorflow import keras
import numpy as np
import cv2
import os
from google.colab.patches import cv2_imshow
MODEL_NAME = 'FastSRGAN'
MODEL_URL = 'https://github.com/HasnainRaz/Fast-SRGAN/blob/master/models/generator.h5'
weights_path = get_file(MODEL_NAME , ... | {"hexsha": "3eb78a077fbe875786e51dba21577aac67ea4a6c", "size": 1058, "ext": "py", "lang": "Python", "max_stars_repo_path": "lambda.py", "max_stars_repo_name": "MrMoon/Fast-SRGAN", "max_stars_repo_head_hexsha": "ce6afe425d176e715953055543f97e01d62b4fea", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "max_... |
"""
Unittest for the vis module.
"""
import os
import unittest
import networkx as nx
from stitcher import vis
class TestVisualizations(unittest.TestCase):
"""
Tests the vis module.
"""
def setUp(self):
self.container = nx.DiGraph()
self.container.add_node('a', **{'type': 'a', 'rank... | {"hexsha": "8e8d5659384278280bc6876a563a04a8a45d0f31", "size": 1762, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/stitcher_vis_test.py", "max_stars_repo_name": "tmetsch/graph_sticher", "max_stars_repo_head_hexsha": "45b058813f39a5f4c13c01b159197f14e4a45745", "max_stars_repo_licenses": ["MIT"], "max_star... |
import json
import random
import numpy
import itertools
from collections import Counter
import operator
import numpy as np
import math
import sys
print ('Start Now 0622-Rest!!')
def recommador(related_songs, already_have, num = 500):
sorted_song = sorted(related_songs.items(), key=operator.itemgetter(1), reverse=... | {"hexsha": "893fcea371fa7938e9393684d498e684a998d7a7", "size": 6405, "ext": "py", "lang": "Python", "max_stars_repo_path": "Recsys_Challenge_Trailmix/Recsys_Challenge_Trailmix_CODEONLY/Model_Xing/Model_5_WAR_AA_Counter_QQNEW_Freq5_LOWERBAR2.py", "max_stars_repo_name": "xing-zhao/RecSys-Challenge-2018-Trailmix", "max_st... |
import os
import re
import pandas as pd
import pdb
import numpy as np
#######################################
# Jan 2021 - Jared - preprocess jobs
# `
#######################################
sbatch = ""
ct = 0
# start = [0,1000,2000,3000,4000,5000,6000,7000,8000,9000,10000,11000,12000]
# end = [1000,2000,3... | {"hexsha": "70aaa9b7446921cb89c54c492fb0bfeafe62f378", "size": 1727, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/hpc/create_final_output_jobs.py", "max_stars_repo_name": "jdwillard19/lake_conus_surface_temp_2021", "max_stars_repo_head_hexsha": "88334091dec71ae43fe4256603d65045141936b5", "max_stars_repo_l... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.