機械学習に必要な数学的基礎

ーーーーーーーーーーーーー
変数・定数
1次式と2次式
関数の概念
平方根
累乗と累乗根
指数関数と対数関数
自然対数
シグモイド関数
三角関数
絶対値とユークリッド距離
数列
要素と集合
ーーーーーーーーーーーーー
ちなみにこれ、中1から高校までの数学らしい。
指数関数、対数関数、自然対数、シグモイド関数、ユークリッド距離あたりから怪しくなってくるな。

– ニューラルネットワークでは、重み(w)という概念がある。コンピュータが自動的に重み(w)を学習する。学習したモデルを利用するときは重みが「定数」として扱われる。

– 一次式は直線、二次式は放物線
– 一番大きな次数についている係数の正負によりグラフの向きが異なる

xintd

ポート監視用のデーモンプログラム
inetdとTCP wrapper(tcpd)の組合せによるアクセス制限が一般的
xinetdの上位互換のinetd

xinetd
– 細かく設定可
– メール通知不可
– アドレス制御 固定長マスク
– 時間による制御可
– アクセス回数制限可
– サービスとインターフェイス 切り分け可
– フォワード機能可

xinetd は起動時に、このファイルから設定情報を読み込む

# default: off
# description: The rsync server is a good addition to an ftp server, as it \
#	allows crc checksumming etc.
service rsync
{
	disable	= yes
	flags		= IPv6
	socket_type     = stream
	wait            = no
	user            = root
	server          = /usr/bin/rsync
	server_args     = --daemon
	log_on_failure  += USERID
}

線形代数とは

– 行列とベクトルの性質を調べる学問
– 線形空間と線形変換を中心とした理論
– 行列、行列式、連立一次方程式の理論を含む

行列とは何か
数字を四角に並べたもの。あ、少し思い出してきた。。
1 4 8
2 3 8
7 5 4

線形代数の応用
→ 画像処理、3次元データ処理
→ PageRank
→ 統計学
→ 量子力学

連立方程式と行列
2x + 4 = 7
x + 3y = 6
係数が行列になる
2 4 x = 7
1 3 y = 6
→ 行列を使った方程式を解くことは、連立方程式を解くことと同じ

ベクトル
数字が縦横のどちらにしか並んでいないものをベクトルという

行列
記号、実数、複素数などを縦、横、長方形に並べたもの
-4 4.3
-1 3.5
5.7 12
横の並びを行、縦の並びを列
3 x 3行列 などと言ったりする
行列を構成する要素一つ一つを成分と呼ぶ
以下のようにi行j列の成分を表すことがある
a11 a12 a13
a21 a22 a23
a31 a32 a33
抽象的な行列は
A = [aij]
1行しかない行列を行ベクトル、1列しかない行列を列ベクトル

ベクトルの大きさ
||a|| = √x^2 + y^2

線形変換
scale, rotate, reflect, shearなど
なるほど、ベクトルだとこういうことができるのね。

微分の計算式

微分の関数とは

limb→a f(b)-f(a)/(b-a)

f(x)を微分するとf'(x)になる

(X^n)’ = nx^n-1
(sin x)’ = cos x
(tan x)’ = 1/cos^2x
(e^x)’ = e^x

うむ、微分の理論はなんとなくわかってきたか。

機械学習に必要な数学

数学基礎
→ 変数、定数、1次式、2次式、関数、平方根、累乗、累乗根、指数関数、対数関数、自然対数、シグモイド関数、三角関数、絶対値とユークリッド距離、数列、要素と集合

微分
→ 変数の微小な変化に対応する、関数の変化の割合の極限を求めること
→ 関数の各点の傾き
線形代数
確率・統計

センサー技術

震度センサー
圧力・気圧センサー
電流センサー
雨量・水位センサー
風量センサー
マイクロホン
人感センサー
開閉センサー
CCD/CMOSイメージセンサー
二酸化炭素センサー
GPS
電子コンパス
湿度・温度センサー
ジャイロセンサー
照度センサー

機械学習の利用用途

識別
情報の判別・仕分け・検索
音声、画像、動画の意味理解
異常検知・予知

予測
数値予測
ニーズ・意図予測
マッチング

実行
表現生成
デザイン
行動の最適化
行動の自動化

GPUメーカー

大手GPUメーカー
– Nvidia
– Intel
– AMD

まずNvidia

やべーなこれ、日本は全く相手にされてないな。

What we need to see:

BS or MS in Computer Science or equivalent program from an accredited University / College
10+ years of hands-on experiences building software and/or scalable cloud services
Strong self-initiative, passion, interpersonal skills, and agility working with new technology
Hands-on development of high quality distributed system features and/or cloud scale services, and RESTful web services
Experience with cloud system infrastructure, cloud-scale software, Continuous Integration and Continuous Delivery (CI/CD)
Demonstrated skills in wide variety of languages including: Java and Python
Deep understanding of cloud design in the areas of virtualization and global infrastructure, distributed systems, load balancing and security
Track record of crafting well-designed solutions and delivering high-quality software on time

Intel

AMD
REQUIREMENTS:

Advanced programming skills in C for operating system kernel & systems development
Experience with the GNU toolchain
Proficient use of git
Experience building and submitting patches on a mailing list and in general collaborative open source development
Excellent understanding of operating systems concepts, data structures, the x86-64 architecture, and virtualization
Experience with low level debug tools as well as emulators and simulators
Experience with open source software development
Experience working with external software partners
Experience running, analyzing, and tuning system performance benchmarks
Strong analysis and problem solving skills
Proven interpersonal skills, technical and team leadership and collaboration
Excellent written and verbal communication skills
Programming skills with Python and Bash
Preferred experience with Jenkins for CI/CT.

やべーなこれ。。

Azureのmachine learning

Microsoftの機械学習はどんな感じでしょうか?

– Bach AI
– Bot Service
– Cognitive Services
– Machine Learning service workspaces
– Machine Learning Studio web services
– Machine Learning Studio workspaces
– Genomics accounts
– Machine Learning Studio web service plan

Machine Learning Studio web services
必要なデータ、フィルタ、計算モデル等のロジックをドラック&ドロップで配置する

ん、ちょっと待てよ
Mean Absolute Error
Root Mean Squared Error
Relative Absolute Error
Relative Squared Error
Coefficient of Determination

これは別に機械学習でもなんでもないように思うんだが。。