I hereby claim:
- I am ernestum on github.
- I am ernestum (https://keybase.io/ernestum) on keybase.
- I have a public key ASCOS_X7V96tqJPjqiqYbp9dQxT08A98m0UxjkCjstgQpgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import time | |
import numpy as np | |
from quadrotor_environment.quadrotor_model import SysState | |
from quadrotor_environment.simulation_parameter_randomization import SPRWrappedQuadrotorEnvironment | |
from stable_baselines import PPO2 | |
state_dtype = np.dtype([("position", np.float, 3), | |
("velocity", np.float, 3), | |
("rotation", np.quaternion), |
absl-py==0.6.1 | |
alabaster==0.7.10 | |
AnyQt==0.0.8 | |
apptools==4.4.0 | |
apt-clone==0.2.1 | |
apt-xapian-index==0.47 | |
apturl==0.5.2 | |
astor==0.7.1 | |
atari-py==0.1.6 | |
atomicwrites==1.2.1 |
# -*- coding: utf-8 -*- | |
import math | |
import re | |
import time | |
def extractTerms(document): | |
''' | |
Extracts all the terms (lowercased) from a document string. | |
''' | |
return [t.lower() for t in re.split("\W+", document)] |
import numpy as np | |
from scipy.ndimage.interpolation import map_coordinates | |
from scipy.ndimage.filters import gaussian_filter | |
def elastic_transform(image, alpha, sigma, random_state=None): | |
"""Elastic deformation of images as described in [Simard2003]_. | |
.. [Simard2003] Simard, Steinkraus and Platt, "Best Practices for | |
Convolutional Neural Networks applied to Visual Document Analysis", in | |
Proc. of the International Conference on Document Analysis and | |
Recognition, 2003. |
# -*- coding: utf-8 -*- | |
import random | |
''' | |
ACTUAL ALGORITHM START | |
''' | |
def getMaximumSumSubsequenceInformation(sequence, start, end): | |
''' | |
Returns information regarding the subsequence with maximal sum in the given |
#include <Servo.h> | |
int servoPin = 9, speedPotPin = A0, directionPotPin = A1; | |
Servo servo; | |
void setup() | |
{ | |
Serial.begin(9600); | |
pinMode(servoPin, OUTPUT); | |
pinMode(speedPotPin, INPUT); | |
pinMode(directionPotPin, INPUT); |