20170129

Jan 29, 2017  

NHK

アレキサンダーハミルトンとラジオ英会話Week2, Quizletを使い始めた。

Math

Just Enough Math 2. Abstract Algebra.

Abstract Algebra. It’s important because of

  • functional programming
  • real time analitics
  • avoiding the bottlenecks in batch processes

Monoidとか 意味がわからない。今の所。

https://ja.wikipedia.org/wiki/抽象代数学 https://en.wikipedia.org/wiki/Abstract_algebra

Monoid

wikiは全然分からず、、 https://ja.wikipedia.org/wiki/モノイド 講義の中で紹介されてたこれを見て見る. http://math.uga.edu/~pete/semigroup.pdf

semigroup

A semigroup M is a nonempty set equipped with a binary operation ·, which is required (only!) to be associative.

http://math.uga.edu/~pete/semigroup.pdf

  • associative だから、semigroupは分割できる!
identity

An element e of a semigroup M is said to be an identity if for all x ∈ M, ex = xe = x.

Proposition 1. A semigroup can have at most one identity. Proof: If e and e′ are both identities, then e = e · e′ = e′.

http://math.uga.edu/~pete/semigroup.pdf

monoid

A monoid is a semigroup with an identity element. By Proposition 1, the identity element is unique, and we shall generally denote it by 1.

http://math.uga.edu/~pete/semigroup.pdf

Commutative

Don’t mind the order

Data WorkFlow

  • business / data agregate … etc

Function programming

http://learnyouahaskell.com/chapters

Summary

Abstract Algebraをベースに(monoidなど)functional programmingがあって、Big DataのWorkflow, Bottlenecksに使える。Stream, Strong Typed などなど。ベースの数学(Abstract Algebra)、Haskel やScalaで学ぶなどなど

https://www.infoq.com/presentations/abstract-algebra-analytics https://speakerdeck.com/johnynek/algebra-for-analytics