docker run --name elasticsearch -p 9200:9200 -p 9300:9300 elasticsearch
- 機械学習 : 法則やルールを予めユーザが与えることで、未知のデータに対して解答を作る
- 深層学習 : 何の指示も与えずに、AIが自分でデータの特徴やルールを学習していく (ディープラーニング)
前者は人がルールを与えるため、準備が大変だが、学習の方向性はコントールし易い。(まあ飛車が点数高いからそうなるよね。評価関数を変更しよう)。 後者は学習のコントロールが難しい。(正解かもだけど、なんで初手3八金なん?)
- 教師あり学習 : 訓練データ(入力と出力のセット)を元に、入力に対して答えを返すモノを作る。正解を知っている教師によって、「これはこう作業してね」と教育する「OJT研修」。 (過去データから未来の値を予測できる)
- 教師なし学習 : 出力値(正解)を必要としない分類。正解とかこまけぇこたぁいいんだよ派。とにかく集団に線引して、「似てる奴ら」を集める。 (クラスタリングができる)
(省略)
(省略)
- 静的型付け言語
- ネイティブコード生成 (LLVM)
- static nativeバイナリ作成可能
- capabilities-secure (型安全, メモリセーフ, 例外安全, データ競合フリー, デッドロックフリー)
- 並列処理 (Actor)
- マルチコア性能 (Erlang, Scalaより高速) https://www.ponylang.io/benchmarks_all.pdf
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
^+a:: | |
IfWinExist PuTTY | |
WinActivate | |
Else | |
Run,C:\Users\kazunori.nishi\app\putty-0.70-jp20170713\puttyjp.exe | |
return | |
^+b:: | |
Process,Exist,chrome.exe |
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
/* npm install acorn acorn-walk */ | |
/* usage: nodejs print-func.js foo.js --call */ | |
let mode = 'name'; | |
let index = process.argv.findIndex(function(e) { return e == "--call"}); | |
if (index > 0) { process.argv.splice(index, 1); mode = 'call'; } | |
let filename = process.argv[2]; | |
if (!filename) throw "file not found"; |
$ curl -H 'Accept-Encoding: gzip' http://staff.livedoor.blog/ > x1
$ crystal test.cr > x2
$ LC_ALL=C ls -l x1 x2
-rw-rw-r-- 1 maiha maiha 13786 Feb 10 10:00 x1
-rw-rw-r-- 1 maiha maiha 13602 Feb 10 10:06 x2
$ file x1 x2
x1: gzip compressed data, last modified: Sun Feb 10 01:00:48 2019, from Unix