반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- list
- Kotlin
- string
- Tkinter
- Mac
- math
- gas
- SQL
- numpy
- Apache
- Github
- dataframe
- matplotlib
- PySpark
- Excel
- Java
- Redshift
- PostgreSQL
- 파이썬
- array
- GIT
- Google Excel
- google apps script
- PANDAS
- hive
- django
- Python
- Google Spreadsheet
- c#
Archives
- Today
- Total
목록Uniform (1)
달나라 노트
Python numpy : random normal, random uniform (정규 분포, 균등 분포, 정규 분포 array, 균등 분포 array, normal distribution, uniform distribution)
numpy의 normal method는 특정 구간 사이의 값을 정규분포의 형태로 추출해줍니다. numpy의 uniform method는 특정 구간 사이의 값을 균등분포의 형태로 추출해줍니다. 이게 무슨 소린지 지금은 잘 감이 안올겁니다. 실제 예시를 보시죠. 먼저 normal method (정규분포)를 봅시다. import numpy as np arr_normal_distribution = np.random.normal(loc=0, scale=10, size=10000) print(arr_normal_distribution) -- Result [ 6.95222556 -5.13843794 1.64328595 ... -10.97587735 18.23262221 -21.6592955 ] normal metho..
Python/Python numpy
2022. 1. 23. 01:12