๋ฐ์ํ
250x250
Notice
Recent Posts
Recent Comments
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- AWS
- ํ๋ธ๋ฃจ
- tableau
- ์ฝ๋ฉํ ์คํธ
- ์๊ณ ๋ฆฌ์ฆ
- ๊นํ๋ธ
- sap
- ํ ์คํธ๋ถ์
- ์ฝํ
- ๋ฐ์ดํฐ ๋ถ์
- ๋ฅ๋ฌ๋
- AI
- ์์ฐ์ด์ฒ๋ฆฌ
- abap
- react
- ํ๋ธ๋ก
- Git
- ์ธ๊ณต์ง๋ฅ
- ๋ฆฌ์กํธ
- ์๋ง์กด์น์๋น์ค
- ํ์ด์ฌ
- ๋ฐฑ์ค
- github
- ๋ฐ์ดํฐ๋ถ์
- nlp
- DFS
- ๋น ๋ฐ์ดํฐ
- ํ ์คํธ๋ง์ด๋
- ์๋ฐ์คํฌ๋ฆฝํธ
- erp
Archives
- Today
- Total
๋ชฉ๋กํ์ด์ฌ itertools (1)
DATA101

์๋ ํ์ธ์, ์ค๋์ ํ์ด์ฌ itertools ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ํ์ฉํ์ฌ ์์ด(Permutation), ์กฐํฉ(Combination), ์ค๋ณต ์์ด(Permutation with reptition), ์ค๋ณต ์กฐํฉ(Combination with reptition)์ ๊ณ์ฐํ๋ ๋ฐฉ๋ฒ์ ๋ํด ๊ณต์ ํด ๋๋ฆฝ๋๋ค. ๊ทธ๋ผ ๋ฐ๋ก ์์ํ์ฃ ! ๐ ๋ชฉ์ฐจ 1. ์์ด(Permutation) 2. ์กฐํฉ(Combination) 3. ์ค๋ณต ์์ด(Permutation with repetition) 4. ์ค๋ณต ์กฐํฉ(Combination with repetition) 1. ์์ด(Permutation) ์์ด์ \(n\) ๊ฐ์ ๋ฐ์ดํฐ ์ค์์ \(r\) ๊ฐ์ ๋ฐ์ดํฐ๋ฅผ ๋ฝ์ ์ผ๋ ฌ๋ก ๋์ดํ๋ ๋ชจ๋ ๊ฒฝ์ฐ์ ์๋ก์ ์ํ์ ์ธ ๊ธฐํธ๋ก๋ \(_{n}P_{r}\) ์ ๊ฐ..
SW ๊ฐ๋ฐ/Python
2021. 4. 21. 12:21