c:data_science_introduction
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
c:data_science_introduction [2021/04/12 11:24] – created hkimscil | c:data_science_introduction [2021/04/12 13:04] (current) – removed hkimscil | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Introduction ====== | ||
- | |||
- | < | ||
- | classtaken = matrix(0, | ||
- | edge.list = matrix ( | ||
- | c(1, | ||
- | 2, | ||
- | 3, | ||
- | 4, | ||
- | 5, | ||
- | 6, | ||
- | 7, | ||
- | 8, | ||
- | edge.list | ||
- | classtaken[edge.list] = 1 | ||
- | classtaken # classtaken 데이터 확인 | ||
- | rownames(classtaken) <- c(" | ||
- | " | ||
- | " | ||
- | colnames(classtaken) <- c(" | ||
- | " | ||
- | " | ||
- | classtaken | ||
- | |||
- | c <- classtaken | ||
- | tc <- t(classtaken) | ||
- | |||
- | stu <- c %*% tc | ||
- | class <- tc %*% c | ||
- | |||
- | stu | ||
- | class | ||
- | </ | ||
c/data_science_introduction.1618194281.txt.gz · Last modified: 2021/04/12 11:24 by hkimscil