Skip to content

Instantly share code, notes, and snippets.

View kengos's full-sized avatar

Kengo Suzuki kengos

  • Hamamatsu Japan
View GitHub Profile
@kengos
kengos / weather.csv
Created January 8, 2019 13:24
[Practice] Predict temperature
気温 品質 均質
1989 1 1 8.2 8 1
1989 1 2 9.3 8 1
1989 1 3 8.2 8 1
1989 1 4 6.7 8 1
1989 1 5 5.9 8 1
1989 1 6 7.9 8 1
1989 1 7 8.4 8 1
1989 1 8 8.1 8 1
1989 1 9 9.4 8 1
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kengos
kengos / DecisionTree.ipynb
Created July 7, 2018 16:11
Decision Tree
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kengos
kengos / nem_nis_openapi.yaml
Last active February 5, 2018 07:29
NEM NIS OpenApi YAML
openapi: "3.0.0"
info:
title: NEM NIS API Documentation
version: "1.22"
contact: {}
servers:
- url: 'http://104.128.226.60:7890'
description: Testnet server
- url: 'http://alice6.nem.ninja:7890'
description: Mainnet server
@kengos
kengos / incoming.csv
Created January 30, 2018 12:57
NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ のトランザクション
We can't make this file beautiful and searchable because it's too large.
2018-1-30 13:53:45,1598242,257,NDN2L3HVD36ABYEH24NXBZA636VFTILNH5U3LY6K,NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ,39303266313136643662323931393661,10
2018-1-30 01:09:29,1596400,4100,NAGJG3QFWYZ37LMI7IQPSGQNYADGSJZGJRD2DIYA,NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ,36303830316636306637336563646263,25
2018-1-29 17:47:36,1594547,257,ND5HNZIIWA4IRCL55YVMWZEEWWZVSQ6HB4CP2Q4R,NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ,4e42424a5144565a4b50454f4a4c434745493346515133494d375a564f4c4f565a3652434c465656,9000
2018-1-29 08:46:22,1593197,257,NCOE7HHGYE4ZG3NKYY4LM477RW2QPTPAIYZPBYIX,NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ,33306137393632316637633965313338,5
2018-1-29 08:37:14,1593183,257,NCOE7HHGYE4ZG3NKYY4LM477RW2QPTPAIYZPBYIX,NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ,,5
2018-1-26 23:37:20,1578866,257,NCP7UH5BT5OHPAWPFFVNR2453BNODJUZJ6777N3N,NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ,61383734386330336433333130663635,509
2018-1-26 22:28:12,1578388,257,NDMTUFGCJP2YO7FJAVIWEUTCHVKO5UF3L7OD2AQH,NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ
@kengos
kengos / NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ_incoming.tsv
Created January 30, 2018 07:01
NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ_incoming_and_outgoing
We can't make this file beautiful and searchable because it's too large.
2018-1-30 13:53:45 1598242 257 NDN2L3HVD36ABYEH24NXBZA636VFTILNH5U3LY6K NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ 39303266313136643662323931393661 10
2018-1-30 01:09:29 1596400 4100 NAGJG3QFWYZ37LMI7IQPSGQNYADGSJZGJRD2DIYA NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ 36303830316636306637336563646263 25
2018-1-29 17:47:36 1594547 257 ND5HNZIIWA4IRCL55YVMWZEEWWZVSQ6HB4CP2Q4R NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ 4e42424a5144565a4b50454f4a4c434745493346515133494d375a564f4c4f565a3652434c465656 9000
2018-1-29 08:46:22 1593197 257 NCOE7HHGYE4ZG3NKYY4LM477RW2QPTPAIYZPBYIX NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ 33306137393632316637633965313338 5
2018-1-29 08:37:14 1593183 257 NCOE7HHGYE4ZG3NKYY4LM477RW2QPTPAIYZPBYIX NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ 5
2018-1-26 23:37:20 1578866 257 NCP7UH5BT5OHPAWPFFVNR2453BNODJUZJ6777N3N NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ 61383734386330336433333130663635 509
2018-1-26 22:28:12 1578388 257 NDMTUFGCJP2YO7FJAVIWEUTCHVKO5UF3L7OD2AQH NC3BI3DNMR2PGEOOMP2NKXQGSAKMS7GYRKVA5CSZ
@kengos
kengos / cache.js
Created December 4, 2015 00:08 — forked from bshamric/cache.js
I like phantomjs, but it doesn't directly support getting images from webpages without requesting them separately like in casperjs. I went through QTNetworking code in the phantomjs repo until I figured out where the cache was. To use this, have all three files in the same directory. Then modify test.js for whatever you need. Call phantom js wit…
var fs = require('fs');
//this is the path that QTNetwork classes uses for caching files for it's http client
//the path should be the one that has 16 folders labeled 0,1,2,3,...,F
exports.cachePath = '/path/to/phantomjs/cache/data/folder';
//this is the extension used for files in the cache path
exports.cacheExtension = "d";
//the resources that are to be saved
@kengos
kengos / 1-100で同じ問題
Created November 12, 2015 13:39
浜松Ruby#58 その3
#!/usr/bin/env ruby
class Model
attr_accessor :genomes
def initialize(genomes)
@genomes = genomes
end
def score
@kengos
kengos / Genetic Algorithms
Created November 12, 2015 12:20
浜松ruby#58 その2
#!/usr/bin/env ruby
class Model
attr_accessor :genomes
def initialize(genomes)
@genomes = genomes
end
def score