- 「Googleスケールの機械学習テクノロジー」
- Google Inc クラウドデベロッパーアドボケイト 佐藤一憲氏
- 「TensorFlowで趣味の画像収集サーバーを作る 4月号」
- 有限会社シーリス 代表 有山 圭二氏
- 「ニューラルネット以外でのTensorFlow活用法」
- faho氏
- 「TensorFlow Tutorialの数学的背景」クイックツアー(パート1)
- 中井悦司氏
This file contains hidden or 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
| =begin | |
| ## エラトステネスのふるい とは | |
| エラトステネスのふるいは、x^(1/2) 以下の素数が既知のとき、 | |
| x^(1/2) 以上 x 以下の素数を決定するには、x 以下の整数で | |
| x^(1/2) 以下の素数の倍数を全て取り除けばよいというものです | |
| ## なぜ組み込みのエラトステネスのふるい は早いのか |
This file contains hidden or 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
| set LANG en_US.UTF-8 | |
| # for homebrew | |
| set -x PATH=/usr/local/bin $PATH | |
| set -x PATH=/usr/local/sbin $PATH | |
| # Customize to your needs... | |
| export LSCOLORS=gxfxcxdxbxegedabagacad | |
| alias ls='ls -G' | |
| alias today='mkdir `date +"%Y%m%d"`' |
This file contains hidden or 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
| package main | |
| import ( | |
| "log" | |
| "runtime" | |
| "time" | |
| ) | |
| func f(msg string) { | |
| log.Println(msg) |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "math" | |
| ) | |
| /* | |
| * ## グラフの基礎知識 | |
| * |
This file contains hidden or 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
| # -*- coding: utf-8 -*- | |
| import numpy as np | |
| data_set = { | |
| 'transaction_1': [0,1,0,0,1], | |
| 'transaction_2': [1,0,1,1,0], | |
| 'transaction_3': [1,0,1,0,0], | |
| 'transaction_4': [0,1,0,1,0], | |
| 'transaction_5': [0,0,0,1,0] |
This file contains hidden or 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 multiprocessing import Process | |
| import os | |
| MAX_PROCESS = 4 | |
| def info(title): | |
| print("%s, 'module: %s, pid: %s" % (title, __name__, os.getpid())) | |
| def f(name): | |
| info('function f') |
This file contains hidden or 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 sqlalchemy import create_engine | |
| from sqlalchemy.orm import sessionmaker | |
| db = { | |
| 'driver': 'mysql+mysqldb', | |
| 'user': 'root', | |
| 'password': '', | |
| 'host': 'localhost', | |
| 'database': 'sample_data', | |
| 'opt': '?charset=utf8' |
This file contains hidden or 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
| var matrix [2][2]int = [2][2]int {} | |
| // #=> [[0 0] [0 0]] | |
| matrix2 := [2][2]int {} | |
| // #=> [[0 0] [0 0]] | |
| matrix3 := [3][2]int {{0, 1}, {}, {2, 3}} | |
| // #=> [[0 1] [0 0] [2 3]] |
This file contains hidden or 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 centos:centos7 | |
| MAINTAINER yusaku.omasa | |
| RUN yum -y update | |
| # Install dependency | |
| RUN yum -y install ant \ | |
| asciidoc \ | |
| cyrus-sasl-devel \ |