일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- imread
- pycharm
- javascript
- GT-S80
- SciPy
- mean
- Lotto
- Python
- SPL
- E-P1
- DFS
- pandas
- Numpy
- GitHub
- Button
- synology
- mariadb
- 알고리즘
- CNN
- 삼성소프트웨어멤버십
- pip
- ipad
- Splunk
- LSTM
- RNN
- dataframe
- Series
- index
- install
- keras
Archives
- Today
- Total
잠토의 잠망경
[numpy] random 본문
random
import numpy as np
a = np.random.uniform(1,2,(2,2)) # 1~2 사이의 균일한 분포로 무작위 배열 반환
b = np.random.lognormal(3,1,10) # 평균, 시스마를 이용하여 무작위 배열 반환
c = np.random.laplace(0, 1, (2,2)) # 라플라스 분포의 무자위 배열 반환
d = np.random.random((2,3)) # 2 \*3 배열
e = np.random.random((2,3)) # 2 \* 3 배열
f = np.random.rand(2,2) # 무작위
g = np.random.randn(2,2) # 표준 편차
h = np.random.randint(1,3,(2,2), dtype = int)
Comments