text stringlengths 0 1.25M | meta stringlengths 47 1.89k |
|---|---|
import sys
import numpy
import scipy.signal
from numpy import random
from collections import defaultdict, Counter
# the player only has one move: connect two gems
# the board does:
# step 1: do action player initiated
# 1) if 3 are next to each other, remove them and add score.
# 2) if 4 are next to each other, remo... | {"hexsha": "05eb24d37f48f3d054be9ec34d0482d0c452baad", "size": 37572, "ext": "py", "lang": "Python", "max_stars_repo_path": "gemengine.py", "max_stars_repo_name": "JohannesBuchner/ultragem", "max_stars_repo_head_hexsha": "0e64a5bc66a5fce4b899bf0734c9cc7417b4ed12", "max_stars_repo_licenses": ["CC-BY-3.0", "CC0-1.0"], "m... |
import argparse
import numpy as np
import os
import matplotlib.pyplot as plt
from os.path import isfile, join
## class PlotAngles
#
# loads a list of csv files from the specified folder (path) and plot them using matplotlib
class PlotAngles:
def __init__(self, path):
self.path = path
self.pos = {0... | {"hexsha": "c55b1c3d5f1fb08cb6631daae0bce61cf7d776d0", "size": 3295, "ext": "py", "lang": "Python", "max_stars_repo_path": "pepper_teleoperation/scripts/power_spectrum.py", "max_stars_repo_name": "FraPorta/pepper_mediapipe_teleoperation", "max_stars_repo_head_hexsha": "a42b094309e3db0d77e4c9a126683d960170d390", "max_st... |
#!/usr/bin/env python
# This is script that obtains statistics on # of tokens & sentences
# directly from the Wikipedia dump.
import sys
import numpy as np
sys.path.append('.')
from scripts.config import SPACY_MODEL, BERT_BASE_MODEL
from pytorch_pretrained_bert import BertTokenizer
from scripts.data_convert.text_proc... | {"hexsha": "7c4abc7783e4165c80b8d585d9c4ee1fe623cb16", "size": 1625, "ext": "py", "lang": "Python", "max_stars_repo_path": "scripts/data_convert/wikipedia/get_stat.py", "max_stars_repo_name": "MokriyYuriy/FlexNeuART", "max_stars_repo_head_hexsha": "49f13e3f9f0b0ea1399ea558436caaedd5233f5c", "max_stars_repo_licenses": [... |
export Point, Point1, Point2, Point3, Point1f, Point2f, Point3f, Point1B,
Point2B, Point3B
export coordinates, distance, distance², isCCW, midpoint, nan, ϵ_Point
"""
Point{Dim, T}
A point in `Dim`-dimensional space with coordinates of type `T`.
The coordinates of the point are given with respect to the ca... | {"hexsha": "4177f061bc8c167454833d8e1fbaebd74e8c9278", "size": 4078, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/geometry/points/point.jl", "max_stars_repo_name": "khurrumsaleem/MOCNeutronTransport", "max_stars_repo_head_hexsha": "16ccaf48d6c01e57e55e74ffbfbd71bbcd0f423c", "max_stars_repo_licenses": ["MIT... |
function HaloXZPlaneCrossingDetector(arg0::jdouble, arg1::jdouble)
return HaloXZPlaneCrossingDetector((jdouble, jdouble), arg0, arg1)
end
function g(obj::HaloXZPlaneCrossingDetector, arg0::SpacecraftState)
return jcall(obj, "g", jdouble, (SpacecraftState,), arg0)
end
| {"hexsha": "ddb702cd657d97f871cfb852b8fa6bdd2a1144b5", "size": 278, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "gen/OrekitWrapper/PropagationWrapper/EventsWrapper/halo_xz_plane_crossing_detector.jl", "max_stars_repo_name": "JuliaAstrodynamics/Orekit.jl", "max_stars_repo_head_hexsha": "e2dd3d8b2085dcbb1d2c7547... |
struct SChar{C} <: AbstractChar
function SChar{C}() where C
!(C isa Char) && throw(ArgumentError("SChar only supports static Char storage, got $(typeof(C))"))
return new{C}()
end
end
SChar(c::Char) = SChar{c}()
Base.values(::SChar{C}) where C = C::Char
Base.isvalid(::SChar{C}) where C = isvalid... | {"hexsha": "592fbb46a9b5ef55f4d1a867f39e926150086ff3", "size": 791, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/char.jl", "max_stars_repo_name": "JuliaTagBot/StaticValues.jl", "max_stars_repo_head_hexsha": "dc2f87e936e19b3df28d8e18037dc884ef32d733", "max_stars_repo_licenses": ["MIT"], "max_stars_count": n... |
import pandas as pd
import json
import numpy as np
from sklearn.metrics import accuracy_score
def createVector(df):
f = open("../data/sentiment-dictionary.json", "r")
dic = json.load(f)
for key, value in dic.items():
if value == 0 or value == 1:
dic[key] = 1
else:
d... | {"hexsha": "408bd2bf77922e1890b36ea0959157911c5f3a9c", "size": 921, "ext": "py", "lang": "Python", "max_stars_repo_path": "classifier/vec/sentiment_vector.py", "max_stars_repo_name": "banboooo044/natural-language-sentiment-anaysis", "max_stars_repo_head_hexsha": "e18d7c0373d9f0a00d5a3cc14abf671081bc940b", "max_stars_re... |
/*
MIT License
Copyright(c) 2020 Futurewei Cloud
Permission is hereby granted,
free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p... | {"hexsha": "b40c9b162c37c54488964e615eb9f477d7bafc8f", "size": 42196, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "src/k2/module/k23si/TxnManager.cpp", "max_stars_repo_name": "jfunston/chogori-platform", "max_stars_repo_head_hexsha": "e329e892411eeb2142c8d4b603944244d3c559d4", "max_stars_repo_licenses": ["MIT"]... |
# Copyright 2020 Todd Cook
#
# 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, softw... | {"hexsha": "b81d7c39f9f3adc055b660d4ceca243390eb1493", "size": 12537, "ext": "py", "lang": "Python", "max_stars_repo_path": "mlyoucanuse/text_deduplicater.py", "max_stars_repo_name": "todd-cook/ML-You-Can-Use", "max_stars_repo_head_hexsha": "45c86d6f70b7d216c421ea005e022f5d6f5501cd", "max_stars_repo_licenses": ["Apache... |
c
c
c
c =====================================================
subroutine qinit(maxmx,maxmy,meqn,mbc,mx,my,xlower,ylower,
& dx,dy,q,maux,aux)
c =====================================================
c
c # Set initial conditions for q.
c
implicit double precision (a-h,o-z)... | {"hexsha": "2727cc84e6293cf8f7feca4726e1639074880d4c", "size": 1086, "ext": "f", "lang": "FORTRAN", "max_stars_repo_path": "book/chap22/corner/qinit.f", "max_stars_repo_name": "geoflows/geoclaw-4.x", "max_stars_repo_head_hexsha": "c8879d25405017b38392aa3b1ea422ff3e3604ea", "max_stars_repo_licenses": ["BSD-3-Clause"], "... |
#ifdef WIN32
#define _WIN32_WINNT 0x0501
#include <stdio.h>
#endif
#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <boost/asio.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <string>
using namespace boost::asio;
using boost::system::error_code;
io_service ... | {"hexsha": "38887232865fbc1a80c205f9e79e1a61dc5473da", "size": 7135, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "source/main.cpp", "max_stars_repo_name": "Verch/sunbeam", "max_stars_repo_head_hexsha": "cfd3e0a3e004dff9764426686e25a56a592175d9", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count": null... |
#Reference:http://docs.juliaplots.org/latest/
using Plots
# initialize the attractor
n = 1500
dt = 0.02
σ, ρ, β = 10., 28., 8/3
x, y, z = 1., 1., 1.
# initialize a 3D plot with 1 empty series
plt = path3d(1, xlim=(-25,25), ylim=(-25,25), zlim=(0,50),
xlab = "x", ylab = "y", zlab = "z",
... | {"hexsha": "4e882683858d6dce2b1702f5e42cc870b9a21388", "size": 577, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "lorenzAttractor/test.jl", "max_stars_repo_name": "terasakisatoshi/juliaExer", "max_stars_repo_head_hexsha": "e3c2195f39de858915a3dcd47684eccbb7ecb552", "max_stars_repo_licenses": ["MIT"], "max_stars... |
"""
@author: Yanzuo Lu
@email: luyz5@mail2.sysu.edu.cn
"""
import random
from PIL import Image
import numpy as np
PATCH_MIN = 4
PATCH_MAX = 10
def Mosaic(img, bbox):
"""
Args:
img (np.ndarray): an HWC image
bbox (np.ndarray): bounding boxes [x1, y1, x2, y2, confidence]
Returns:
m... | {"hexsha": "8e3e9dd768b09fbea3ac0793f303d3cb3dea3372", "size": 1280, "ext": "py", "lang": "Python", "max_stars_repo_path": "fastreid/data/transforms/mosaic.py", "max_stars_repo_name": "YanzuoLu/fast-reid", "max_stars_repo_head_hexsha": "dbf6fc8a61b1a60a03691b9bbda29956bd65d88d", "max_stars_repo_licenses": ["Apache-2.0"... |
from dataclasses import dataclass
import numpy as np
import pandas as pd
import xarray as xr
MAX_IRRADIATION = 1000 # Wp / m2
@dataclass
class CostFactors:
wind_onshore: float
wind_offshore: float
roof_mounted_pv: float
open_field_pv: float
@classmethod
def from_x(cls, x):
return Co... | {"hexsha": "4a461f36d79d7c53dbddd5361cd967449ddc7be0", "size": 4164, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/analyse/y.py", "max_stars_repo_name": "timtroendle/money-land", "max_stars_repo_head_hexsha": "fe3ed6e531cfe91156886d4fa685a14840749f36", "max_stars_repo_licenses": ["MIT"], "max_stars_count":... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Exercises 8.20, 8.21 from Kane 1985."""
from __future__ import division
from sympy import simplify, solve, symbols
from sympy.physics.mechanics import ReferenceFrame, Point
from sympy.physics.mechanics import inertia, RigidBody
from sympy.physics.mechanics import cross,... | {"hexsha": "1ed2fa43c5cc34dfb161fa30c5fbef11ae5cfc65", "size": 3433, "ext": "py", "lang": "Python", "max_stars_repo_path": "examples/Kane1985/Chapter4/Ex8.20_8.21.py", "max_stars_repo_name": "nouiz/pydy", "max_stars_repo_head_hexsha": "20c8ca9fc521208ae2144b5b453c14ed4a22a0ec", "max_stars_repo_licenses": ["BSD-3-Clause... |
# Copyright 2018 Jörg Franke
#
# 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, s... | {"hexsha": "b733a5b15213555e1830d0fdff550eb3549f1365", "size": 6040, "ext": "py", "lang": "Python", "max_stars_repo_path": "adnc/analysis/analyzer.py", "max_stars_repo_name": "carusyte/ADNC", "max_stars_repo_head_hexsha": "4a5dfa5be1aca9f815794c2c276ec220a1eb591d", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_... |
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
Abstract interface for parallel execution of multiple jobs.
The main class is `ScatterGather`, which can submit many instances
of a job with different configurations.
"""
from __future__ import absolute_import, division, print_function
import sys
imp... | {"hexsha": "24d5eb190512f12b3dc8614ced6c242bd63634ec", "size": 21245, "ext": "py", "lang": "Python", "max_stars_repo_path": "fermipy/jobs/scatter_gather.py", "max_stars_repo_name": "damgreen/fermipy", "max_stars_repo_head_hexsha": "92b693a9272453bc6eb5c21e9bbac912408122fb", "max_stars_repo_licenses": ["BSD-3-Clause"], ... |
import os
import time
import math
import numpy as np
from math import sin, cos, pi, atan2, asin, acos, sqrt
from numpy import cross
def lrmate_ik(vec):
"""
6-DOF,
original mechanism,
Geometric Solution
Inverse Kinematics function
input: in m, in the world base (bottom of the robot)... | {"hexsha": "1b8be989eeb9eaa703fa80f566e290cdd91c80c8", "size": 11734, "ext": "py", "lang": "Python", "max_stars_repo_path": "grasp/simulation/lrmate_kine_base.py", "max_stars_repo_name": "jessicaleu24/NSF-demo", "max_stars_repo_head_hexsha": "ec05ee45f6934aeb06c56eab5746dd88ce09af24", "max_stars_repo_licenses": ["MIT"]... |
import re, os, sys
from functools import reduce
from itertools import combinations as comb, permutations as perm, combinations_with_replacement as combr
from operator import itemgetter
from pprint import pprint
from math import *
from collections import defaultdict
import networkx as nx
import numpy as np
def dprint(d... | {"hexsha": "b3620691dcc380d9336c68f16640477771fc6498", "size": 1825, "ext": "py", "lang": "Python", "max_stars_repo_path": "solutions/prog15.py", "max_stars_repo_name": "aditya95sriram/aoc2021", "max_stars_repo_head_hexsha": "e73c2bb9707858ab850b8a4a8dbee0d6e78bd8b8", "max_stars_repo_licenses": ["MIT"], "max_stars_coun... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import numpy as np
from scipy.interpolate import interp1d
from . import constants as cc
from pyETC.utils import resample
def digitisation_noise(info_dict):
""" Computes the digitisation noise in e-/px
Parameters
----------
info_dict: dictionary
Retu... | {"hexsha": "91f3e821eaf955c806d5357cd06d29d6fad2d92f", "size": 3594, "ext": "py", "lang": "Python", "max_stars_repo_path": "pyETC/camera.py", "max_stars_repo_name": "dcorre/pyETC", "max_stars_repo_head_hexsha": "88d4eb78a6a638b28d05c6798c32952956f956b4", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 2, "max_st... |
import matplotlib.pyplot as plt
from matplotlib.gridspec import GridSpec
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg
from PyQt5.QtWidgets import *
from PyQt5.QtCore import Qt
from PyQt5 import QtCore, QtGui, QtWidgets
from functools import partial
import sys
import json
import numpy as np
class ... | {"hexsha": "5a4f5dc8de50ad273846e58ad70ec33328e403e5", "size": 2503, "ext": "py", "lang": "Python", "max_stars_repo_path": "CNS_Platform/CNS_Platform_Base.py", "max_stars_repo_name": "Jonghyun-Kim-73/ERC_Project", "max_stars_repo_head_hexsha": "271ec7e77002fcf43158492a6938563af8442e70", "max_stars_repo_licenses": ["Apa... |
// Copyright (c) 2021 Graphcore Ltd. All rights reserved.
#include <algorithm>
#include <iomanip>
#include <numeric>
#include <string>
#include <boost/functional/hash.hpp>
#include <schedule/shift/error.hpp>
#include <poprithms/schedule/shift/allocweight.hpp>
#include <poprithms/util/printiter.hpp>
namespace poprit... | {"hexsha": "c1be6ab7af80125cacc26fad2db69698a7780332", "size": 2211, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "poprithms/poprithms/src/poprithms/schedule/shift/allocweight.cpp", "max_stars_repo_name": "graphcore/poprithms", "max_stars_repo_head_hexsha": "9975a6a343891e3c5f8968a9507261c1185029ed", "max_stars_... |
"""
Functions used to calculate direction.
(Thanks to Addison Hu)
Author: Maria Jahja
Created: 2020-04-17
"""
import numpy as np
def running_mean(s):
"""Compute running mean."""
return np.cumsum(s) / np.arange(1, len(s) + 1)
def running_sd(s, mu=None):
"""
Compute running standard deviation.
... | {"hexsha": "51c4fa7dc024d6daba3d20099486e1462fa296c4", "size": 1223, "ext": "py", "lang": "Python", "max_stars_repo_path": "doctor_visits/delphi_doctor_visits/direction.py", "max_stars_repo_name": "qx-teo/covidcast-indicators", "max_stars_repo_head_hexsha": "6eabe62748a206b5e6d65f9e11c65ef1c76cdb0a", "max_stars_repo_li... |
// Copyright 2016-2020 Edwin Schreuder (Falcons)
// SPDX-License-Identifier: Apache-2.0
#ifndef CPERIPHERALSINTERFACETYPES_HPP
#define CPERIPHERALSINTERFACETYPES_HPP
#include <functional>
#include "falconsCommon.hpp"
#include "pose2d.hpp"
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/lu.hp... | {"hexsha": "e4a60ec179a9474ee660b8f841d3ecb3867251b1", "size": 2991, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "packages/peripheralsInterface/include/int/PeripheralsInterfaceTypes.hpp", "max_stars_repo_name": "Falcons-Robocup/code", "max_stars_repo_head_hexsha": "2281a8569e7f11cbd3238b7cc7341c09e2e16249", "ma... |
import os
from scipy import spatial
from sent2vec.vectorizer import Vectorizer
from sent2vec.splitter import Splitter
WIKI_PATH = '/Users/pedramataee/gensim-data/glove-wiki-gigaword-300'
PRETRAINED_VECTORS_PATH_WIKI = os.path.join(WIKI_PATH, 'glove-wiki-gigaword-300')
FASTTEXT_NEWS_PATH = '/Users/pedramataee/gensim-... | {"hexsha": "5291ec6e34bcdf25a33a71786acaab6f52f001c1", "size": 4066, "ext": "py", "lang": "Python", "max_stars_repo_path": "sent2vec/test_vectorizer.py", "max_stars_repo_name": "Jyue/sent2vec-1", "max_stars_repo_head_hexsha": "7bd4e722ea19c4f3accc6adf55c6f5e79ef97f10", "max_stars_repo_licenses": ["MIT"], "max_stars_cou... |
using .NetworkResilience
using Statistics
function main(t)
ind = parse(Int64, ARGS[1])
configs = []
n = 67
for j=1:n
for i=1:n-j
ne = n - i - j
push!(configs, [i j ne])
end
end
# break1 = length(configs)
# #Make the file name
# directory = "swing_coupling_q0/"
# indexdict = Dict("50" => ind... | {"hexsha": "4d3323853bfadc1bd6a1e6b90bcd77317440b599", "size": 1059, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "scripts/couplingsimplex.jl", "max_stars_repo_name": "o-smith/GridResilience", "max_stars_repo_head_hexsha": "1658a47f4c5ceb6e2a8189b666280c21adaffd32", "max_stars_repo_licenses": ["MIT"], "max_star... |
import torch
import numpy as np
import argparse
import os
import sys
from pncnn.dataloaders.dataloader_creator import create_dataloader
from pncnn.utils.sparsification_plot import sparsification_plot
import matplotlib.pylab as plt
xout_channel = 3
cout_in_channel = 3
cout_out_channel = 6
cin_channel = 6
def eval_aus... | {"hexsha": "04064df3543d36afacb42877e67d7855719d81fd", "size": 6044, "ext": "py", "lang": "Python", "max_stars_repo_path": "pncnn/utils/eval_uncertainty.py", "max_stars_repo_name": "akweury/improved_normal_inference", "max_stars_repo_head_hexsha": "a10ed16f43362c15f2220345275be5c029f31198", "max_stars_repo_licenses": [... |
[STATEMENT]
lemma monom_1_dvd_iff': "monom 1 n dvd p \<longleftrightarrow> (\<forall>k<n. coeff p k = 0)"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. (monom (1::'a) n dvd p) = (\<forall>k<n. coeff p k = (0::'a))
[PROOF STEP]
proof
[PROOF STATE]
proof (state)
goal (2 subgoals):
1. monom (1::'a) n dvd p \<Longrigh... | {"llama_tokens": 2028, "file": null, "length": 23} |
import numpy as np
import matplotlib.pyplot as plt
import pickle
from collections import deque
import gym
from gym import wrappers
import torch
from agent import DQNAgent
def train(n_episodes=100,
max_t=10000,
eps_start=1.0,
eps_end=0.01,
eps_decay=0.996):
"""
Training ... | {"hexsha": "c887339f08f310fa9213b9b956dbc1adb7cbbe62", "size": 5853, "ext": "py", "lang": "Python", "max_stars_repo_path": "main.py", "max_stars_repo_name": "qarchli/dqn-on-space-invaders", "max_stars_repo_head_hexsha": "148f1a7b65b2f47dab736b08cc7d6b7de1725a00", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1... |
import sys, os
sys.path.append("../../")
sys.path.extend([os.path.join(root, name) for root, dirs, _ in os.walk("../") for name in dirs])
from gensim import corpora, models, similarities
from gensim.parsing.preprocessing import stem
import re
from math import log
import numpy as np
from ideaman_analyzer.textteaser imp... | {"hexsha": "d23cd2ce9c81929045b370f34e9764641e1f6703", "size": 15970, "ext": "py", "lang": "Python", "max_stars_repo_path": "ideaman_analyzer/analyzer/aarxiv.py", "max_stars_repo_name": "LibRec-Practical/ideaman-offline", "max_stars_repo_head_hexsha": "f8341fc9ca77adcc1191c01037dda18c02d77b29", "max_stars_repo_licenses... |
import numpy as np
import random
from collections import namedtuple, deque
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
from utils.replay_buffer import ReplayBuffer
class DQNAgent():
"""Interacts with and learns from the environment."""
def __init__(self, st... | {"hexsha": "554c6fb137e4e30d9a4ea621c71e89f1ab20632e", "size": 8081, "ext": "py", "lang": "Python", "max_stars_repo_path": "agents/dqn.py", "max_stars_repo_name": "lutaodai/gym-drl-pytorch", "max_stars_repo_head_hexsha": "6713e41e529f93cfb67c37524884171235338bd1", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
[STATEMENT]
lemma flush_update_other: "\<And>m. a \<notin> outstanding_refs (Not \<circ> is_volatile) sb \<Longrightarrow>
outstanding_refs (is_volatile_Write\<^sub>s\<^sub>b) sb = {} \<Longrightarrow>
flush sb (m(a:=v)) = (flush sb m)(a := v)"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. \<And>m. \... | {"llama_tokens": 233, "file": "Store_Buffer_Reduction_ReduceStoreBuffer", "length": 1} |
# -*- coding: utf-8 -*-
"""
Created on Mon Dec 2 18:23:00 2019
@author: Brandon
"""
import numpy as np
import matplotlib.pyplot as plt
from mayavi import mlab
x1=np.linspace(1,10,10)
k=4
y1=k*x1**2
colors=[]
i=0
while i<=9:
if y1[i]<100:
colors.append("red")
elif y1[i]<250:
colors.append(... | {"hexsha": "6e355ee3ee12fc4b5a66a5187d742640189949d8", "size": 2721, "ext": "py", "lang": "Python", "max_stars_repo_path": "New folder/practice2.py", "max_stars_repo_name": "bswood9321/PHYS-3210", "max_stars_repo_head_hexsha": "d780cac166688338ce91099cba4a4f6628430647", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
// Copyright Yamaha 2021
// MIT License
// https://github.com/yamaha-bps/ros2_pcl_utils/blob/master/LICENSE
#ifndef PCL_UTILS__FILTER_HPP_
#define PCL_UTILS__FILTER_HPP_
#include <Eigen/Geometry>
#include <sensor_msgs/msg/camera_info.hpp>
#include <sensor_msgs/msg/image.hpp>
#include <sensor_msgs/msg/point_cloud2.hpp... | {"hexsha": "04aaa7b3a33317fdd56de9c607bc8d0f956de311", "size": 1061, "ext": "hpp", "lang": "C++", "max_stars_repo_path": "include/pcl_utils/filter.hpp", "max_stars_repo_name": "yamaha-bps/ros2_pcl_utils", "max_stars_repo_head_hexsha": "513615ac1b6b251a39f29eb7ff03f307747b8aa3", "max_stars_repo_licenses": ["MIT"], "max_... |
""" Given an algorithm, run optimization of each criterion function
(defined in criterion_functions.py) with set of 10 constraints to find minima.
Save results into a data frame (in "OUT_ANALYSIS") with information on algorithm,
criterion, constraint, parameter and corresponding optimal parameter values.
"""
import js... | {"hexsha": "8e401fa95de678cd43f0c924f6fa3a80c3b4da4e", "size": 4665, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/analysis/run_optimizer_benchmarks.py", "max_stars_repo_name": "mchandra12/epp_project", "max_stars_repo_head_hexsha": "cbf8b5b5b562dc3a6e60a6d59c2dc9bee0057bd3", "max_stars_repo_licenses": ["M... |
/* multilarge_nlinear/gsl_multilarge_nlinear.h
*
* Copyright (C) 2015, 2016 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* you... | {"hexsha": "bdad1b23885bccd94352aff2f81263dc7cc4c85c", "size": 13486, "ext": "h", "lang": "C", "max_stars_repo_path": "Chimera/3rd_Party/GSL_MSVC/gsl/gsl_multilarge_nlinear.h", "max_stars_repo_name": "zzpwahaha/Chimera-Control-Trim", "max_stars_repo_head_hexsha": "df1bbf6bea0b87b8c7c9a99dce213fdc249118f2", "max_stars_r... |
# -*- coding: utf-8 -*-
# @Author: Juan Quintana
# @Date: 2018-09-19 13:17:03
# @Last Modified by: Juan Quintana
# @Last Modified time: 2018-09-19 13:19:36
"""
Reference: https://www.statsmodels.org/dev/generated/statsmodels.nonparametric.smoothers_lowess.lowess.html
"""
def launch(x: 'array', y: 'array', fracti... | {"hexsha": "36cb506171fa6ec0c864599503ed14508594a188", "size": 1301, "ext": "py", "lang": "Python", "max_stars_repo_path": "scripts/preprocessing/smoothers/lowess.py", "max_stars_repo_name": "jmquintana79/utilsDS", "max_stars_repo_head_hexsha": "1693810b6f10024542b30fdfedbfcd0518f32945", "max_stars_repo_licenses": ["MI... |
from copy import deepcopy
from ray import tune
import numpy as np
from softlearning.utils.git import get_git_rev
from softlearning.utils.misc import get_host_name
from softlearning.utils.dict import deep_update
DEFAULT_KEY = "__DEFAULT_KEY__"
M = 512
ALGORITHM_PARAMS_BASE = {
'config': {
'train_every_... | {"hexsha": "0e7c7d652e85a0ab0247a971dd71bc310ce6e2d2", "size": 16272, "ext": "py", "lang": "Python", "max_stars_repo_path": "examples/real/variants.py", "max_stars_repo_name": "charlesjsun/ReLMM", "max_stars_repo_head_hexsha": "b63cd69f5b4d5fddc5988a9478632a171ceef59a", "max_stars_repo_licenses": ["MIT"], "max_stars_co... |
import sys
import numpy as np
import os
import tempfile
import logging
from catstore import hdf5tools
logging.basicConfig(level=logging.DEBUG)
def test():
""" """
filename = tempfile.NamedTemporaryFile(delete=False).name+".pypelid"
storage = hdf5tools.HDF5Catalogue(filename, 'w',
preal... | {"hexsha": "ec12d8c6265ef104d54aca70a0bfefc2d20930cf", "size": 701, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/test_hdf5.py", "max_stars_repo_name": "bengranett/catstore", "max_stars_repo_head_hexsha": "a61f922fdef4d5f5189c8d9cad830bd8dd981900", "max_stars_repo_licenses": ["MIT"], "max_stars_count": n... |
"""
Time-related feature engineering with scikit-learn
======================================================
This notebook introduces different strategies with Neuraxle to leverage time-related features
for a bike sharing demand regression task that is highly dependent on business
cycles (days, weeks, months) and yea... | {"hexsha": "867324600f4d19c4fc0d95a674ce99556f39e07b", "size": 34308, "ext": "py", "lang": "Python", "max_stars_repo_path": "examples/sklearn/plot_cyclical_feature_engineering.py", "max_stars_repo_name": "Kimoby/Neuraxle", "max_stars_repo_head_hexsha": "af96f79d4f770f50174e2edf40da4147cdb8a5b5", "max_stars_repo_license... |
from functools import partial
from clu import parameter_overview
from flax import linen as nn
from flax.training import train_state
import jax
import jax.numpy as jnp
import ml_collections
import numpy as np
import optax
import tensorflow_datasets as tfds
from sharpened_cosine_similarity import SCS, MaxAbsPool
# import... | {"hexsha": "c3f28904ca0906ef7d369f5311e4909056e1da0d", "size": 6218, "ext": "py", "lang": "Python", "max_stars_repo_path": "jax/test_mnist.py", "max_stars_repo_name": "brohrer/sharpened_cosine_similarity_torch", "max_stars_repo_head_hexsha": "66db69cee4b774137497e72c270cc15416124424", "max_stars_repo_licenses": ["MIT"]... |
import numpy as np
import pandas as pd
import torch
from sklearn.metrics import roc_auc_score, average_precision_score, accuracy_score, f1_score, \
log_loss, auc, precision_recall_curve
# from sklearn.metrics import r2_score, mean_squared_error
from scipy.stats import pearsonr, spearmanr
import numpy.ma as ma
from ... | {"hexsha": "86c78e7f74dc0f8b2f442355245c75d1b582c02d", "size": 7457, "ext": "py", "lang": "Python", "max_stars_repo_path": "evaluation_utils.py", "max_stars_repo_name": "XieResearchGroup/CLEIT", "max_stars_repo_head_hexsha": "226ece5a8763ac010610cbc9f66915caca92775e", "max_stars_repo_licenses": ["MIT"], "max_stars_coun... |
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Tue Dec 12 16:50:06 2017
@author: sjjoo
"""
import sys
import mne
import matplotlib.pyplot as plt
from mne.utils import run_subprocess, logger
import os
from os import path as op
import copy
import shutil
import numpy as np
from numpy.random import randn
f... | {"hexsha": "cb99731cb8d310c2277599245353a2889e107f2c", "size": 3129, "ext": "py", "lang": "Python", "max_stars_repo_path": "projects/NLR_MEG/inverse_session1.py", "max_stars_repo_name": "yeatmanlab/BrainTools", "max_stars_repo_head_hexsha": "890db4256b0290918045e53cd3c6fd6197fcbb4e", "max_stars_repo_licenses": ["BSD-3-... |
import tensorflow as tf
import tensorflow.contrib.slim as slim
import numpy as np
import os
from tensorflow.python.framework import ops
import warnings
warnings.filterwarnings("ignore")
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
ops.reset_default_graph()
class contextualBandit():
def __init__(self):
'''
... | {"hexsha": "f75fc6f58195648efe9a9ad2c56a016f3c074bd8", "size": 4708, "ext": "py", "lang": "Python", "max_stars_repo_path": "Chapter11/contextual_bandit_agent.py", "max_stars_repo_name": "retwal/Predictive", "max_stars_repo_head_hexsha": "57c3cb64901b7a0629b70053ecf01dac5be66d6f", "max_stars_repo_licenses": ["MIT"], "ma... |
__author__ = 'sibirrer'
import numpy as np
import pytest
import numpy.testing as npt
import lenstronomy.Util.param_util as param_util
from lenstronomy.Util import util
try:
import fastell4py
fastell4py_bool = True
except:
print("Warning: fastell4py not available, tests will be trivially fulfilled without... | {"hexsha": "6f6b680ac9512fa7389c5300e10094b7d8ecaef5", "size": 7055, "ext": "py", "lang": "Python", "max_stars_repo_path": "test/test_LensModel/test_Profiles/test_epl.py", "max_stars_repo_name": "heather999/lenstronomy", "max_stars_repo_head_hexsha": "8102fe026c1f3ba6e81d8a1f59cceb90e68430b4", "max_stars_repo_licenses"... |
(* Title: FOLP/ex/Classical.thy
Author: Lawrence C Paulson, Cambridge University Computer Laboratory
Copyright 1993 University of Cambridge
Classical First-Order Logic.
*)
theory Classical
imports FOLP
begin
schematic_goal "?p : (P --> Q | R) --> (P-->Q) | (P-->R)"
by (tactic "fast_tac \<^cont... | {"author": "seL4", "repo": "isabelle", "sha": "e1ab32a3bb41728cd19541063283e37919978a4c", "save_path": "github-repos/isabelle/seL4-isabelle", "path": "github-repos/isabelle/seL4-isabelle/isabelle-e1ab32a3bb41728cd19541063283e37919978a4c/src/FOLP/ex/Classical.thy"} |
module Arduino.Mega
import Arduino.Boards
public export
Mega2560 : Board
Mega2560 = BoardLabel "mega" $ Just "atmega2560"
-- Lossy function for simplicity having that we know that our numbers do not exceed 255.
lossyNatToBits8 : Nat -> Bits8
lossyNatToBits8 = fromInteger . toIntegerNat
public export
data DigitalPin... | {"hexsha": "78930b7cbecd7724331e95021aa8372bc79d8fbc", "size": 784, "ext": "idr", "lang": "Idris", "max_stars_repo_path": "src/Arduino/Mega.idr", "max_stars_repo_name": "buzden/idris-arduino-lib", "max_stars_repo_head_hexsha": "3d01342f8444c49d865b11419dc0ce06bca9e54e", "max_stars_repo_licenses": ["Apache-2.0"], "max_s... |
import numpy as np
import cv2
import argparse
from labels import get_label_type_id, parse_labels_mapping
def process_buffers(game, params):
"""
Process screen, depth and labels buffers.
Resize the screen.
"""
screen_buffer = game._screen_buffer
depth_buffer = game._depth_buffer
labels_buff... | {"hexsha": "96554a310a48bbef9b36e08fe57008c3235b3b72", "size": 9033, "ext": "py", "lang": "Python", "max_stars_repo_path": "doom/utils.py", "max_stars_repo_name": "luxinglong/ViZDoom-SL", "max_stars_repo_head_hexsha": "fbc54c401b1ca320e9e804f2c97fdedc5d0c534d", "max_stars_repo_licenses": ["MIT"], "max_stars_count": nul... |
import numpy as np
class Individual(object):
def __init__(self, individual_vector, max_inputs, search_space, index=0):
self.iv = individual_vector
self.mi = max_inputs
self.ss = search_space
# Generate config when generating individual
self.index = index
self.config... | {"hexsha": "b0ed5dcbd7438205ba8a9b0649267802fb37bfea", "size": 1759, "ext": "py", "lang": "Python", "max_stars_repo_path": "gnas/search_space/individual.py", "max_stars_repo_name": "soolstafir/Applying-3D-U-Net-Architecture-to-the-Task-of-Multi-Organ-Segmentation-in-Computed-Tomography", "max_stars_repo_head_hexsha": "... |
"""Module for setting up a quantum system. Contains
the QuantumSystem class."""
from scipy import constants, linalg
import numpy as np
from quantum_heom import evolution as evo
from quantum_heom import hamiltonian as ham
from quantum_heom import heom
from quantum_heom import lindbladian as lind
from quantum_heom impo... | {"hexsha": "5405c8cff3a7d0c5c86dfdce6b57355fc51dbd99", "size": 35974, "ext": "py", "lang": "Python", "max_stars_repo_path": "quantum_heom/quantum_system.py", "max_stars_repo_name": "xuanleng/quantum_HEOM", "max_stars_repo_head_hexsha": "bd8db3255fae60ce7ad35533c29429c596bacff6", "max_stars_repo_licenses": ["MIT"], "max... |
function exact = p20_exact ( )
%*****************************************************************************80
%
%% P20_EXACT returns the estimated integral for problem 20.
%
% Licensing:
%
% This code is distributed under the GNU LGPL license.
%
% Modified:
%
% 04 November 2009
%
% Author:
%
% John Burka... | {"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/test_int/p20_exact.m"} |
#include "../defines.inc"
subroutine wlcsim_quinn(save_ind, wlc_p)
! Quinn's branch of the Fortran codebase.
! This branch is set up for Monte-Carlo simulations with a
! particular focus on parallel tempering.
use params, only: wlc_mc_ind, wlc_numProcesses, wlc_id
use params, only: printLinkingNumber
#if MPI_VE... | {"hexsha": "4ef1cb22773181bd397d5a841ff923a9cc37144d", "size": 13276, "ext": "f03", "lang": "FORTRAN", "max_stars_repo_path": "src/wlcsim/wlcsim_quinn.f03", "max_stars_repo_name": "SpakowitzLab/BasicWLC", "max_stars_repo_head_hexsha": "13edbbc8e8cd36a3586571ff4d80880fc89d30e6", "max_stars_repo_licenses": ["MIT"], "max_... |
from typing import Dict, Generic, Hashable, List, Tuple, Type, Any, Mapping, Sequence
import numpy as np
from rlo.expression_util import ExprWithEnv
from rlo import utils
from rlo.search_tree import NodeType
from rlo.tf_model import ModelWrapper
class NodeEvaluationCache(Generic[NodeType]):
""" This class store... | {"hexsha": "caa7b37fc77ae7e2c12bdcd09e67974fdd6bf792", "size": 7887, "ext": "py", "lang": "Python", "max_stars_repo_path": "rlo/src/rlo/node_evaluation_cache.py", "max_stars_repo_name": "tomjaguarpaw/knossos-ksc", "max_stars_repo_head_hexsha": "8fa75e67c0db8f632b135379740051cd10ff31f2", "max_stars_repo_licenses": ["MIT... |
import numpy as np
import dask.array as da
from skallel_tensor.dask_backend import chunked_array_types, ensure_dask_array
from . import api
def pairwise_distance(x, *, metric, **kwargs):
# Check inputs.
assert x.ndim == 2
x = ensure_dask_array(x)
# Rechunk across second dimension.
x = x.rechunk(... | {"hexsha": "176f1408449d764a82e46ca8bb2e84e39b5da76c", "size": 2619, "ext": "py", "lang": "Python", "max_stars_repo_path": "src/skallel_stats/distance/dask_backend.py", "max_stars_repo_name": "alimanfoo/skallel-stats", "max_stars_repo_head_hexsha": "e8c7e83f5ed8e38b1b4850e68b167d76e8b8f999", "max_stars_repo_licenses": ... |
# Copyright 1999-2021 Alibaba Group Holding 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 a... | {"hexsha": "ed8523ec3af4f2f6db3ff6dc01ffc76ccb8c698e", "size": 10345, "ext": "py", "lang": "Python", "max_stars_repo_path": "mars/dataframe/base/stack.py", "max_stars_repo_name": "wjsi/mars", "max_stars_repo_head_hexsha": "a69fb19edfe748d4393b90ff2c4941a76c084596", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_... |
\section{Documents Links}
Data Management System-level network specifications (extracted from \href{https://confluence.lsstcorp.org/download/attachments/20284335/LSE-61.pdf?version=1&modificationDate=1490879770000&api=v2}{LSE-61 Data Management Subsystem Requirements})
180 days MTBF/year
48 hours MTTR/year
Base to... | {"hexsha": "592ad70f21108ca86fcb04d00f8efd705b7f1ddb", "size": 4425, "ext": "tex", "lang": "TeX", "max_stars_repo_path": "body.tex", "max_stars_repo_name": "lsst-it/ittn-044", "max_stars_repo_head_hexsha": "9d6a578e51c4b1a8d3d80f87ccfbbb388583e806", "max_stars_repo_licenses": ["CC-BY-4.0"], "max_stars_count": null, "ma... |
import numpy as np
import astropy
import healpy as hp
from scipy.interpolate import interp1d
from astropy.coordinates import SkyCoord # High-level coordinates
from astropy import constants as cte
from astropy import units as u
from matplotlib.colors import LogNorm
from astropy import wcs
from astropy.time import Time... | {"hexsha": "490d749eb627316508d5b3c387aa7dd776bcd66b", "size": 7246, "ext": "py", "lang": "Python", "max_stars_repo_path": "Earth_NDI.py", "max_stars_repo_name": "Borlaff/Sparkles", "max_stars_repo_head_hexsha": "3c92327df0f0f0d81d4ad60a6db30929fb953ccf", "max_stars_repo_licenses": ["MIT"], "max_stars_count": null, "ma... |
section \<open>Results\<close>
theory Results imports Soundness Completeness Sequent_Calculus_Verifier begin
text \<open>In this theory, we collect our soundness and completeness results and prove some extra results
linking the SeCaV proof system, the usual semantics of SeCaV, and our bounded semantics.\<close>
su... | {"author": "isabelle-prover", "repo": "mirror-afp-devel", "sha": "c84055551f07621736c3eb6a1ef4fb7e8cc57dd1", "save_path": "github-repos/isabelle/isabelle-prover-mirror-afp-devel", "path": "github-repos/isabelle/isabelle-prover-mirror-afp-devel/mirror-afp-devel-c84055551f07621736c3eb6a1ef4fb7e8cc57dd1/thys/FOL_Seq_Calc2... |
import datetime
import json
import os
import os.path as osp
import shutil
import sys
import tempfile
import time
from abc import ABC, abstractmethod
from collections import defaultdict
from contextlib import contextmanager
from functools import partial, wraps
import wandb
from mpi4py import MPI
def mpi_weighted_mean... | {"hexsha": "8a707547b50306bec308d6371ea5993a87707235", "size": 17709, "ext": "py", "lang": "Python", "max_stars_repo_path": "phasic_policy_gradient/logger.py", "max_stars_repo_name": "RobertKirk/phasic-policy-gradient", "max_stars_repo_head_hexsha": "f1a68ac40dc25781128e4bfb71dffb82a14722e5", "max_stars_repo_licenses":... |
"""Wrapper classes for Trial protos and other messages in them.
Example usage:
trial = Trial.from_proto(trial_proto)
print('This trial's auc is: ', trial.final_measurement.metrics['auc'].value)
print('This trial had parameter "n_hidden_layers": ',
trial.parameters['n_hidden_layers'].value)
"""
import co... | {"hexsha": "391d034380f97805a6427c27b1f7de6c63eecd49", "size": 16456, "ext": "py", "lang": "Python", "max_stars_repo_path": "vizier/_src/pyvizier/shared/trial.py", "max_stars_repo_name": "google/vizier", "max_stars_repo_head_hexsha": "12b64ce191410e1c3a79a98472a1b17811290ed3", "max_stars_repo_licenses": ["Apache-2.0"],... |
using LinearAlgebra
A = [3 1; 2 2]
e, u = eigen(A)
println("Eigenvalues=", e)
println("D=", u) | {"hexsha": "6de225ad124e022d7a3b87008eaf1675aa803721", "size": 97, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "linear_algebra/diagonalization.jl", "max_stars_repo_name": "nocotan/numerical_calculus.jl", "max_stars_repo_head_hexsha": "76b46b22d04e2e7e82cf44788c4f48ce25d59847", "max_stars_repo_licenses": ["MIT"... |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import init
import gym
import numpy as np
from meat import visualize
import neat
import os
init.touch()
env = gym.make('CartPole-v0').unwrapped
max_episode = 10
winner_max_episode = 10
episode_step = 50 # c... | {"hexsha": "a5afbe53aa851d7d7e8c360a4ddb9736035a70e1", "size": 2859, "ext": "py", "lang": "Python", "max_stars_repo_path": "meat/CartPole/v0/cartPole.py", "max_stars_repo_name": "oushu1zhangxiangxuan1/learn-neat", "max_stars_repo_head_hexsha": "f185e12282bf4346351cc4d6cfa75238c38afa51", "max_stars_repo_licenses": ["Apa... |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import sys
import os
import time
import argparse
import shutil
import math
import numpy as np
import torch
import torch.nn as nn
import torch.optim as optim
from tensorboardX import SummaryWriter
from torchvision.models import resnet
from nni.a... | {"hexsha": "c70bfe785cb1e4037f4544bcb3f02d555aee64fc", "size": 9571, "ext": "py", "lang": "Python", "max_stars_repo_path": "examples/model_compress/pruning/amc/amc_train.py", "max_stars_repo_name": "dutxubo/nni", "max_stars_repo_head_hexsha": "c16f4e1c89b54b8b80661ef0072433d255ad2d24", "max_stars_repo_licenses": ["MIT"... |
# Copyright 2019 Graphcore Ltd.
from resnet_base import ResNet
import numpy as np
import popart
# This is all written for: NCHW
class PopartBuilderResNet(ResNet):
def __init__(self, *args, **kwargs):
self.builder = popart.Builder()
self.dtype = np.float16
super(PopartBuilderResNet, self)... | {"hexsha": "918e690791b88dd088197b7d7d0068bac2e5aa2b", "size": 5941, "ext": "py", "lang": "Python", "max_stars_repo_path": "applications/popart/resnet/resnet_builder.py", "max_stars_repo_name": "Splendon/examples", "max_stars_repo_head_hexsha": "ed4a8a01857b6ddca49559141acf5d0986eb01e1", "max_stars_repo_licenses": ["MI... |
import pandas as pd
import numpy as np
import pokebase as pb
from itables import init_notebook_mode
import seaborn as sns
import matplotlib.pyplot as plt
from urllib.error import HTTPError
from IPython.display import Image
import umap
import pickle
import logging
def load_pickle(filename):
with open(filename, 'rb... | {"hexsha": "e079a03e54b6127280ad09aec15aa7fd5e9d28dc", "size": 5659, "ext": "py", "lang": "Python", "max_stars_repo_path": "pokepareto.py", "max_stars_repo_name": "drsaunders/PokeParetoSS", "max_stars_repo_head_hexsha": "210485f202aad1d2c7c8afa7beccaade7e16cca3", "max_stars_repo_licenses": ["MIT"], "max_stars_count": n... |
import sys
import cv2
import numpy as np
import pyautogui
from PIL import ImageDraw, ImageGrab
from base_camera import BaseCamera
class Camera(BaseCamera):
@staticmethod
def frames():
while True:
img = ImageGrab.grab()
img = Camera.draw_mouse(img)
img_np = np.arra... | {"hexsha": "de89507051a6cb6574821c647c434080976796cd", "size": 724, "ext": "py", "lang": "Python", "max_stars_repo_path": "camera_desktop.py", "max_stars_repo_name": "biwalsh72/notscreenshare", "max_stars_repo_head_hexsha": "7ee45bb3cce56285775f16584a492ac9fcddb4a8", "max_stars_repo_licenses": ["MIT"], "max_stars_count... |
#include <iostream>
#include <string>
#include <boost/lexical_cast.hpp>
#include <mesos/resources.hpp>
#include <mesos/scheduler.hpp>
#include <mesos/type_utils.hpp>
#include <stout/os.hpp>
#include <stout/path.hpp>
using namespace std;
using namespace mesos;
using boost::lexical_cast;
using mesos::Resources;
using me... | {"hexsha": "3ccacab610bd89b6965302e65d988d6b9bc37c85", "size": 7957, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "my_mesos_framework/my_framework.cpp", "max_stars_repo_name": "ejinqhu/mesos_doc", "max_stars_repo_head_hexsha": "3cc41de4d895f0f081e173ea32f4f3520393da9f", "max_stars_repo_licenses": ["Apache-2.0"],... |
[STATEMENT]
lemma pts_symbolic_c_preserves_well_analyzed:
assumes "(\<S>,\<A>) \<Rightarrow>\<^sup>\<bullet>\<^sub>c\<^sup>* (\<S>',\<A>')" "well_analyzed \<A>"
shows "well_analyzed \<A>'"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. well_analyzed \<A>'
[PROOF STEP]
using assms
[PROOF STATE]
proof (prove)
usin... | {"llama_tokens": 10312, "file": "Stateful_Protocol_Composition_and_Typing_Typing_Result", "length": 29} |
from .action import default_kwargs, plot_action, generate_arg_and_kwags, get_value, get_subset, Iget_factor
from .action import DataSource, AxPlot
import pandas as pd
import numpy as np
from func_helper import pip
import func_helper.func_helper.iterator as it
def _factor_bar_plotter(
df: DataSource,
x, # fac... | {"hexsha": "056edfe3fd5be1783b89b2d855f17425ff825777", "size": 7241, "ext": "py", "lang": "Python", "max_stars_repo_path": "matdat/plot/bar.py", "max_stars_repo_name": "Fumipo-Theta/matdat", "max_stars_repo_head_hexsha": "cb55acd346acef5f192d71c835b8fbe5c957cc55", "max_stars_repo_licenses": ["BSD-2-Clause"], "max_stars... |
"""
.. module:: utilities
:platform: Windows
:synopsis: Implementation of various functions that ease the work,
but do not belong in one of the other modules.
.. moduleauthor:: Wouter Gins <wouter.gins@fys.kuleuven.be>
"""
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
import ... | {"hexsha": "d1b7e06dc005572d83779e5fbc2d0d32b031f533", "size": 16222, "ext": "py", "lang": "Python", "max_stars_repo_path": "polarization/utilities.py", "max_stars_repo_name": "woutergins/polarization", "max_stars_repo_head_hexsha": "9fdd537b298e1f0391e32ab3fe3d5ae30360c7f4", "max_stars_repo_licenses": ["MIT"], "max_st... |
'''
Classes for generating organization models of particles and filaments in tomograms
'''
import os
import gc
import sys
import vtk
import abc
import math
import time
import random
import shutil
import numpy as np
import scipy as sp
import ctypes
import multiprocessing as mp
import pyto
from pyorg import pexceptions... | {"hexsha": "166bc28c039df1479bdc13da58de76d2f95ff4af", "size": 69809, "ext": "py", "lang": "Python", "max_stars_repo_path": "code/pyorg/surf/model.py", "max_stars_repo_name": "anmartinezs/pyseg_system", "max_stars_repo_head_hexsha": "5bb07c7901062452a34b73f376057cabc15a13c3", "max_stars_repo_licenses": ["Apache-2.0"], ... |
import argparse
import os
import cv2
import numpy as np
import torch
import librosa
import torchaudio
import pickle
from util.util import save_pickle,load_pickle_file
RESULTS_PATH_DEFAULT = '/content/Pix2Pix-VC/results/noise_pix2pix/test_latest/images'
SAVE_PATH_DEFAULT = '/content/Pix2Pix-VC/data_cache/results'
CACH... | {"hexsha": "a03f0d945396f5d70fbc343fa63505ff28d2d874", "size": 3276, "ext": "py", "lang": "Python", "max_stars_repo_path": "datasets/convertResults.py", "max_stars_repo_name": "leandermaben/Pix2Pix-VC", "max_stars_repo_head_hexsha": "5131b092ec09e5ddffa7b0d15abb2c16e7ebdd2c", "max_stars_repo_licenses": ["BSD-3-Clause"]... |
from multiprocessing import RawArray, Array # type: ignore
import threading
import unittest
import ctypes
from disruptor.factory import EventFactory
from disruptor.disruptor import Disruptor, DisruptorClosed, PublisherAlreadyRegistered
from disruptor.sequence import Sequence
from time import sleep
import numpy as np... | {"hexsha": "4948b0c6c8e6f8f3d51147f58e275b5c6cc6b6c1", "size": 4839, "ext": "py", "lang": "Python", "max_stars_repo_path": "test.py", "max_stars_repo_name": "jaycosaur/python-disruptor", "max_stars_repo_head_hexsha": "5e2aa2ad425223c3b37a668972dffd32b15bb363", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1, "... |
using PartialSvdStoch, Test
using LowRankApprox
function testvrpca_withLowRankApprox(mat, k)
#
normMat = norm(mat)
# get initial spectrum from psvd
opts = LRAOptions(rank=k, rtol=0.001)
@info "testvrpca_withLowRankApprox : initialization"
@time Uguess, Sguess, Vguess = psvd(mat,opts)
matG... | {"hexsha": "e0429006558f304f98c88101aca63107d50d50f4", "size": 2126, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "test/testvrpca.jl", "max_stars_repo_name": "jean-pierreBoth/PartialSvdStoch.jl", "max_stars_repo_head_hexsha": "81b60062448199ba88f0e6050ea1664a02fa17f1", "max_stars_repo_licenses": ["Apache-2.0", ... |
import os
import numpy as np
import torch
import matplotlib.pyplot as plt
from PIL import Image
def npz_png(npzfile, prefix="classifier_sample", suffix="", folder='../results'):
""" converts npz to png; only powers of 2
eg. if npz shape == 6,256,256,3, only first 4 items will be stored
"""
ar = np.... | {"hexsha": "3155ea59a39e0ecc716e22ba5f45a0ff16209fde", "size": 4331, "ext": "py", "lang": "Python", "max_stars_repo_path": "scripts/utils.py", "max_stars_repo_name": "xvdp/guided-diffusion", "max_stars_repo_head_hexsha": "dd5122b00ab42f4d93b0c749d101415fccbb5bda", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
(* Property from Case-Analysis for Rippling and Inductive Proof,
Moa Johansson, Lucas Dixon and Alan Bundy, ITP 2010.
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... | {"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/Isaplanner/Isaplanner/TIP_prop_14.thy"} |
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from six.moves import range
import vtool.keypoint as ktool
import vtool.linalg as ltool
import numpy as np
import utool as ut
from vtool import demodata
from vtool.util_math import TAU
def test_get_invR_mats_orientation():
th... | {"hexsha": "5fb5411519f197d3956a7854f06f50665ac0974b", "size": 1193, "ext": "py", "lang": "Python", "max_stars_repo_path": "tests/test_vtool.py", "max_stars_repo_name": "WildMeOrg/wbia-vtool", "max_stars_repo_head_hexsha": "a9c7e2649c625b26eb074766c1d9018f432a33c6", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars... |
subroutine stone_rlp(rlc, drlc, ii, rl, drlw, drlg, drlk,
& rv, drvw, drvg, drvk, r, drw, drg, drk)
!***********************************************************************
! Copyright 2010 Los Alamos National Security, LLC All rights reserved
! Unless otherwise indicated, this information has been autho... | {"hexsha": "86036e216d23e99fc42a89c7e15e4ccdba023c88", "size": 2402, "ext": "f", "lang": "FORTRAN", "max_stars_repo_path": "src/stone_rlp.f", "max_stars_repo_name": "satkarra/FEHM", "max_stars_repo_head_hexsha": "5d8d8811bf283fcca0a8a2a1479f442d95371968", "max_stars_repo_licenses": ["BSD-3-Clause"], "max_stars_count": ... |
import dash
import dash_html_components as html
from character import Character
from dash.dependencies import Input, Output, State
import plotly.express as px
import dash_core_components as dcc
import dash_bootstrap_components as dbc
import layout
from data import Data
from user import User
import numpy as np
from date... | {"hexsha": "4fc1166f727e4725f2b4b10342283d853e85ec93", "size": 35204, "ext": "py", "lang": "Python", "max_stars_repo_path": "app.py", "max_stars_repo_name": "changsoooo/kisra-1", "max_stars_repo_head_hexsha": "dce2132df97d2b20d9019fa3421540895a097183", "max_stars_repo_licenses": ["FTL"], "max_stars_count": null, "max_s... |
[STATEMENT]
lemma relation_of_spec_t_f:
"\<forall>a b. (relation_of y \<longrightarrow> relation_of x) (a, b) \<Longrightarrow>
(relation_of y)\<^sup>t\<^sub>f (a\<lparr>tr := []\<rparr>, b) \<Longrightarrow>
(relation_of x)\<^sup>t\<^sub>f (a\<lparr>tr := []\<rparr>, b)"
[PROOF STATE]
... | {"llama_tokens": 262, "file": "Circus_Circus_Actions", "length": 1} |
#!/usr/bin/env python
import numpy;
import tensor;
def ctor(verbose):
dat = numpy.arange(24);
dat[10] = 100;
dat[16] = -1;
siz = numpy.array([4,3,2]);
obj = tensor.tensor(dat, siz);
if(verbose == 1):
print obj;
print obj.ndims();
obj2 = tensor.tensor(dat.reshape(... | {"hexsha": "e1a058498405bf11bafbf3972af80a7e0048bb6b", "size": 2234, "ext": "py", "lang": "Python", "max_stars_repo_path": "tensorlib/tensorTests.py", "max_stars_repo_name": "pengyuan/markov2tensor", "max_stars_repo_head_hexsha": "4bcdcba6273dc7b671d81953da934188135dbca3", "max_stars_repo_licenses": ["MIT"], "max_stars... |
[STATEMENT]
lemma arcs_ends_mono:
assumes "subgraph H G"
shows "arcs_ends H \<subseteq> arcs_ends G"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. arcs_ends H \<subseteq> arcs_ends G
[PROOF STEP]
using assms
[PROOF STATE]
proof (prove)
using this:
subgraph H G
goal (1 subgoal):
1. arcs_ends H \<subseteq> arcs... | {"llama_tokens": 169, "file": "Graph_Theory_Digraph_Component", "length": 2} |
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""Covariance class"""
import numpy as np
import scipy
from .parameter import Parameters
__all__ = ["Covariance"]
class Covariance:
"""Parameter covariance class
Parameters
----------
parameters : `~gammapy.modeling.Parameters`
... | {"hexsha": "2b592a52800de9c09697e44fcbb1d9b40956d06f", "size": 5791, "ext": "py", "lang": "Python", "max_stars_repo_path": "gammapy/modeling/covariance.py", "max_stars_repo_name": "JohannesBuchner/gammapy", "max_stars_repo_head_hexsha": "48769519f04b7df7b3e4580ebb61396445790bc3", "max_stars_repo_licenses": ["BSD-3-Clau... |
import pathlib
import numpy as np
from sklearn.base import BaseEstimator, ClassifierMixin
from rasa.cli.utils import get_validated_path
from rasa.model import get_model, get_model_subdirectories
from rasa.core.interpreter import RasaNLUInterpreter
def load_interpreter(model_dir, model):
path_str = str(pathlib.Pa... | {"hexsha": "e6ac45868252242252dc7691a17e6e104057d682", "size": 2284, "ext": "py", "lang": "Python", "max_stars_repo_path": "rasa_nlu_examples/scikit/classifier.py", "max_stars_repo_name": "tienhoang1994/rasa-nlu-examples", "max_stars_repo_head_hexsha": "fe12dbc814d992382c1ca1d926b340139200928f", "max_stars_repo_license... |
"""
modularity.py
Plots for modularity analysis
"""
import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np
mpl.rcParams['xtick.labelsize'] = 24
mpl.rcParams['ytick.labelsize'] = 24
from Connectome.format_igraph import *
ADULT_COL = '#FFC300'
L4_COL = '#3380FF'
def adjacency_matrix(fig,ax,ver... | {"hexsha": "6f8cc2e2c9df8a96268a3feccd474b27244dc30f", "size": 2066, "ext": "py", "lang": "Python", "max_stars_repo_path": "volumetric_analysis/figures/modularity.py", "max_stars_repo_name": "cabrittin/volumetric_analysis", "max_stars_repo_head_hexsha": "82004378abae963ef02858bf4711786dad76f133", "max_stars_repo_licens... |
// Copyright 2018 The Beam Team
//
// 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... | {"hexsha": "4fc60901864134a9377dd78469f856460f009944", "size": 2873, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "ui/model/node_model.cpp", "max_stars_repo_name": "1M15M3/beam", "max_stars_repo_head_hexsha": "9c0a93488f3ba6dab6e716750d76c5257ef2e5b2", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_count"... |
using Simplices, SimplexSplitting, StaticArrays
function potentially_intersecting_simplices(t::Triangulation, image_i::Int)
inds_potential_simplices = Int[]
n_simplices = length(t.radii)
@inbounds for i = 1:n_simplices
dist_difference = ((t.centroids_im[image_i] - t.centroids[i]).' *
... | {"hexsha": "974f0d0e1d4400e1ce0cea6c2171646cb7e314e7", "size": 3000, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/mm_approx/mm_dd.jl", "max_stars_repo_name": "JuliaTagBot/InvariantDistribution.jl", "max_stars_repo_head_hexsha": "885ba204685bf4fd439d8307259eb6a9ad33cb5f", "max_stars_repo_licenses": ["MIT"],... |
#include <boost/test/unit_test.hpp>
#include <boost/wave.hpp>
#include <sstream>
#include "lexer.h"
#include "main.p4"
BOOST_AUTO_TEST_SUITE(wave_test_suite);
BOOST_AUTO_TEST_CASE(test_main)
{
using token_type = p4l::p4lex_token<>;
using lexer_type = p4l::p4lex_iterator<token_type>;
using context_type = boost::w... | {"hexsha": "81f56dc7504e3ef70b3569b546c3453eb1111973", "size": 1480, "ext": "cpp", "lang": "C++", "max_stars_repo_path": "test/wave_test.cpp", "max_stars_repo_name": "emacsmirror/lsp-p4", "max_stars_repo_head_hexsha": "669460d93b87fb876df11b2b68229677e7ad1a26", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 15.... |
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
import sys
import ast
import math
import random
import copy
import keras
import tensorflow as tf
import pandas as pd
import numpy as np
from keras import regularizers
from keras.utils import plot_model
from keras.layers import Dropout, Flatten, Dense, Conv2D, Separable... | {"hexsha": "0573e37ff89e79174fa241b858f4782ffabb03c3", "size": 95007, "ext": "py", "lang": "Python", "max_stars_repo_path": "scripts/model_builder/model_builder.py", "max_stars_repo_name": "AndAgio/Shallow2Deep", "max_stars_repo_head_hexsha": "e42e9b3b11fdd2ec035144890a88e93a5154276f", "max_stars_repo_licenses": ["Apac... |
"""
This file contains the implementation of the trapezoidal rule
"""
import numpy as np
def evaluate(x, f):
a = x[0]
b = x[1]
ya = f(a)
yb = f(b)
I = (b - a) * (ya + yb) / 2.
return I
| {"hexsha": "b9d3865b994850d9e026762ac20c6c37852eab7e", "size": 212, "ext": "py", "lang": "Python", "max_stars_repo_path": "integrate/newton_cotes/trapz.py", "max_stars_repo_name": "mtesseracted/integrate", "max_stars_repo_head_hexsha": "1e97501e406d71b03e73fce2db692bff6bb4dcde", "max_stars_repo_licenses": ["BSD-3-Claus... |
# -*- coding: utf-8 -*-
import sys
import os
sys.path.append(os.path.join('./decision-tree/'))
import decision_tree as dt
import numpy as np
def main():
# Create a random dataset
rng = np.random.RandomState(1)
X = np.sort(5 * rng.rand(80, 1), axis=0)
y = np.sin(X).ravel()
y[::5] += 3 * (0.5 - rn... | {"hexsha": "c5440ec8ac56a751f3087eee954be461e783aea2", "size": 704, "ext": "py", "lang": "Python", "max_stars_repo_path": "regressor-example.py", "max_stars_repo_name": "fisproject/decision-tree-in-python", "max_stars_repo_head_hexsha": "366bc31eb13f6f4d31666512dd1a598fc1810dc5", "max_stars_repo_licenses": ["MIT"], "ma... |
import tensorflow as tf
from copy import deepcopy
import numpy as np
import time
import json
import tqdm
from base import *
from lm import loss
from lm import stop
class Config(wb.Config):
def __init__(self, data_or_vocab_size=1000, hidden_size=200, hidden_layers=2):
if isinstance(data_or_v... | {"hexsha": "b39f30a6e1689696ef60e04655acc9b385de94fc", "size": 14353, "ext": "py", "lang": "Python", "max_stars_repo_path": "trf/isample/lstm.py", "max_stars_repo_name": "thu-spmi/semi-EBM", "max_stars_repo_head_hexsha": "393e3ea3566dd60c48872a5c573a335e8e802707", "max_stars_repo_licenses": ["Apache-2.0"], "max_stars_c... |
[STATEMENT]
lemma prefix_fininf_le_inf_transp[intro, trans]:
assumes "w\<^sub>1 \<le>\<^sub>F\<^sub>I w\<^sub>2" "w\<^sub>2 \<preceq>\<^sub>I w\<^sub>3"
shows "w\<^sub>1 \<preceq>\<^sub>F\<^sub>I w\<^sub>3"
[PROOF STATE]
proof (prove)
goal (1 subgoal):
1. w\<^sub>1 \<preceq>\<^sub>F\<^sub>I w\<^sub>3
[PROO... | {"llama_tokens": 255, "file": "Partial_Order_Reduction_Traces", "length": 2} |
# Copyright (c) 2021 Yaser Martinez-Palenzuela, Deutsche Telekom AG
# This software is distributed under the terms of the MIT license
# which is available at https://opensource.org/licenses/MIT
import collections
import itertools
import json
import numbers
import random
from pathlib import Path
from typing import List... | {"hexsha": "3bc240ca80d40e28ad3887848e78d5b409aaea14", "size": 17915, "ext": "py", "lang": "Python", "max_stars_repo_path": "nlubridge/datasets.py", "max_stars_repo_name": "telekom/nlu-bridge", "max_stars_repo_head_hexsha": "dd3b94eb0eab7899a74b00d8489cbcfabe0df4b0", "max_stars_repo_licenses": ["MIT"], "max_stars_count... |
using Random, Plots
using Zygote, ForwardDiff
using OrdinaryDiffEq, DiffEqSensitivity
using LinearAlgebra
using Statistics
using ProgressBars, Printf
using Flux
using Flux.Optimise: update!
using Flux.Losses: mae, mse
using BSON: @save, @load
using DelimitedFiles
using YAML
ENV["GKSwstype"] = "100"
cd(dirname(@__DIR_... | {"hexsha": "932e7f98ee237fc5326dbee53e71c8a902cf53da", "size": 1863, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/header.jl", "max_stars_repo_name": "DENG-MIT/Biomass.jl", "max_stars_repo_head_hexsha": "d4909dfc750d2a063ba5e4a851bf5dffd4021e23", "max_stars_repo_licenses": ["MIT"], "max_stars_count": 1, "ma... |
# coding: utf-8
import cv2
import numpy as np
import torch
# 类的作用
# 1.编写梯度获取hook
# 2.网络层上注册hook
# 3.运行网络forward backward
# 4.根据梯度和特征输出热力图
class ShowGradCam:
def __init__(self, conv_layer):
assert isinstance(
conv_layer, torch.nn.Module), "input layer should be torch.nn.Module"
self.co... | {"hexsha": "6b72543da505f02498cac4c108a5e3413fd2c727", "size": 4365, "ext": "py", "lang": "Python", "max_stars_repo_path": "tools/grad_cam.py", "max_stars_repo_name": "Michael-Steven/Crack_Image_WSOD", "max_stars_repo_head_hexsha": "4e8591a7c0768cee9eb7240bb9debd54824f5b33", "max_stars_repo_licenses": ["MIT"], "max_sta... |
import tensorflow as tf
tf.keras.backend.set_learning_phase(0)
MODEL_PATH = "./tensorRT/model"
import tensorflow.contrib.tensorrt as trt
from tensorflow.python.platform import gfile
import cv2
import numpy as np
import time
from tensorflow.keras.models import model_from_json
from tensorflow.keras.utils import CustomObj... | {"hexsha": "a31543d30101d030958af799485d6a2409b78ab8", "size": 4718, "ext": "py", "lang": "Python", "max_stars_repo_path": "DiRa_Software/Reference/Source code final 2018-2019/PTIT-Fast-and-Fiery_Digital_race_2019/Keras_to_TRT.py", "max_stars_repo_name": "lamhoangtung/DiRa", "max_stars_repo_head_hexsha": "6e92f465c0197... |
import numpy as np
#result=np.array([1,3,5,7,9])
#result=np.arange(1,10)
#result=np.arange(10,100,3) #Between 10 and 100 (include 10, except 100) increase by 3
#result=np.zeros(10) #float values
#result=np.ones(10) #float values
#result=np.linspace(0,100,5) #Divide numbers between 0 and 100 by equal parts
#result=np.l... | {"hexsha": "0fa0dd50dd2386ed7238ef59b4e2ade54340b436", "size": 1059, "ext": "py", "lang": "Python", "max_stars_repo_path": "Numpy/arrays.py", "max_stars_repo_name": "cyrionp/PythonLectures", "max_stars_repo_head_hexsha": "64348479434ed9aea54010f6f165b92eb597b994", "max_stars_repo_licenses": ["MIT"], "max_stars_count": ... |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# Description
# ==============================================================================
#
# This file contains functions to create printing recipes.
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ... | {"hexsha": "bf46c30334e503fbae93bb90270df84ca1b94aab", "size": 11758, "ext": "jl", "lang": "Julia", "max_stars_repo_path": "src/backends/text/recipes.jl", "max_stars_repo_name": "waldyrious/PrettyTables.jl", "max_stars_repo_head_hexsha": "5aea4f21b5a51ce8e160de88ffe7c12838a71f5f", "max_stars_repo_licenses": ["MIT"], "m... |
import numpy as np
def lsq(X, y):
"""
Least squares linear regression
:param X: Input data matrix
:param y: Target vector
:return: Estimated coefficient vector for the linear regression
"""
# add column of ones for the intercept
ones = np.ones((len(X), 1))
X = np.concatenate((ones... | {"hexsha": "94c8eee59411c1e1dab61a402df8a966763ab80a", "size": 985, "ext": "py", "lang": "Python", "max_stars_repo_path": "practicals/code/linear_regression.py", "max_stars_repo_name": "tdewaard/8dm40-machine-learning-GROUP6", "max_stars_repo_head_hexsha": "8eeb3ee3b9a0c0cbbd7ffd0055bec5c66f0b4b56", "max_stars_repo_lic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.