Slide 1

Slide 1 text

Tsukuba.R #1 Kickoff meeting Concept of "BeginneR Session" @kilometer00 2018.10.07 at Tsukuba – Cases Report –

Slide 2

Slide 2 text

Who!?

Slide 3

Slide 3 text

Who!? 名前: 三村 @kilometer00 職業: ポスドク (こうがくはくし) 専⾨: ⾏動神経科学 脳イメージング 医療システム⼯学 R歴: ~ 10年ぐらい 流⾏: イタ飯

Slide 4

Slide 4 text

BeginneR Session in

Slide 5

Slide 5 text

Configuration of 1. Beginner Session 2. Advanced Session 3. LT Session Basic knowledge, Global usage, Tutorial Application case, Developed own pkgs 5min short talk (lightning talk)

Slide 6

Slide 6 text

Evolution of Tokyo.R Jan 27, 2010

Slide 7

Slide 7 text

Evolution of Tokyo.R Jan 27, 2010 Beginners Session

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

BeginneR

Slide 10

Slide 10 text

Before After BeginneR Session BeginneR BeginneR

Slide 11

Slide 11 text

BeginneR Advanced Hoxo_m If I have seen further it is by standing on the sholders of Giants. -- Sir Isaac Newton, 1676

Slide 12

Slide 12 text

BeginneR Advanced * Landscape form the sholders of Giants * Philosophy of the climbing wall structure * Climbing techniques

Slide 13

Slide 13 text

* Landscape form the sholders of Giants

Slide 14

Slide 14 text

* Landscape form the sholders of Giants Advanced Session Application case, Developed own pkgs

Slide 15

Slide 15 text

Beginner Session Basic knowledge, Global usage, Tutorial * Concept of the wall structure * Climbing techniques 3 1

Slide 16

Slide 16 text

... * Climbing techniques

Slide 17

Slide 17 text

... Perm Crimp Jug * Climbing techniques Diagonal move

Slide 18

Slide 18 text

... Perm Crimp Jug * Techniques Diagonal move How How How How

Slide 19

Slide 19 text

... Perm Crimp Jug * Techniques Diagonal move Why? Why? Why? Why? Why? Why? Why? Why? Why? How How How How * Concept Why? Why? Why? Why? Why? Why? Why?

Slide 20

Slide 20 text

BeginneR Session in

Slide 21

Slide 21 text

67th Tokyo.R at Otto Japan Inc. @kilometer Beginner’s Session 2 -- data manipulation --

Slide 22

Slide 22 text

ブール演算⼦ Boolean Algebra A == B A != B A | B A & B A %in% B # equal to # not equal to # or # and # is A in B?

Slide 23

Slide 23 text

George Boole 1815 - 1864 A Class-Room Introduction to Logic https://niyamaklogic.wordpress.com/c ategory/laws-of-thoughts/ Mathematician Philosopher &

Slide 24

Slide 24 text

1JQFBMHFCSB X %>% f X %>% f(y) X %>% f %>% g X %>% f(y, .) f(X) f(X, y) g(f(X)) f(y, X) %>% {magrittr} 「dplyr再⼊⾨(基本編)」yutanihilation https://speakerdeck.com/yutannihilation/dplyrzai-ru-men-ji-ben-bian

Slide 25

Slide 25 text

{magrittr} # こう書きますか? 536&*/ dat1 <- f1(dat0, var1-1, var1-2) dat2 <- f2(dat1, var2) dat3 <- f3(dat2, var3) dat4 <- f4(var4-1, dat3, var4-2) dat5 <- f5(dat4, var5) dat6 <- f6(dat5, var6) 536&065 5IJOLJOH 3FBEJOH 1JQFBMHFCSB %>%

Slide 26

Slide 26 text

{magrittr} # こうやって書く事もできます。 dat <- dat0 %>% f1(var1-1, var1-2) %>% f2(var2) %>% f3(var3) %>% f4(var4-1, ., var4-2) %>% f5(var5) %>% f6(var6) */ 065 1JQFBMHFCSB %>%

Slide 27

Slide 27 text

{magrittr} dat <- iris %>% .[, 1:3] %>% prcomp iris %>% .[, 1:3] %>% prcomp -> dat “Passive” writing “Active” writing BはAがFされたもの AをFするとBになる 1JQFBMHFCSB %>%

Slide 28

Slide 28 text

69th Tokyo.R @kilometer BeginneR Session 1 -- Data Import / Export -- 2018.04.21 at Roppongi

Slide 29

Slide 29 text

Input Output Do NOT start from here Whatever … 1 2 3

Slide 30

Slide 30 text

70th Tokyo.R @kilometer BeginneR Session 1 -- Bayesian Modeling -- 2018.06.09 at Microsoft Co.

Slide 31

Slide 31 text

What is modeling?

Slide 32

Slide 32 text

What is modeling? ℎ f X ℎℎ Truth Knowledge Narrow sense Broad sense

Slide 33

Slide 33 text

likelihood prior posterior ≅ ) ∗ () likelihood | <(=|>)∗<(>|?) | <(@|?) <(=|>) prior distribution posterior distribution predictive distribution data () (|) Truth Information Criterion in Bayesian modeling ebidence CD (| = −H(=) + CD (| = − H(?) Free energy Generalization error ≈ ≈ = − log ≔ self-information

Slide 34

Slide 34 text

Language Thought Natural Programing

Slide 35

Slide 35 text

Think Write Programing Read

Slide 36

Slide 36 text

Beginner Session Basic knowledge, Global usage, Tutorial * Concept of the wall structure * Climbing techniques 3 1

Slide 37

Slide 37 text

BeginneR Advanced Hoxo_m If I have seen further it is by standing on the sholders of Giants. -- Sir Isaac Newton, 1676

Slide 38

Slide 38 text

“Life shrinks or expands to one’s courage.” -- Anaïs Nin, 2000 http://theamericanreader.com

Slide 39

Slide 39 text

Enjoy!! KMT©