A graph with force layout (using d3.js) and labels on edges, autorotation of those labels and arrowheads. 22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
# Define the complexity terms for each action | |
complexity_a1 = 0.1 # Lower complexity for fixing it yourself | |
complexity_a2 = 0.5 # Higher complexity for asking a colleague | |
# Initialize beliefs and probabilities with updated values | |
Q_a1_dynamic = 0.5 # Initial belief that you can fix the bug yourself | |
Q_a2_dynamic = 0.5 # Initial belief that your colleague can fix the bug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const base91 = require('node-base91') | |
const sharp = require('sharp'); | |
function short_rgb_to_rgba_buffer(pixels) { | |
var width = 16, height = 16; | |
// var frameData = Buffer.from(rgba) | |
var i = 0; | |
var frameData = Buffer.alloc(width * height * 4); | |
var frameData_idx = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from: https://github.com/thehawkgriffith/dyna-maze | |
import numpy as np | |
import os | |
import matplotlib.pyplot as plt | |
from time import sleep | |
StateMemory = [] | |
ActionMemory = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment | Training Steps | Training Time | Steps Per Second | |
---|---|---|---|---|
Hopper | 4,800,000 | 36m 31s | 2,190 | |
Walker | 4,800,000 | 37m 14s | 2,149 | |
Humanoid | 16,000,000 | 3h 37m | 1,229 | |
Ant | 4,800,000 | 35m 55s | 2,359 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Xml.Linq; | |
using UnityEngine; | |
namespace MLAgents | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import subprocess | |
import threading | |
import sys | |
from signal import * | |
cur_path = os.path.dirname(os.path.realpath(__file__)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using ServiceStack; | |
using ServiceStack.Text; | |
using System; | |
using System.Threading.Tasks; | |
using Orions.Cloud.Client.Http; | |
using Orions.Cloud.Common.Data; | |
using System.Collections.Generic; | |
const string AppAccessToken = "eyJ0eXAiOiJDU1AiLCAiZW5jIjoiUlNBX09BRVAifQ.GiJl1NAy9E64OtcqoeE5NedwGylIXwK5F39m_5v0NnGm2zWmJ3x6Hhx0c65QbCZL8v2wJRe6kxTf4KYBaFohSoyu2Z-LJmJFOScSQqeUgbi62amT636Y6wIDoM84oQ23R5v2NPL8n7wwtQecx7_xa5lYgnNFDlq1pb41KXQT65I.66yEgL7AapwReAGV.jEhvqHMvF_TGr0eMIK2X1yBw2paVxUq8eW9JUlXdArISpg3cVNqcWhcSKpHvig.YB9A05OjxOCEonAOXJDXlw"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// App.Config | |
// Created by Sohojoe on 2017/01/28 | |
NewerOlder