flappy learn 说明
https://xviniette.github.io/FlappyLearning/
input 2 = (nowy, nxtcentery) (0.xx) hidden 2 output 1 重组过程 随机选择两方+随机突变(rate = 0.2)
{'data': {'onetime_story_id_list': [], 'friend_pt_info': {'friend_count': 0, 'after_friend_pt': 1950, 'help_count': 1, 'before_friend_pt': 1940, 'viewer_id': 174840612}, 'max_room_num': 2, 'open_jewel_shop_list': [{'buy_end_time': 1473519599, 'sc_use_limit_time': 1473519599, 'id': '2', 'user_buy_count': 1}], 'season_id': 0, 'album_list': [{'max_love_flag': 1, 'love': 50, 'card_id': 100001}, {'max_love_flag': 1, 'love': 150, 'card_id': 100002}, {'max_love_flag': 1, 'love': 20, 'card_id': 100003}, {'max_love_flag': 1, 'love': 60, 'card_id': 100004}, {'max_love_flag': 1, 'love': 20, 'card_id': 100005}, {'max_love_flag': 0, 'love': 20, 'card_id': 100006}, {'max_love_flag': 1, 'love': 20, 'card_id': 100007}, {'max_love_flag': 0, 'love': 20, 'card_id': 100008}, {'max_love_flag': 1, 'love': 20, 'card_id': 100009}, {'max_love_flag': 0, 'love': 30, 'card_id': 100010}, {'max_love_flag': 1, 'love': 20, 'card_id': 100013}, {'max_love_flag': 1, 'love': 60, 'card_id': 100014}, {'max_love_flag': 1, 'love': 20, 'card_id': 10 |
var Leap = require("leapjs/lib/index") | |
var net = require('net'); | |
var JsonSocket = require('json-socket'); | |
/* | |
var WebSocketServer = require('ws').Server | |
, wss = new WebSocketServer({ port: 2333 }); | |
*/ | |
var mSocket; | |
var started = true; |
flappy learn 说明
https://xviniette.github.io/FlappyLearning/
input 2 = (nowy, nxtcentery) (0.xx) hidden 2 output 1 重组过程 随机选择两方+随机突变(rate = 0.2)
import re | |
stopwords = codecs.open('stopwords.txt', 'r', 'utf-8').read() | |
stopwords = re.findall(r"[\w']+", stopwords) |
require 'net/http' | |
require 'json' | |
def request | |
Net::HTTP.get(URI('http://socialclub.rockstargames.com/games/gtav/ps4/bawsaq')) | |
uri = URI('http://socialclub.rockstargames.com/games/gtav/ajax/stockdetail') | |
http = Net::HTTP.new(uri.host, uri.port) | |
req = Net::HTTP::Get.new(uri) |
myKB.tgds = { | |
TGD ( { Atom ( "U" , { "x" , "y" , "z" } ) } , { Atom ( "T" , { "x" , "y" , "z" } ) } ), | |
TGD ( { Atom ( "R" , { "x" , "y" } ) , Atom ( "S" , { "x" , "z" , "w" } ) } , { Atom ( "T" , { "x", "y", "z" } ) , Atom ( "V" , { "w", "x" } ) } ) | |
}; | |
myKB.src.localI = { | |
Tuple ( "R", { Cell(CONST, "1") , Cell(CONST, "1") } ), | |
Tuple ( "R", { Cell(CONST, "3") , Cell(CONST, "2") } ), | |
Tuple ( "S", { Cell(CONST, "1") , Cell(CONST, "1") , Cell(CONST, "4") } ), | |
Tuple ( "S", { Cell(CONST, "1") , Cell(CONST, "2") , Cell(CONST, "4") } ), |