seq_id stringlengths 4 11 | text stringlengths 113 2.92M | repo_name stringlengths 4 125 ⌀ | sub_path stringlengths 3 214 | file_name stringlengths 3 160 | file_ext stringclasses 18
values | file_size_in_byte int64 113 2.92M | program_lang stringclasses 1
value | lang stringclasses 93
values | doc_type stringclasses 1
value | stars int64 0 179k ⌀ | dataset stringclasses 3
values | pt stringclasses 78
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
40174507966 | # 访问链接
import requests
# 进度条
from tqdm import tqdm
# 定义一个类来构造方法
class Music:
def __init__(self):
"""
通过用户输入的歌曲名搜索对应的音乐列表
:return: 歌曲列表链接
"""
a = input('请输入想要下载的歌曲名称:')
__url = f'http://www.kuwo.cn/api/www/search/searchMusicBykeyWord?key={a}&pn=1&rn=20&http... | UIGNB123/kuwo | 面向对象式酷我音乐爬虫,引入init方法和私有方法.py | 面向对象式酷我音乐爬虫,引入init方法和私有方法.py | py | 3,171 | python | zh | code | 1 | github-code | 36 |
30293317516 | from gc import callbacks
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import tensorflow as tf
import scipy
import keras
from keras.models import Sequential
from keras.layers import Convolution2D
from keras.layers import MaxPooling2D
from keras.layers import Flatten
from keras.layers... | hafeezkhan909/Detection-of-Cavities-from-Oral-Images-using-Convolutional-Neural-Networks | main.py | main.py | py | 5,653 | python | en | code | 1 | github-code | 36 |
73876350504 | from gwibber.microblog import network, util
import cgi
from oauth import oauth
from gwibber.microblog.util import resources
from gettext import lgettext as _
import logging
logger = logging.getLogger("Twitter")
logger.debug("Initializing.")
PROTOCOL_INFO = {
"name": "Twitter",
"version": "1.0",
"config": [
... | thnguyn2/ECE_527_MP | mp4/SD_card/partition1/usr/share/gwibber/plugins/twitter/__init__.py | __init__.py | py | 18,053 | python | en | code | 0 | github-code | 36 |
22279183529 | import time
from wflow_sdk.core.dataset import WFlowDataset
from torch.utils.data import DataLoader
from torchvision import transforms
from torch.nn.utils.rnn import pad_sequence
import random
import json
import torch
import sys
import librosa
sys.path.append('../')
from dataset.tokenization import BertTokenizer
from u... | MLgdg/Video-Clip | video_class/dataset/wflow_dataset.py | wflow_dataset.py | py | 16,264 | python | en | code | 0 | github-code | 36 |
35075338683 | class Sort:
def __init__(self,A,increasing = True):
self.A = A
self.increasing = increasing
def QuickSort(self,p,r):
if p<r:
q = self.Partation(p,r)
self.QuickSort(p,q)
self.QuickSort(q+1,r)
def Partation(self,p,r):
x = self.A[r-1]
... | sayedgamal99/INTRO-TO-ALGORITHMS | Code/QuickSort.py | QuickSort.py | py | 805 | python | en | code | 1 | github-code | 36 |
26966511059 | import pandas as pd
import numpy as np
import re
from itertools import chain
from sklearn.preprocessing import StandardScaler
from sklearn.compose import ColumnTransformer
from sklearn.pipeline import Pipeline
import pickle
with open('only_viruses.pkl','rb') as f:
only_viruses = pickle.load(f)
with op... | IlyaMescheryakov1402/virus-predictor | predict.py | predict.py | py | 2,977 | python | en | code | 0 | github-code | 36 |
3898601830 | import numpy as np
data = np.loadtxt("input.txt", delimiter=',', dtype='str')
p1 = 0
p2 = 0
for d in data:
# split each element by dashes
elf1_start, elf1_end = d[0].split('-')
elf2_start, elf2_end = d[1].split('-')
elf1_start = int(elf1_start)
elf1_end = int(elf1_end)
elf2_start = int(elf2... | jackhenshaw/adventOfCode2022 | day04/day4.py | day4.py | py | 854 | python | en | code | 0 | github-code | 36 |
36867704347 | import spacy
nlp = spacy.load('en_core_web_md')
############
word1 = nlp("cat")
word2 = nlp("monkey")
word3 = nlp("banana")
print(word1.similarity(word2))
print(word3.similarity(word2))
print(word3.similarity(word1))
#############
tokens = nlp('cat apple monkey banana')
for token1 in tokens:
for token2 in toke... | rauldesor/T38 | semantic.py | semantic.py | py | 1,163 | python | en | code | 0 | github-code | 36 |
9866673394 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Étape 1: sélectionner les mots ayant la bonne largeur
# Chemin vers le fichier contenant ma liste de mots
# Ici je prends une liste plus courte que ce soit plus rapide à calculer
fichier = 'dict/Francais_Lettre-A_1.txt'
# J’ouvre et je lis le f... | rmfrt/DrawBot | WordWidth.py | WordWidth.py | py | 2,152 | python | fr | code | 0 | github-code | 36 |
11469122465 | import tensorflow as tf
import tensorflow_probability as tfp
import numpy as np
import time
import utils
def get_pNK_test_obs(
ls, sigmas, sigma0s,
nhyp,
X, # (nobs, xdim)
test_xs, # (ntest, xdim)
dtype=tf.float32
):
"""
Returns
... | ZhaoxuanWu/Trusted-Maximizers-Entropy-Search-BO | criteria/evaluate_sample_mp.py | evaluate_sample_mp.py | py | 11,291 | python | en | code | 3 | github-code | 36 |
966762603 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from textwrap import dedent
import argparse
import logging
import numpy as np
np.set_printoptions(precision=1)
from scipy.sparse import load_npz
from surface_stiffness.matrix import (
fourier_transform_symmetric_square_block_matrix,
OrderedVectorToRectan... | wgnoehring/surface_stiffness | scripts/fourier_transform_greens_functions.py | fourier_transform_greens_functions.py | py | 3,013 | python | en | code | 0 | github-code | 36 |
32707616661 | import pygame
from pygame.locals import *
class abstractCell:
def __init__ (self):
"cell basic class"
self.northWallBroken = False
self.eastWallBroken = False
self.westWallBroken = False
self.southWallBroken = False
"if visited"
self.visited = False
self.neighbours = []
"coords"
self.x = 0
s... | Sheepaay/Maze-Generation | cell.py | cell.py | py | 2,254 | python | en | code | 0 | github-code | 36 |
74120520424 | import pygame,sys
from pygame.locals import *
from GUI_formulario_prueba import FormPrincipal
from constantes import *
pygame.init()
pygame.display.set_caption("Robot Blaster Adventure")
RELOJ = pygame.time.Clock()
PANTALLA = pygame.display.set_mode((ANCHO_PANTALLA,ALTO_PANTALLA))
imagen_fondo = pygame.imag... | valverdecristian/cristian_valverde_tp_pygame | main_principal.py | main_principal.py | py | 1,647 | python | es | code | 0 | github-code | 36 |
34112296996 | #!/usr/bin/env python3
import time
import sys
import psycopg2
import configparser
from json import dumps
from json import loads
import stomp
###############################################################################
# Globals
###############################################################################
config... | pumpingstationone/DeepHarborCRM | DHDispatcher/dispatcher.py | dispatcher.py | py | 3,088 | python | en | code | 2 | github-code | 36 |
16667023084 | import torch, torch.nn, torch.nn.functional as F
import pytorch_lightning as pl
from tqdm import tqdm
from pathlib import Path
from argparse import ArgumentParser, Namespace
from itertools import count
import time, os
from train import Unet3D, QureDataset
def predict(args):
checkpoint_path = Path(args.checkpo... | xeTaiz/dvao | infer.py | infer.py | py | 3,255 | python | en | code | 6 | github-code | 36 |
22805925879 | import fiftyone as fo
import fiftyone.zoo as foz
dataset = foz.load_zoo_dataset("quickstart")
# Create a custom App config
app_config = fo.AppConfig()
app_config.show_confidence = True
app_config.show_attributes = True
session = fo.launch_app(dataset, config=app_config, port=5151)
session.wait() | patharanordev/ds51vis | sample.py | sample.py | py | 300 | python | en | code | 0 | github-code | 36 |
12644189947 | import os
import music21 as m21
import numpy as np
from tensorflow import keras
import tensorflow as tf
import json
# globals
# ex : "dataset/deutschl/test"
DATASET_DIR = "dataset/deutschl/erk"
# ex : "preprocessed/encode/deutschl/test"
ENCODED_SAVE_DIR = "preprocessed/encode/deutschl/erk"
# ex : "preprocessed/singl... | Audirea/music-generator | preprocessing.py | preprocessing.py | py | 7,365 | python | en | code | 0 | github-code | 36 |
73495572584 | n = 10
dodatnie = 0
ujemne = 0
while n != 0:
n = float(input(n))
if n >= 0:
dodatnie+=1
else:
ujemne+=1
print("Ilosc liczb dodatnich:",dodatnie-1,"Ilosc liczb ujemnych:",ujemne) | GracjanKoscinski/Programowanie | Petle for/3_petle.py | 3_petle.py | py | 228 | python | pl | code | 0 | github-code | 36 |
37753193171 | import requests
from bs4 import BeautifulSoup
from pymongo import MongoClient
from loguru import logger
from tqdm import tqdm
from .dates import DATES
client = MongoClient()
db = client["echo_of_moscow"]
collection = db["error_log_links"]
def links() -> list:
links = []
logger.info("Starting generating")
... | smapl/mos_parse | src/mos_parse/parse_links.py | parse_links.py | py | 1,022 | python | en | code | 0 | github-code | 36 |
3511505451 | from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
class Orderpage:
def __init__(self, driver): # constructor method
self.driver = driver
self.wait = WebDriverWait(self.driver, 10)
... | tadios19/QA_19_POM1 | Src/Pages/OrderPage.py | OrderPage.py | py | 705 | python | en | code | 0 | github-code | 36 |
16636445685 | from enum import Enum
from math import hypot
from typing import Optional, List, Tuple, Union, Type
import torch
from torch import nn, Tensor
__all__ = [
"bilinear_upsample_initializer",
"icnr_init",
"AbstractResizeLayer",
"PixelShuffle",
"PixelShuffleWithLinear",
"BilinearAdditiveUpsample2d",
... | BloodAxe/pytorch-toolbelt | pytorch_toolbelt/modules/upsample.py | upsample.py | py | 9,298 | python | en | code | 1,447 | github-code | 36 |
39497609909 | """
Module for Various functions to simplify and standardize dumping objects to json.
NOTE: this is taken from python-common in nomad-lab-base.
It is copied here to remove the dependency from nomad-lab-base.
For more info on python-common visit:
https://gitlab.mpcdf.mpg.de/nomad-lab/python-common
The author of this ... | angeloziletti/ai4materials | ai4materials/external/json_support.py | json_support.py | py | 5,727 | python | en | code | 36 | github-code | 36 |
23176774568 | from .models import Heroes, Properties
from django.forms import ModelForm, Form, TextInput, Textarea, Select, CheckboxSelectMultiple, CharField,\
MultipleChoiceField, PasswordInput
from django.contrib.auth.models import User
class HeroesForm(ModelForm):
class Meta:
model = Heroes
fields = [
... | Manakhov/7dsgc-wiki | sdsgc_wiki/main/forms.py | forms.py | py | 3,196 | python | en | code | 0 | github-code | 36 |
8692281198 | from aiogram.dispatcher import FSMContext
from aiogram.utils.markdown import bold
from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton, ParseMode
import keyboards
import db
from StateMachine import NewStateMachine
from aiogram.dispatcher.filters.state import State, StatesGroup
from aiogram import Disp... | malumbaaa/jerrybot | handlers/admin/delete_dish_handler.py | delete_dish_handler.py | py | 4,611 | python | en | code | 0 | github-code | 36 |
24712358473 | import pgzrun
from math import *
from random import *
from somefunc import *
from rainstorm import *
from time import *
from attack_effect import *
from pgzero.actor import Actor
from pgzero.loaders import sounds
from pgzero.clock import clock
from pgzero.screen import Screen
from pgzero.rect import Rect
from pgzer... | wyl230/FINal | trial.py | trial.py | py | 2,216 | python | en | code | 0 | github-code | 36 |
19417736221 | examples = Split("""
bigtest.nsi
example1.nsi
example2.nsi
FileFunc.ini
FileFunc.nsi
FileFuncTest.nsi
FontFunc.nsi
gfx.nsi
languages.nsi
Library.nsi
LogicLib.nsi
makensis.nsi
Memento.nsi
one-section.nsi
primes.nsi
rtest.nsi
silent.nsi
StrFunc.nsi
TextFunc.ini
TextFunc.nsi
TextFuncTest.nsi
UserVars... | jimpark/unsis | unicode-src/Examples/SConscript | SConscript | 1,041 | python | en | code | 58 | github-code | 36 | |
15343540294 | import os
import re
from collections import defaultdict
from multiprocessing import Pool
from multiprocessing.dummy import Pool as ThreadPool
import chess
from chess.pgn import read_game
import numpy as np
def extract_moves(game):
# Takes a game from the pgn and creates list of the board state and the next
#... | mrklees/deepconv-chess | py/data_generator.py | data_generator.py | py | 5,960 | python | en | code | 5 | github-code | 36 |
6435290562 | nums = int(input())
count = 0
for x in range(nums):
thisInput = input().lower()
if "rose" in thisInput or "pink" in thisInput:
count += 1
if count == 0:
print("I must watch Star Wars with my daughter")
else:
print(count)
| DongjiY/Kattis | src/fiftyshades.py | fiftyshades.py | py | 245 | python | en | code | 1 | github-code | 36 |
5221914888 | import matplotlib.pyplot as plt
from constants.spark import Session
from etl import parquet
def createDistributionGraph():
"""
Distribution analysis function
Calculates the distribution of cyclists over the different measurement points
Shows the results in a bar plot
:return: None
"""
wit... | BigUtrecht/BigUtrecht | analysis/distribution.py | distribution.py | py | 1,598 | python | en | code | 0 | github-code | 36 |
18519327488 | import matplotlib.pyplot as plt
import numpy as np
import regression_code as reg
import read_data as read
import plotTrack as plot
import neural_network as NN
import dnn_app_utils_v2 as dnn
#### forum
train_path_forum = 'samples/forum/training_test_set/'
test_path_forum = 'samples/forum/training_test_set/'
model_pa... | jiaren2017/MA_backup | TrajectoryGenerator/trajectory_update/2018_08_09/build_model_forum.py | build_model_forum.py | py | 7,367 | python | en | code | 0 | github-code | 36 |
947889622 | pkgname = "zita-convolver"
pkgver = "4.0.3"
pkgrel = 1
build_wrksrc = "source"
build_style = "makefile"
make_install_args = ["SUFFIX="]
make_use_env = True
makedepends = ["fftw-devel"]
pkgdesc = "Real-time C++ convolution library"
maintainer = "psykose <alice@ayaya.dev>"
license = "GPL-3.0-only"
url = "https://kokkiniz... | chimera-linux/cports | contrib/zita-convolver/template.py | template.py | py | 683 | python | en | code | 119 | github-code | 36 |
39268405678 | class Solution:
# @param word1 & word2: Two string.
# @return: The minimum number of steps.
def minDistance(self, word1, word2):
len1 = len(word1)
len2 = len(word2)
f = [[0 for _ in range(len2 + 1)] for _ in range(len1 + 1)]
for i in range(len1 + 1):
f[i]... | JessCL/LintCode | 119_edit-distance/edit-distance.py | edit-distance.py | py | 765 | python | en | code | 0 | github-code | 36 |
44310759659 | import pygame, colors, random, time, runclass, math, draw
from random import randint
def info(screen, WIDTH, HEIGHT):
# displays the goal of the game with the desired font and pauses for 1.5 seconds before the game starts
info_font = pygame.font.SysFont('Comic Sans MS', 100)
info_message = info_font.render('Rea... | RamboTheGreat/Minigame-Race | run.py | run.py | py | 3,594 | python | en | code | 0 | github-code | 36 |
14208634774 | import trimesh
import subprocess
import time
def reduceVertex(mesh, vertices = 1024):
mesh.export("temp.obj")
subprocess.run(["Manifold/build/manifold", "temp.obj", "temp.obj", "1500"])
mesh = trimesh.load("temp.obj")
n_tries = 0
while(mesh.vertices.shape[0] != vertices):
n_vertices = mes... | texsmv/PCLslimTreeRec | Code/utils.py | utils.py | py | 996 | python | en | code | 0 | github-code | 36 |
33512523837 | import pandas as pd
import missingpy
from _datetime import datetime
# mask = np.loadtxt('mask_pattern.csv', delimiter=',')
# data = pd.read_csv('final_data_missing.csv')
# mask = np.loadtxt('mask_pattern_mcar.csv', delimiter=',')
data = pd.read_csv('missing_Beta_MCAR_85_10_1000.csv')
nulls = data.isnull().sum()
n... | optimization-for-data-driven-science/RIFLE | TrainVsTest/MissForestImputation.py | MissForestImputation.py | py | 855 | python | en | code | 8 | github-code | 36 |
17797629984 | from __future__ import absolute_import, division, print_function, unicode_literals
import os
from builtins import str
from contextlib import contextmanager
from unittest import skipIf
from pants.java.distribution.distribution import Distribution, DistributionLocator
from pants.util.osutil import OS_ALIASES, get_os_na... | fakeNetflix/twitter-repo-pants | tests/python/pants_test/java/distribution/test_distribution_integration.py | test_distribution_integration.py | py | 6,476 | python | en | code | 0 | github-code | 36 |
32824752707 | import cv2
import os
def register():
cam=cv2.VideoCapture(0)
detector=cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
num=input('enter our ID : ')
sampleNum=0
while True:
pwd=os.getcwd()
ret,im=cam.read()
if not ret:
print(ret)
break
... | apoorvamilly/imirror | dataset.py | dataset.py | py | 975 | python | en | code | 0 | github-code | 36 |
14128577518 | #!/usr/local/bin/ python3
# -*- coding:utf-8 -*-
# __author__ = "zenmeder"
# 5. Longest Palindromic Substring
# Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.
class Solution(object):
def longestPalindrome(self, s):
# 复杂度n^2
# 分奇数和偶数情况讨论
"""
... | zenmeder/leetcode | 5.py | 5.py | py | 2,453 | python | en | code | 0 | github-code | 36 |
17090138466 | from flask import Blueprint, render_template, request
auth = Blueprint(
'auth',
__name__,
template_folder='templates',
static_folder='static'
)
@auth.route('/login', methods=['POST', 'GET'])
def login():
if request.method == 'POST':
print(request.form)
return render_template('login.htm... | fortisauris/PyDevJunior2 | FL05_BLUEPRINTS/blueprints/auth/auth.py | auth.py | py | 324 | python | en | code | 1 | github-code | 36 |
71578936743 | #!/usr/bin/env python
"""
"""
import vtk
def main():
colors = vtk.vtkNamedColors()
fileName = get_program_parameters()
colors.SetColor("SkinColor", [255, 125, 64, 255])
colors.SetColor("BkgColor", [51, 77, 102, 255])
# Create the renderer, the render window, and the interactor. The renderer
... | lorensen/VTKExamples | src/Python/Medical/MedicalDemo1.py | MedicalDemo1.py | py | 3,793 | python | en | code | 319 | github-code | 36 |
72275954665 | from socket import *
from threading import Thread
import os,stat
import time, random
import statistics
def r2(n,ip,port):
if port == 20002: node = "s" # This is for output purposes
elif port == 20022: node = "d"
print("R2 WILL SEND MESSAGE TO: {} OVER {}".format(node, ip, port))
c = socket(AF_INET, SOCK_DGRAM) ... | ilkersigirci/METU-CENG-Assignments | Ceng435-Data_Communications_and_Networking/Term-Project-Part1/discoveryScripts/r2.py | r2.py | py | 2,452 | python | en | code | 0 | github-code | 36 |
948702002 | pkgname = "cargo"
pkgver = "1.73.0"
# _cargover = f"0.{int(pkgver[2:4]) + 1}.{pkgver[5:]}"
# ffs, tag your shit
_cargover = "9c4383fb55986096b414d98125421ab87b5fd642"
pkgrel = 0
build_style = "cargo"
# PKG_CONFIG being in environment mysteriously brings target sysroot
# into linker sequence for build script, breaking b... | chimera-linux/cports | main/cargo/template.py | template.py | py | 2,629 | python | en | code | 119 | github-code | 36 |
15194589620 | import json
with open ( "../6.NLP/sarcasm.json" , 'r' ) as f : datastore = json.load ( f )
sentences = []
labels = []
for item in datastore :
sentences.append ( item [ 'headline' ] )
labels.append ( item [ 'is_sarcastic' ] )
training_size = 20000
training_sentences = sentences [ 0 : training_size... | AmalLight/Neural_Network_2 | 7.sequences_RNN/12.sarcasm_with_1D_convolutional.py | 12.sarcasm_with_1D_convolutional.py | py | 2,519 | python | en | code | 0 | github-code | 36 |
20220830343 |
def concate_arabic_letters_asnumber_with_daicritic(arabic_lett ,arabic_daic ,max_padding_length ):
"""
paramters : taking mapped text into numbers and it's daicritics mapped into numbers and max padding length
functions : mapped them into arabic letters & original daicritics and join them
return ... | radwaayman22/Tashkeel_Graduation_Project_ITI_9_Month_Intake43 | Utils/concate_arabic_letters_asnumber_with_daicritic.py | concate_arabic_letters_asnumber_with_daicritic.py | py | 718 | python | en | code | 0 | github-code | 36 |
318564129 | import logging
import shutil
from os.path import isdir
from urllib.request import urlopen
from zipfile import ZipFile
from charms.nginx_ingress_integrator.v0.ingress import IngressRequires
from ops.charm import CharmBase
from ops.main import main
from ops.model import ActiveStatus, BlockedStatus, MaintenanceStatus
lo... | mthaddon/hello-kubecon-k8s | src/charm.py | charm.py | py | 4,399 | python | en | code | 0 | github-code | 36 |
18216820693 | import pygame
class Bullet(pygame.sprite.Sprite):
def __init__(self, gun):
pygame.sprite.Sprite.__init__(self)
self.image=pygame.Surface((10,10))
self.rect=self.image.get_rect()
self.image.fill((255,0,0))
self.rect.centerx=gun.rect.centerx
self.rect.centery=... | Vladimirk229/My-projects | pythongame/pythongame/bullet.py | bullet.py | py | 410 | python | en | code | 0 | github-code | 36 |
10018276507 | x=1000
def function1():
i=4000
print("The sum of i+x is",i+x)
class sample:
comp_name="Sathya Technologies"
@staticmethod
def fun1():
global x
i=100
print("The sum of i+x is", i + x)
def fun2(self,id=0, name=None,sal=0.0):
self.id=int(input("Enter Employee id : "... | prasadnaidu1/django | Adv python practice/OOPS/oops10.py | oops10.py | py | 629 | python | en | code | 0 | github-code | 36 |
19781798290 | from os import popen
from pathlib import Path
import threading
from tkinter import Tk, Canvas, Entry, Text, Button, PhotoImage
from tkinter import *
from tkinter import ttk
from tkinter.messagebox import OK
import pyautogui
import mouse
import cv2
import pytesseract
from PIL import Image
import threading
import numpy a... | MohamedWael3011/PROFarmTracker | gui.py | gui.py | py | 8,410 | python | en | code | 0 | github-code | 36 |
12338780708 | ################011011100110010101101111####
### neo Command Line #######################
############################################
def getcmdlist():
cmds = {
"sav" :"Select all in Active View, Model or Annotation.",
"samv" :"Select all in Active View, non Annotation.",
... | 0neo/pyRevit.neoCL | neoCL.extension/neocl_s.py | neocl_s.py | py | 1,593 | python | en | code | 7 | github-code | 36 |
32817446826 | """Add beach_id column and BeachForecastListHistory table
Revision ID: eae746ee3547
Revises: cc49b6b03c5a
Create Date: 2021-11-06 03:37:19.196002
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = 'eae746ee3547'
down_revis... | veluminous/sea_forecast_api | alembic/versions/eae746ee3547_add_beach_id_column_and_.py | eae746ee3547_add_beach_id_column_and_.py | py | 2,744 | python | en | code | 0 | github-code | 36 |
20077176339 | from django.urls import resolve
from rest_framework import status
from rest_framework.reverse import reverse
from rest_framework.test import APITestCase, APIRequestFactory
from cars.models import Car, Manufacturer, Rate
from cars.serializers import PopularSerializer
from cars.views import PopularListView
factory = AP... | tomasz-rzesikowski/cars_API | cars/tests/tests_views/tests_popular_list_view.py | tests_popular_list_view.py | py | 2,109 | python | en | code | 0 | github-code | 36 |
15989239821 | """
Handlers related to "reports" about students' activity - badge evidence pages
and badge issuing routines.
"""
from controllers.utils import BaseHandler, ReflectiveRequestHandler, XsrfTokenManager
from common import prefetch
import pprint
from models.roles import Roles
import re
from collections import defaultdict
f... | twiffy/eabooc | coursebuilder/modules/wikifolios/report_handlers.py | report_handlers.py | py | 34,512 | python | en | code | 0 | github-code | 36 |
17659950405 | # -*- coding:utf-8 -*-
import pandas as pd
import requests
import time
import json
import os
def get_month_data(month):
page = 1
num = 1
video_list = []
while(True):
print('*****' * 10, f'page[{page}]', '*****' * 10)
# 处理月份格式
if month in ['01', '03', '05', '07', '08', '10', ... | PeanuTxT/bilibili_spider | danmu_spiders/link_spider.py | link_spider.py | py | 2,626 | python | en | code | 4 | github-code | 36 |
34766663711 | import os
import io
import imageio
import logging
import cv2
import numpy as np
from PIL import Image
import torch
from ts.torch_handler.base_handler import BaseHandler
logger = logging.getLogger(__name__)
def test_resize(img, size=640, pad=False):
h, w, c = img.shape
scale_w = size / w
scale_h = size /... | huyhoang17/DB_text_minimal | src/db_handler.py | db_handler.py | py | 3,114 | python | en | code | 34 | github-code | 36 |
7768381873 | #!/usr/bin/env python3
# AWS Lambda function for creating an AMI image from a given instance.
# By Michael Ludvig - https://aws.nz
# Trigger this function from CloudWatch Scheduler (cron-like)
# Pass the Instance ID in 'instance_id' environment variable.
import os
import boto3
from datetime import datetime, timedelt... | mludvig/aws-standard-templates | src/lambda-snapshot-instance.py | lambda-snapshot-instance.py | py | 2,534 | python | en | code | 2 | github-code | 36 |
2923880165 | import pandas as pd
import time
import sys
import numpy as np
import os
import torch
import torchvision
from numpy import sqrt
import math
from torch import nn
import latticeglass
from args import args
from resmade import MADE
from utils import (
clear_checkpoint,
clear_log,
get_last_checkpoint_step,
ig... | SCiarella/patchy_transformer | main.py | main.py | py | 21,956 | python | en | code | 1 | github-code | 36 |
9161231659 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
environments = (u'en la web de Renfe',
u'en la base de datos corporativa',
u'en la web del congreso',
u'en la web de la ESA',
u'en la base de datos del FBI',
u'en la web de Twitter',
... | javicps/tallergit | usgenerator/environments.py | environments.py | py | 448 | python | fr | code | 0 | github-code | 36 |
646152258 | #Lista de Exercício 2 - Questão 10
#Dupla: 2020314273 - Cauã Alexandre Torres de Holanda e 2021327294 - Kallyne Ferro Veiga
#Disciplina: Programação Web
#Professor: Ítalo Arruda
#10.Faça um Programa que pergunte em que turno você estuda. Peça para digitar M-matutino ou V-Vespertino ou N- Noturno. Imprima a mensagem ... | caalexandre/Revisao-Python-IFAL-2023-Caua-e-Kallyne | Lista2/l2q10KC-523.py | l2q10KC-523.py | py | 1,164 | python | pt | code | 0 | github-code | 36 |
70663470184 | import pandas as pd
import sqlite3
def load_data(messages_filepath, categories_filepath):
'''
Create dataframes for messages and categories data.
'''
messages_df = pd.read_csv(messages_filepath)
categories_df = pd.read_csv(categories_filepath)
return messages_df, categories_df
def clean_data... | rebeccaebarnes/DSND-Project-5 | scripts/process_data.py | process_data.py | py | 3,347 | python | en | code | 1 | github-code | 36 |
5169645501 | # Given an array of strings strs, group the anagrams together. You can return the answer in any order.
# An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase,
# typically using all the original letters exactly once.
# Example
# Input: strs = ["eat","tea","tan","ate","nat... | mayureshucsb2019/Interview-Questions- | HCL_GO_Developer.py | HCL_GO_Developer.py | py | 1,321 | python | en | code | 0 | github-code | 36 |
42238036553 | import requests
import json ,os,pprint
while True:
if os.path.exists("s_courses.json")==False:
a=requests.get('http://saral.navgurukul.org/api/courses')
pprint.pprint(a.text)
b=a.text
c=open('s_courses.json','w')
json.dump(b,c)
c.close()
c=open('s_courses.json','r')
jsl1=json.load(c)
jsl2=json.loads(j... | shabidkhan/API | API.py | API.py | py | 1,568 | python | en | code | 0 | github-code | 36 |
20052231966 | # -*- coding: utf-8 -*-
"""
Created on Thu Mar 24 13:39:12 2016
Multi-Layer-Perceptron as Learner
@author: Mats Richter
"""
import numpy as np
import sknn.mlp as mlp
class Learner:
#@input w_size: size of the sliding window used for batch learning
#@input size: numbers of parameters fed in the input ... | MLRichter/AutoBuffett | Layer1/MLP_Classifier.py | MLP_Classifier.py | py | 3,592 | python | en | code | 8 | github-code | 36 |
3882480498 | """
aimall_utils.py v0.1
F. Falcioni, L. J. Duarte, P. L. A. Popelier
Library with function to submit job to AIMAll and get properties values from output
AIMAll version: 19.10.12
Check for updates at github.com/FabioFalcioni
For details about the method, please see XXXXXXX
"""
import numpy as np
from typing import ... | popelier-group/REG | REG/aimall_utils.py | aimall_utils.py | py | 13,205 | python | en | code | 4 | github-code | 36 |
33808709044 | """added profile pict
Revision ID: d03756b7815b
Revises: 845e6def5277
Create Date: 2022-03-02 16:17:18.286475
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'd03756b7815b'
down_revision = '845e6def5277'
branch_labels = None
depends_on = None
def upgrade():
... | andyderis36/4p-flask | migrations/versions/d03756b7815b_added_profile_pict.py | d03756b7815b_added_profile_pict.py | py | 790 | python | en | code | 0 | github-code | 36 |
70584661544 | # create venv
# python3 -m venv env
import markdown
from datetime import datetime
md = markdown.Markdown(extensions=['markdown.extensions.fenced_code'])
file_data = None
with open('raw.md') as f:
file_data = f.read()
#print(file_data)
data = md.convert(file_data)
header_list = []
# link
i = len(data)
target = '... | yjlo123/runtime-tutorial | gen.py | gen.py | py | 2,378 | python | en | code | 0 | github-code | 36 |
33642819434 | # A Python program that simulates the "Rock, Paper, Scissors" game.
import random
options = ("rock", "paper", "scissors")
comp = options[random.randint(0, 2)]
print("===== Welcome =====")
player = input("Please enter rock, paper or scissors: ")
if player.lower() == comp:
print("It's a tie, please try again")
... | Willmuseve/simple-python | Conditionals/task11.py | task11.py | py | 725 | python | en | code | 0 | github-code | 36 |
43750959743 | # coding: utf-8
from __future__ import unicode_literals
import datetime
import unittest
from uwsgi_log_plugin import import_from_uwsgi_log
class UwsgiLogPluginTestCase(unittest.TestCase):
def test_import_from_uwsgi_log(self):
filename = "uwsgi.log"
table = import_from_uwsgi_log(filename, "utf-... | turicas/rows | examples/library/tests_uwsgi_log.py | tests_uwsgi_log.py | py | 1,076 | python | en | code | 851 | github-code | 36 |
19045144385 | #cog by @maxy_dev (maxy#2866)
import asyncio
import sys
import disnake as discord
import random
import os
from main import bot
from enum import Enum
import datetime, time
from disnake.ext import commands
from utils import db
if "debug" not in db:
db["debug"] = {}
class Required1(str, Enum):
true = "True"
false ... | 1randomguyspecial/pythonbot | cogs/debug.py | debug.py | py | 3,810 | python | en | code | 5 | github-code | 36 |
22971648619 | import os
import json
import boto3
from itertools import groupby
def pprint_time(secs):
ret_str = ""
if secs >= 86400:
days = secs//86400
secs = secs % 86400
ret_str += f"{days} "
if days > 1:
ret_str += "days "
else:
ret_str += "day "
if secs >= 3600:
hours = secs // 3600
secs = secs % 3600
r... | IrisHub/iris-3-backend-prototypes | fns/utils.py | utils.py | py | 5,768 | python | en | code | 0 | github-code | 36 |
5511081889 | import numpy as np
import pandas as pd
from pydub import AudioSegment
import librosa
from tqdm import tqdm
import os
'''
loudness:响度,表示音频信号的振幅大小。
pitch_0, pitch_1, ...:基频,表示音频信号中的主要频率成分。这些列包含了不同时间节点上的基频信息。
chroma_0, chroma_1, ...:音调,表示音频信号中的音高信息。这些列包含了不同时间节点上的音调信息。
mfcc_0, mfcc_1, ...:梅尔频率倒谱系数(MFCC),表示音频信号中的频谱特性。这些列包含... | indecreasy/Bilibili_Audiovisual_Danmuku | videoCap/soundCap_1fps.py | soundCap_1fps.py | py | 11,617 | python | en | code | 3 | github-code | 36 |
19405983770 | import time
from typing import List
class Solution:
'''
3.Longest Substring Without Repeating Characters
Given a string s, find the length of the longest substring without repeating characters.
'''
def basic(self, s):
n = len(s)
j = -1
mp = {}
res = 0
for i i... | Matthewow/Leetcode | slidingWindow/sliding_window.py | sliding_window.py | py | 3,335 | python | en | code | 2 | github-code | 36 |
41014917696 | import matplotlib.pyplot as plt
import matplotlib.animation as animation
from qbstyles import mpl_style
import numpy as np
import time
import os.path
import re
fig = plt.figure(facecolor='#1a1e24',edgecolor='black')
fig.canvas.set_window_title('MCS Readings')
ax1 = fig.add_subplot(1,1,1)
mpl_style(dark=Tr... | joymkj/labscript | labscript_suite/labscript_utils/mcs.py | mcs.py | py | 5,998 | python | en | code | 0 | github-code | 36 |
25633844713 | from cs50 import get_int
cc = get_int("Number: ")
sum = 0
# specify first number index
digit_index = len(str(cc)) - 2
# First numbers loop
while digit_index >= 0:
digit = int(str(cc)[digit_index]) * 2
if digit > 9:
sum += int(str(digit)[0]) + int(str(digit)[1])
else:
sum += digit
di... | 0raclewind/CS50-repo | pset6/credit/credit.py | credit.py | py | 879 | python | en | code | 0 | github-code | 36 |
71699272744 | import numpy as np
import scipy.interpolate as sp_interp
from scipy.integrate import odeint, solve_ivp
import matplotlib.pyplot as plt
def odefun(t,x,params_log):
# Variables
Cs_ctnt = x[0]
Cc_ctnt = x[1]
Cp_ctnt = x[2]
# Arguments
a_log = params_log[0]
b_log = params_log[1]
Tsc_log =... | FraViss/CBRApy_ | CODE/functions_repository.py | functions_repository.py | py | 4,668 | python | en | code | 0 | github-code | 36 |
3123319458 | # ------------------------------------------------------------------------------
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
from sklearn.decomposition import KernelPCA
from sklearn.preprocessing import StandardScaler
import warnings
warnings.filterwarnings("ignore")
# -... | PauloAguayo/PUCV | TimeEncoder/nlpca.py | nlpca.py | py | 4,866 | python | en | code | 0 | github-code | 36 |
71244448103 | import argparse
import os
import random
import tensorflow as tf
import re
import subprocess
import pyonmttok
import threading
import flask
from flask import request, jsonify
# TensorFlow Addons lazily loads custom ops. So we call the op with invalid inputs
# just to trigger the registration.
# See also: https://github.... | bhavinkotak07/distributed_machine_translation | model_api.py | model_api.py | py | 4,096 | python | en | code | 0 | github-code | 36 |
6508923868 | # -*- coding: utf-8 -*-
import numpy as np
import csv
import chainer
import chainer.functions as F
import chainer.links as L
import sys
import matplotlib.pyplot as plt
"""
データを実際に予測するときに利用するクラス
:param
predict_ary: csvからデータを取ってきて, 入力と正解をタプル形式で配列で持つクラス
plt_ary: matplotlibで表示するためにもつ配列
model: chainerでつくったモ... | awkrail/laugh_maker | validation_src/predictor.py | predictor.py | py | 3,639 | python | en | code | 0 | github-code | 36 |
2068411752 | import os
# import configs
from step2_coexpression_analysis.package.S2_combine_positive_cells import combine_positive_cells
from step2_coexpression_analysis.package.S4_identify_coexpressing_cells import IdentifyMarkersCoExpression
def run_coexp(input_dir, output_dir, patient_id, proteins, co_exp, co_exp_threshold=3, n... | YemanBrhane/DeepMIF | step2_coexpression_analysis/run_coexpression_analysis.py | run_coexpression_analysis.py | py | 1,546 | python | en | code | 4 | github-code | 36 |
2722356293 | class Solution(object):
def mergeTrees(self, root1, root2):
"""
:type root1: TreeNode
:type root2: TreeNode
:rtype: TreeNode
"""
if not root1: return root2
if not root2: return root1
new_root = root1
new_root.val += root2.val
... | ZhengLiangliang1996/Leetcode_ML_Daily | Tree/617_MergeTwoBinaryTree.py | 617_MergeTwoBinaryTree.py | py | 477 | python | en | code | 1 | github-code | 36 |
126083869 | from django.db import models
from django.contrib.auth.models import User
import json
import re
class FileType(models.Model):
name = models.CharField(max_length=64, primary_key=True)
def update_dict(base, changes):
for k, v in changes.items():
base[k] = v
if v is None:
del base[k]... | bromberglab/bio-node-webserver | django/app/models/node_image.py | node_image.py | py | 7,864 | python | en | code | 1 | github-code | 36 |
41914537157 | """
Georgia Institute of Technology - CS1301
HW03 - Loops and Iteration
"""
#########################################
"""
Function Name: product()
Parameters: nums(str)
Returns: product(int)
"""
def product(nums):
length = len(nums)
product = 1
i = 0
while i < length:
product = product * int(nu... | gkommi/CS-1301 | HW3/HW03.py | HW03.py | py | 2,459 | python | en | code | 0 | github-code | 36 |
6226481940 | import glob, os
import cv2
import numpy as np
def red_ch_zeros(foldername):
'''
Drop red channel.
:param foldername: string
:return: None
'''
dir_name = foldername + os.sep + "*"
image_files_list = list(glob.glob(dir_name))
for image_file in image_files_list:
src = cv2.imread(... | Daeil-Jung/Fundus_Process | preproc/ch_reduction.py | ch_reduction.py | py | 563 | python | en | code | 0 | github-code | 36 |
8599392805 |
#Any weight can be placed below
weight = 41.5
#Ground Shipping (price per pound + a flat charge)
if weight <=2:
ground_cost = (weight * 1.50) + 20.00
elif weight > 2 and weight <= 6:
ground_cost = (weight * 3.00) + 20.00
elif weight > 6 and weight <= 10:
ground_cost = (weight * 4.00) + 20.00
else:
ground_cos... | AlmaOsmancevic/Python_learning_journey | 1.Control_Flow/1.2.Best_Shipping_Price/shipping.py | shipping.py | py | 867 | python | en | code | 0 | github-code | 36 |
29227361913 | from builtins import range
from utils import *
@Memoize
def goodDLK_2(d,l,k) :
"""
check for parity (= orientability), stability, and sign of conjugation.
See more about this in documentation.
"""
if (d == 0) and ((l != 0) or (k != 3)) :
return False
return ((2*l + k - (3*d -1)) % 4 in [0,3])
# ... | amitainz/open_fixedpoint_formula | src/dlk_partitions.py | dlk_partitions.py | py | 2,435 | python | en | code | 0 | github-code | 36 |
74963737383 | # !/usr/bin/env python
# -*- coding:utf-8 -*-
"""
@FileName: EditAdmin
@Author : sky
@Date : 2023/2/8 11:08
@Desc : 修改用户界面设计与功能实现
"""
import sql_table
from PySide6.QtWidgets import QApplication, QMainWindow, QMessageBox, QInputDialog, QLineEdit, QPushButton, QLabel
from PySide6.QtCore import Qt, QRect, QMetaOb... | Bxiaoyu/NotesRep | studentms/EditAdmin.py | EditAdmin.py | py | 5,579 | python | en | code | 0 | github-code | 36 |
21366498651 | # Link: https://www.lintcode.com/problem/192/
# My own solution. Using a 2-d array to store the results for future use. Otherwise,
# it will hit the time exceed limit error.
class Solution:
"""
@param s: A string
@param p: A string includes "?" and "*"
@return: is Match?
"""
def isMatch(s... | simonfqy/SimonfqyGitHub | lintcode/hard/192_wildcard_matching.py | 192_wildcard_matching.py | py | 5,638 | python | en | code | 2 | github-code | 36 |
74380502502 | a = 3
a += 10
print (a)
b = 100
b -= 7
print (b)
c = 44
c = 44 * 2
print (c)
e = 8
e **= 3
# e = e ** 3
print(e)
f = 16
f = f ** (1 / 2)
print(f)
g1 = 123
g2 = 345
print(g1 > g2)
h1 = 350
h2 = 200
print(h2 * 2 > h1)
i = 1357988018575474
print( i % 11)
j1 = 10
j2 = 3
print (j2 **3 > j1 > j2 ** 2 )
k = 1521
print ((k % 3... | greenfox-velox/fabicspeter | week-03/day1/try.py | try.py | py | 3,159 | python | en | code | 0 | github-code | 36 |
29812574163 | class Solution:
def findReplaceString(self, s: str, indices: List[int], sources: List[str], targets: List[str]) -> str:
sorted_tokens = sorted(
zip(indices, sources, targets),
key=lambda t: t[0])
indices, sources, targets = list(zip(*sorted_tokens))
res = s
t... | tmullayanov/leetcode | 833. Find And Replace in String/solution.py | solution.py | py | 713 | python | en | code | 1 | github-code | 36 |
16472183531 | import collections
import itertools
import json
import logging
import os
import pickle
import random
import numpy as np
from sklearn.model_selection import train_test_split
import config
from utils.utils import JsonlReader
logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO)
lo... | IBM/aihn-ucsd | amil/preprocess/_4_splits.py | _4_splits.py | py | 19,985 | python | en | code | 18 | github-code | 36 |
11231627750 | """
"""
# Email: Kun.bj@outlook.com
import collections
import copy
import json
import os
import pickle
import time
import traceback
from collections import Counter
from pprint import pprint
import numpy as np
from sklearn.preprocessing import StandardScaler
from fkm import vis
from fkm.cluster import centralized_min... | kun0906/fkm | fkm/_main.py | _main.py | py | 16,242 | python | en | code | 0 | github-code | 36 |
17895779950 | import os
import tempfile
from typing import List
import numpy as np
import tensorflow as tf
import tensorflow_datasets as tfds
import data # local file import from experimental.shoshin
def _make_temp_dir() -> str:
return tempfile.mkdtemp(dir=os.environ.get('TEST_TMPDIR'))
def _make_serialized_image(size: int) ... | google/uncertainty-baselines | experimental/shoshin/data_test.py | data_test.py | py | 3,743 | python | en | code | 1,305 | github-code | 36 |
32994978761 | """
Executor class.
"""
from __future__ import unicode_literals
import yaml
import subprocess
from voluptuous import Schema
from contextlib import closing
from functools import partial
from six import PY2
from locale import getpreferredencoding
class BaseExecutor(object):
"""
A generic executor class.
... | freelan-developers/plix | plix/executors.py | executors.py | py | 3,338 | python | en | code | 1 | github-code | 36 |
5893250281 | #!/usr/bin/env python3
"""
hw2main.py
UNSW COMP9444 Neural Networks and Deep Learning
DO NOT MODIFY THIS FILE
"""
import torch
from torchtext import data
from config import device
import student
def main():
print("Using device: {}"
"\n".format(str(device)))
# Load the training dataset, and creat... | gakkistyle/comp9444 | ass2/hw2/hw2main.py | hw2main.py | py | 5,907 | python | en | code | 7 | github-code | 36 |
5054739529 | from django.conf.urls import url, include
from rest_framework.urlpatterns import format_suffix_patterns
from .views import *
urlpatterns = {
url(r'^$', default, name="default"),
url(r'^profile/$', ProfileCreateView, name="profile"),
url(r'^profile/(?P<pk>[0-9]+)/$', ProfileDetailsView, name="profile_detail... | Willievuong/Stutter | backend/database/urls.py | urls.py | py | 1,032 | python | en | code | 0 | github-code | 36 |
17849552367 | from ..config import Vector, ParameterName, ColorConfig, ZOrderConfig
from ..config import CompositeFigure, PathStep, PathOperation, PathShape, Rectangle, Ellipse, ellipse_arc_obj
class CulturedCellConfig(object):
common_z_order = ZOrderConfig.default_patch_z_order
z_order_increment = ZOrderConfig.z_order_inc... | LocasaleLab/Automated-MFA-2023 | figures/figure_plotting/figure_elements/diagrams/diagram_elements/object_diagrams/cultured_cell.py | cultured_cell.py | py | 8,045 | python | en | code | 0 | github-code | 36 |
7005651266 | """Added_TokenBlackList_table
Revision ID: c2d76eeeeb15
Revises: 703db21eb105
Create Date: 2021-11-20 00:13:10.270320
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'c2d76eeeeb15'
down_revision = '703db21eb105'
branch_labels = None
depends_on = None
def upgr... | nazarkohut/room_book | migrations/versions/c2d76eeeeb15_added_tokenblacklist_table.py | c2d76eeeeb15_added_tokenblacklist_table.py | py | 841 | python | en | code | 0 | github-code | 36 |
73158859623 | from atexit import register
from unicodedata import category
from django import template
from ..models import Category
register = template.Library()
# @register.simple_tag
# def title(data="وبلاگ جنگویی"):
# return data
# @register.inclusion_tag("pages/partials/category_navbar.html")
# def category_navbar():
# ... | AliNozhati/BlogProject | pages/templatetags/base_tags.py | base_tags.py | py | 741 | python | en | code | 0 | github-code | 36 |
19856854666 | """
autoencoder.py
Autoencoder-style image generation model.
"""
import glob
import os
import tensorflow as tf
from matplotlib import pyplot as plt
from tqdm import tqdm
import models
from utils import gauss_kernel
class AutoEncoderGAN():
def __init__(self,
batch_size,
z_dim,
... | xaliceli/lemotif | image-models/autoencoder.py | autoencoder.py | py | 11,931 | python | en | code | 7 | github-code | 36 |
70606068584 | import os
from os.path import (
abspath,
dirname,
isfile,
join as join_path,
)
from six.moves.configparser import ConfigParser
from pymud.utilities import ConsoleLogger
rel_path = abspath(join_path(dirname(__file__), 'pymud.conf'))
etc_path = join_path('/etc/pymud', 'pymud.conf')
CONFIG = ConfigPa... | jzaleski/pymud | pymud/__init__.py | __init__.py | py | 675 | python | en | code | 0 | github-code | 36 |
40798536786 | from keras.datasets import mnist
from keras.utils import np_utils
import numpy as np
import sys
import tensorflow as tf
seed = 0
np.random.seed(seed)
tf.set_random_seed(seed)
(X_train, y_class_train), (X_test, y_class_test) = mnist.load_data()
print("Num of images in Train set: %d" % (X_train.shape[0]))
print("Num ... | devjwsong/deep-learning-study-tensorflow | Chap5/MNIST_Data.py | MNIST_Data.py | py | 898 | python | en | code | 0 | github-code | 36 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.