I hereby claim:
- I am markroxor on github.
- I am markroxor (https://keybase.io/markroxor) on keybase.
- I have a public key whose fingerprint is 88E6 23D1 6F92 29B0 0EBC 60E1 9A40 0A69 45E9 1AA6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import urllib2 | |
import json | |
import pickle | |
import time | |
while True: | |
response = urllib2.urlopen('http://122.252.246.246:8081/MMTSLiveeng.html') | |
html = response.read() |
Leader - Akshay | |
Will take care of recruitment and who fights in CW. | |
Senior player - Scorpion | |
Will take care of recruitment and is the person of contact for any issues. | |
Members - | |
1. Yogi | |
2. Majin Buu | |
3. DJ |
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
>>> list.__doc__
"list() -> new empty list\nlist(iterable) -> new list initialized from iterable's items"
>>> list().__doc__
"list() -> new empty list\nlist(iterable) -> new list initialized from iterable's items"
>>> help(list)
Help on class list in module builtins:
class list(object)
| list() -> new empty list
"use strict"; | |
var gymHTTPClient_1 = require("/home/markroxor/Documents/RL/gym-http-api/binding-js/dist/lib/gymHTTPClient"); | |
var RandomDiscreteAgent = (function () { | |
function RandomDiscreteAgent(n) { | |
this.n = n; | |
} | |
RandomDiscreteAgent.prototype.act = function (observation, reward, done) { | |
return Math.floor(Math.random() * this.n); | |
}; | |
return RandomDiscreteAgent; |
"use strict"; | |
var axios = require("axios"); | |
var Client = (function () { | |
function Client(remote) { | |
this.remote = remote; | |
this.shouldLog = (process.env.SHOULD_LOG === "true"); | |
if (this.shouldLog) { | |
console.log("Logging enabled"); | |
} | |
else { |
const axios = require('axios'); | |
// Make a request for a user with a given ID | |
var server_url = 'http://127.0.0.1:5000' | |
var url = server_url + '/v1/envs/'; | |
var msg = {'env_id': 'CartPole-v0'}; | |
let axiosConfig = { | |
headers: { | |
'Content-Type': 'application/json', |