오늘의 공부/numpy (2) 썸네일형 리스트형 오늘의 numpy:numpy.random.normal함수 [기능] 정규분포로부터 임의의 샘플들을 그린다. (정규분포의 확률밀도함수는 가우스와 라플라스에 의해 도출된다?) *normal distribution:정규분포 [파라미터] numpy.random.normal(loc=0.0,scales=1.0,size=None) 차례대로 평균의 위치는 어디에 놓을지 여기선 0에 놓는다고 기본값으로 되어있네요. scale은 표준편차,size는 샘플의 사이즈를 의미하는 듯합니다. [예시] [참고사이트] https://rfriend.tistory.com/284 [Python NumPy] 무작위 표본 추출, 난수 만들기 (random sampling, random number generation) 이번 포스팅에서는 시간과 비용 문제로 전수 조사를 못하므로 표본 조사를 해야 할 때.. 오늘의 numpy:[numpy.random.rand()] https://numpy.org/doc/stable/reference/random/generated/numpy.random.rand.html numpy.random.rand — NumPy v1.19 Manual Random values in a given shape. Note This is a convenience function for users porting code from Matlab, and wraps random_sample. That function takes a tuple to specify the size of the output, which is consistent with other NumPy functions like numpy.zeros numpy.org numpy.random.r.. 이전 1 다음