Did I find the right examples for you? yes no

All Samples(27497)  |  Call(5)  |  Derive(0)  |  Import(27492)
Random variable generators.

    integers
    --------
           uniform within range

    sequences
    ---------
           pick random element
           pick random sample(more...)

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/processing/examples/ex_synchronize.py   hortonworks-sandbox(Download)
#
# A test file for the `processing` package
#
 
import time, sys, random

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/processing/examples/ex_pool.py   hortonworks-sandbox(Download)
from processing import cpuCount, currentProcess, freezeSupport, activeChildren
 
import time, random, sys
 
#

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/eventlet-0.9.14/examples/websocket.py   hortonworks-sandbox(Download)
# demo app
import os
import random
 
@websocket.WebSocketWSGI

src/p/y/Pyro-3.16/examples/stresstest/naming.py   Pyro(Download)
#!/usr/bin/env python
 
import Pyro.naming
import random, time
from threading import Thread
import random

src/k/a/kamaelia-HEAD/Sketches/MH/Layout/Example.py   kamaelia(Download)
 
if __name__=="__main__":
    import random
    N,L = 4,2
 

src/e/x/explauto-0.1.2/explauto/third_party/models/models/samples/samples.py   explauto(Download)
# Generate sample dataset to test regression algorithms.
 
import math
from math import cos, sin
import random

src/e/x/explauto-0.1.2/explauto/third_party/models/examples/tests/nn.py   explauto(Download)
import random
import numpy as np
np.set_printoptions(precision = 2)
 
import models.forward.nn as nnmodel

src/e/x/explauto-0.1.2/explauto/third_party/models/examples/ladder/link1.py   explauto(Download)
"""Benchmarking a simple 3 DOF, 2D Kinematic Arm in function of timesteps."""
import random
random.seed(0)
 
import treedict

src/e/x/explauto-0.1.2/explauto/third_party/models/examples/docs/forward1.py   explauto(Download)
import random
import math
import numpy as np
np.set_printoptions(precision = 2)
 

src/e/x/explauto-0.1.2/explauto/third_party/models/examples/docs/forward0.py   explauto(Download)
import random
import numpy as np
np.set_printoptions(precision = 2)
 
import models.forward.lwr as lwr

Previous  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10  Next