code stringlengths 1 1.72M | language stringclasses 1
value |
|---|---|
#!/usr/bin/env python
import random
import numpy as np
from math import factorial
class node(object):
def __init__(self, ID):
self.has_packet = False
self.received_packets = 0
self.id = ID
def receive_packet(self, succesrate):
if random.random() <= succesrate:
self.has_packet = True
self.received_pa... | Python |
#!/usr/bin/env python
import random
from math import factorial
class node(object):
def __init__(self):
self.has_packet = False
def receive_packet(self, succesrate):
if random.random() <= succesrate:
self.has_packet = True
def reset(self):
self.has_packet = False
def uc_probability_after_transmissi... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
import sys
import matplotlib
from matplotlib.font_manager import FontProperties as FP
# Fixes font size
fp = FP()
fp.set_size('small')
matplotlib.rc('text', usetex=True) # Use latex formatting!
ptotal=1400 # total packet size [bytes] ... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
import sys
from matplotlib.font_manager import FontProperties as FP
def new_frame(filep):
line = '1'
while not line.startswith('[/FRAME]'):
line = filep.readline()
if line.startswith('pkt_pos='):
pos = int(line[line.find('=')+1... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
import sys
from matplotlib.font_manager import FontProperties as FP
def new_frame(filep):
line = '1'
while not line.startswith('[/FRAME]'):
line = filep.readline()
if line.startswith('pkt_pos='):
pos = int(line[line.find('=')+... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
import sys
from matplotlib.font_manager import FontProperties as FP
def new_frame(filep):
line = '1'
while not line.startswith('[/FRAME]'):
line = filep.readline()
if line.startswith('pkt_pos='):
pos = int(line[line.find('=')+... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
import sys
from matplotlib.font_manager import FontProperties as FP
def new_frame(filep):
line = '1'
while not line.startswith('[/FRAME]'):
line = filep.readline()
if line.startswith('pkt_pos='):
pos = int(line[line.find('=')+1... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
def extract_info(filep):
qdict = {}
line = '1'
# info = np.array([False])
while line:
line = filep.readline()
if line.startswith('GOP = '):
tmp = line.replace('GOP = ','').replace('Qscale = ','').replace(':','').replace('\t',... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
import sys
import matplotlib
from matplotlib.font_manager import FontProperties as FP
# Fixes font size
fp = FP()
fp.set_size('small')
matplotlib.rc('text', usetex=True) # Use latex formatting!
ptotal=1400 # total packet size [bytes] ... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
def extract_info(filep):
qdict = {}
line = '1'
# info = np.array([False])
while line:
line = filep.readline()
if line.startswith('GOP = '):
tmp = line.replace('GOP = ','').replace('Qscale = ','').replace(':','').replace('\t',... | Python |
#!/usr/bin/env sage -python
from sage.all import *
import random
import math
import numpy as np
import pylab as pl
import time as t
from scipy import stats as s
#import antigravity
start = t.time()
###Creating transition matrices###
def create_trans_matrix(L_size,gamma,q):
r=range(0,L_size+1)
P = np.matrix(np.zer... | Python |
#!/usr/bin/env sage -python
from sage.all import *
import random
import time as t
#import antigravity
start = t.time()
gen_size=96
L1_size=32
L2_size=64
L3_size=0
#field = GF(2**8, name='a')
field = GF(2, name='a')
nb_sim = 10000
nb_trans = 185
layer_3_active = false
Pr_liste = [[50,50,0],[30,70,0],[40,60,0]]
... | Python |
#!/usr/bin/env sage -python
from sage.all import *
import random
import time as t
#import antigravity
start = t.time()
gen_size=96
L1_size=32
L2_size=96
L3_size=0
#field = GF(2**8, name='a')
field = GF(2, name='a')
nb_sim = 10000
nb_trans = 185
Pr_liste = [[50,50,0],[30,70,0],[40,60,0]]
gammas = 3
L3_active=Fa... | Python |
#!/usr/bin/env python
# This script uses framestats logfiles to plot the distribution of I and P frames for a number of videos
#
# Inputs(given as arguments to script call): video1_framestats.txt, video2_framestats.txt etc...
# Output: Plot #2
#
# To do:
# Check that x axis is correctly scaled (It seems so but messy c... | Python |
#!/usr/bin/env python
# This script analyses framestats logfiles and saves a log with number statistics about given videos.
#
# Inputs(given as arguments to script call): video1_framestats.txt, video2_framestats.txt etc...
# Output: frame_log.txt
#
# To do:
# Check that x axis is correctly scaled (It seems so but mess... | Python |
#!/usr/bin/env python
# This script plots the distribution of the gop data.
#
# Inputs (given as arguments): video1_framestats.txt, video2_framestats.txt, etc...
# Output Plot #3: Distribution of GOP data size (for each file given)
#
# To Do:
# - Verify x-axis scaling
import numpy as np
import pylab as pl # Plotting... | Python |
#!/usr/bin/env python
# This script analyses framestats logfiles and saves a log with number statistics about given videos.
#
# Inputs(given as arguments to script call): video1_framestats.txt, video2_framestats.txt etc...
# Output: frame_log.txt
#
# To do:
# Check that x axis is correctly scaled (It seems so but mess... | Python |
#!/usr/bin/env python
# This script uses framestats logfiles to plot the distribution of I and P frames for a number of videos
#
# Inputs(given as arguments to script call): video1_framestats.txt, video2_framestats.txt etc...
# Output: Plot #2
#
# To do:
# Check that x axis is correctly scaled (It seems so but messy c... | Python |
#!/usr/bin/env python
# This script plots the distribution of the gop data.
#
# Inputs (given as arguments): video1_framestats.txt, video2_framestats.txt, etc...
# Output Plot #3: Distribution of GOP data size (for each file given)
#
# To Do:
# - Verify x-axis scaling
import numpy as np
import pylab as pl # Plotting... | Python |
#!/usr/bin/env python
# This script plots the distribution of the gop data.
#
# Inputs (given as arguments): video1_framestats.txt, video2_framestats.txt, etc...
# Output Plot #3: Distribution of GOP data size (for each file given)
#
# To Do:
# - Verify x-axis scaling
import numpy as np
import pylab as pl # Plotting... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
import sys
import matplotlib
from matplotlib.font_manager import FontProperties as FP
# P-frame size estimator function
def p_est(r,fps):
return r/float(fps)
# GOP size estimator function
def gop_est(r,fps,gop):
return r/float(fps)*g... | Python |
#!/usr/bin/env python
# This script plots the distribution of the gop data.
#
# Inputs (given as arguments): video1_framestats.txt, video2_framestats.txt, etc...
# Output Plot #3: Distribution of GOP data size (for each file given)
#
# To Do:
# - Verify x-axis scaling
import numpy as np
import pylab as pl # Plotting... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
import sys
import matplotlib
from matplotlib.font_manager import FontProperties as FP
# P-frame size estimator function
def p_est(r,fps):
return r/float(fps)
# GOP size estimator function
def gop_est(r,fps,gop):
return r/float(fps)*g... | Python |
#!/usr/bin/env python
# This script ...
import numpy as np
import pylab as pl
import os.path as osp
import sys
from matplotlib.font_manager import FontProperties as FP
if __name__ == '__main__':
# Font fix
fp = FP()
fp.set_size('small')
# Prepare figure
fig = pl.figure() # Setting aspect ratio , figsize=[1... | Python |
#!/usr/bin/env python
# This script ...
import numpy as np
import pylab as pl
import os.path as osp
import sys
from matplotlib.font_manager import FontProperties as FP
if __name__ == '__main__':
# Font fix
fp = FP()
fp.set_size('small')
# Prepare figure
fig = pl.figure() # Setting aspect ratio , figsize=[1... | Python |
#!/usr/bin/env python
# This script ...
import numpy as np
import pylab as pl
import os.path as osp
import sys
from matplotlib.font_manager import FontProperties as FP
if __name__ == '__main__':
# Font fix
fp = FP()
fp.set_size('small')
# Prepare figure
fig = pl.figure() # Setting aspect ratio , figsize=[1... | Python |
#!/usr/bin/env python
# This script ...
import numpy as np
import pylab as pl
import os.path as osp
import sys
from matplotlib.font_manager import FontProperties as FP
if __name__ == '__main__':
# Font fix
fp = FP()
fp.set_size('small')
# Prepare figure
fig = pl.figure() # Setting aspect ratio , figsize=[1... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
from pylab import NaN
import os.path as osp
import sys
import matplotlib
from matplotlib.font_manager import FontProperties as FP
def ProbabilityMatrix(gen_size,q):
# Generate a probability matrix for EEP generation
P=np.zeros(shape=(gen_size+1,gen_size+1... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
from pylab import NaN
import os.path as osp
import sys
import matplotlib
from matplotlib.font_manager import FontProperties as FP
def ProbabilityMatrix(gen_size,q):
# Generate a probability matrix for EEP generation
P=np.zeros(shape=(gen_size+1,gen_size+1... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
import sys
import matplotlib
from matplotlib.font_manager import FontProperties as FP
def poly2(a,b,c,start,end,res):
# x and y data
x=np.arange(start,end,res)
y=[]
# y=ax^2+bx+c NB: kB!
for val in x:
y.append((a*x[val]**2+b*x... | Python |
#!/usr/bin/env python
def CodingOverhead(g,q):
oh=0
for r in range(0,g):
oh+=1./(q**(g-r)-1)
return oh
if __name__ == '__main__':
print CodingOverhead(2,2)
print CodingOverhead(4,2)
print CodingOverhead(8,2)
print CodingOverhead(16,2)
print CodingOverhead(32,2)
print '\n'
print CodingOverhead(2,2**... | Python |
#!/usr/bin/env python
def CodingOverhead(g,q):
oh=0
for r in range(0,g):
oh+=1./(q**(g-r)-1)
return oh
if __name__ == '__main__':
print CodingOverhead(2,2)
print CodingOverhead(4,2)
print CodingOverhead(8,2)
print CodingOverhead(16,2)
print CodingOverhead(32,2)
print '\n'
print CodingOverhead(2,2**... | Python |
#!/usr/bin/env python
import numpy as np
import pylab as pl
import os.path as osp
import sys
import matplotlib
from matplotlib.font_manager import FontProperties as FP
def poly2(a,b,c,start,end,res):
# x and y data
x=np.arange(start,end,res)
y=[]
# y=ax^2+bx+c NB: kB!
for val in x:
y.append((a*x[val]**2+b*x... | Python |
#!/usr/bin/python
import os
import sys
import commands
files = os.listdir(".")
sys.argv.pop(0)
args = sys.argv
args = ' '.join(args)
cmd = 'git ' + args
for file in files:
if os.path.isdir(file):
if os.path.exists(os.path.join(file, ".git")) and not ((args.startswith('push') or args.startswith('commit')) and fil... | Python |
#!/usr/bin/env python
#encoding: utf-8
import numpy as np
from sys import argv
from math import factorial
from math import gamma
import math
import pylab as pl
def at_least_1_of_z_out_of_x_total_when_y_is_taken(x,y,z):
#
# Critical regions manually handled (math domain problems):
x = int(x)
y = int(y)
z = int... | Python |
#!/usr/bin/python
import os
import sys
import commands
files = os.listdir(".")
sys.argv.pop(0)
args = sys.argv
args = ' '.join(args)
cmd = 'git ' + args
for file in files:
if os.path.isdir(file):
if os.path.exists(os.path.join(file, ".git")) and not ((args.startswith('push') or args.startswith('commit')) and fil... | Python |
#!/usr/bin/env python
import numpy as np
def transition_matrix(generation_size, field_size):
P = np.zeros((generation_size+1, generation_size+1))
for i in range(generation_size):
P[i,i] = 1./(field_size**(generation_size-i))
P[i+1,i] = 1.-P[i,i]
P[generation_size,generation_size] = 1./(field_size**(generati... | Python |
#!/usr/bin/env python
import numpy as np
def transition_matrix(generation_size, field_size):
P = np.zeros((generation_size+1, generation_size+1))
for i in range(generation_size):
P[i,i] = 1./(field_size**(generation_size-i))
P[i+1,i] = 1.-P[i,i]
P[generation_size,generation_size] = 1./(field_size**(generati... | Python |
#!/usr/bin/env python
#encoding: utf-8
import numpy as np
from sys import argv
from math import factorial
from math import gamma
import math
import pylab as pl
def at_least_1_of_z_out_of_x_total_when_y_is_taken(x,y,z):
#
# Critical regions manually handled (math domain problems):
x = int(x)
y = int(y)
z = int... | Python |
# Copyright (C) 2012 Google Inc.
#
# 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, ... | Python |
# Copyright (C) 2012 Google Inc.
#
# 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, ... | Python |
#!/usr/bin/python
#
# Copyright (C) 2012 Google Inc.
#
# 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 ag... | Python |
#!/usr/bin/env python
from ros import rospy
from ros import test_ros
import test_ros.msg
def publisher():
rospy.init_node('testheader_publisher')
pub = rospy.Publisher('test_header_in', test_ros.msg.TestHeader)
r = rospy.Rate(10)
m = test_ros.msg.TestHeader()
m.caller_id = rospy.get_name()
m.header.stamp =... | Python |
#!/usr/bin/env python
from ros import rospy
from ros import test_ros
import test_ros.msg
import random
def publisher():
rospy.init_node('composite_publisher')
pub = rospy.Publisher('composite_in', test_ros.msg.Composite)
r = rospy.Rate(10)
m = test_ros.msg.Composite()
m.a.x = random.random() * 10000.
m.a.y... | Python |
#!/usr/bin/env python
from ros import rospy
from ros import std_msgs
import std_msgs.msg
def publisher():
rospy.init_node('int64_publisher')
pub = rospy.Publisher('int64_in', std_msgs.msg.Int64)
i = 0
r = rospy.Rate(10)
m = std_msgs.msg.Int64(i)
while not rospy.is_shutdown():
pub.publish(m)
i += 1
... | Python |
#!/usr/bin/env python
from ros import rospy
from ros import std_msgs
import std_msgs.msg
def publisher():
rospy.init_node('string_publisher')
pub = rospy.Publisher('string_in', std_msgs.msg.String)
m = std_msgs.msg.String(rospy.get_name())
r = rospy.Rate(10)
while not rospy.is_shutdown():
pub.publish(m)
... | Python |
#!/usr/bin/python
#
# Copyright (C) 2012 Google Inc.
#
# 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 ag... | Python |
#!/usr/bin/python2.4
#
# Copyright 2007 The Python-Twitter Developers
#
# 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... | Python |
#!/usr/bin/python2.4
# -*- coding: utf-8 -*-#
#
# Copyright 2007 The Python-Twitter Developers
#
# 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... | Python |
#!/usr/bin/python2.4
'''Load the latest update for a Twitter user and leave it in an XHTML fragment'''
__author__ = 'dewitt@google.com'
import codecs
import getopt
import sys
import twitter
TEMPLATE = """
<div class="twitter">
<span class="twitter-user"><a href="http://twitter.com/%s">Twitter</a>: </span>
<span... | Python |
#!/usr/bin/python2.4
'''Post a message to twitter'''
__author__ = 'dewitt@google.com'
import ConfigParser
import getopt
import os
import sys
import twitter
USAGE = '''Usage: tweet [options] message
This script posts a message to Twitter.
Options:
-h --help : print this help
--consumer-key : the twit... | Python |
#!/usr/bin/python2.4
#
# Copyright 2007 The Python-Twitter Developers
#
# 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... | Python |
#!/usr/bin/python2.4
#
# Copyright 2007 The Python-Twitter Developers
#
# 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... | Python |
"""Implementation of JSONDecoder
"""
import re
import sys
import struct
from simplejson.scanner import make_scanner
try:
from simplejson._speedups import scanstring as c_scanstring
except ImportError:
c_scanstring = None
__all__ = ['JSONDecoder']
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
def _floatconst... | Python |
"""JSON token scanner
"""
import re
try:
from simplejson._speedups import make_scanner as c_make_scanner
except ImportError:
c_make_scanner = None
__all__ = ['make_scanner']
NUMBER_RE = re.compile(
r'(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?',
(re.VERBOSE | re.MULTILINE | re.DOTALL))
def py_make_scan... | Python |
"""Implementation of JSONEncoder
"""
import re
try:
from simplejson._speedups import encode_basestring_ascii as c_encode_basestring_ascii
except ImportError:
c_encode_basestring_ascii = None
try:
from simplejson._speedups import make_encoder as c_make_encoder
except ImportError:
c_make_encoder = None
... | Python |
r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of
JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data
interchange format.
:mod:`simplejson` exposes an API familiar to users of the standard library
:mod:`marshal` and :mod:`pickle` modules. It is the externally maintained
version of ... | Python |
r"""Using simplejson from the shell to validate and
pretty-print::
$ echo '{"json":"obj"}' | python -msimplejson.tool
{
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -msimplejson.tool
Expecting property name: line 1 column 2 (char 2)
"""
import simplejson
def main():
import sys
if l... | Python |
#!/usr/bin/python2.4
#
# Copyright 2007 The Python-Twitter Developers
#
# 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... | Python |
#!/usr/bin/env pypy
import os, sys, logging, re
import argparse
import fnmatch
configurations = {'lite', 'pro'}
package_dirs = {
'lite': ('src/cx/hell/android/pdfview',),
'pro': ('src/cx/hell/android/pdfviewpro',)
}
file_replaces = {
'lite': (
'cx.hell.android.pdfview.',
'"cx.hell.an... | Python |
#!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python
import codecs
import re
import jinja2
import markdown
def process_slides():
with codecs.open('../presentation.html', 'w', encoding='utf8') as outfile:
md = codecs.open('slides.md', encoding='utf8').read()
md_slides = md.split('\n---\n')... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gener... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Ignacio Andreu <plunchete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free S... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Ignacio Andreu <plunchete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free S... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# t... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Founda... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gener... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free So... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free So... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
# (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com>
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Néstor Salceda <nestor.salceda at gmail dot com>
# (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms ... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com>
#
# This file is part of "debug_mode_on".
#
# "debug_mode_on" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free So... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software ... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
# (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com>
#
# This file is part of "vikuit".
#
# "vikuit" is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation... | Python |
Subsets and Splits
SQL Console for ajibawa-2023/Python-Code-Large
Provides a useful breakdown of language distribution in the training data, showing which languages have the most samples and helping identify potential imbalances across different language groups.