scipyã«ã¯statsã¨ããçµ±è¨é¢æ°ãã¾ã¨ããã¢ã¸ã¥ã¼ã«ãããã¾ãï¼ statsã«ã¯ãããããªçµ±è¨é¢æ°ãç¨æããã¦ãã¾ããï¼APIã¯çµ±ä¸ããã¦ãã¾ãã®ã§ï¼ããã«ã¤ãã¦ã¡ãã£ã¨ã¾ã¨ãã¦ã¿ã¾ãï¼ ã©ããªçµ±è¨é¢æ°ãããã®ï¼ ããªãã®ç¨®é¡ãããï¼ãã¹ã¦ãæ¸ãããã«ã¯ãããªãã®ã§ï¼ å ¬å¼ã®ãªãã¡ã¬ã³ã¹ã¸ã®ãªã³ã¯ãç½®ãã¦ããã¾ãï¼ é£ç¶ç¢ºçå¤æ° é¢æ£ç¢ºçå¤æ° API åçµ±è¨é¢æ°ã¯ï¼scipy.stats.hogeã¨ãã¦ã¢ã¯ã»ã¹ã§ãã¾ãï¼ ä¾ãã°ï¼æ£è¦åå¸ãªãï¼scipy.stats.normã§ãï¼ APIã¯ãã¹ã¦ã®çµ±è¨é¢æ°ã§å ±éãªã®ã§ï¼ä»¥ä¸ã§ã¯æ£è¦åå¸ã®ä¾ã使ãã¾ãï¼ from scipy.stats import norm # æ£è¦åå¸ rvs (Random variates) 確çå¤æ° x = norm.rvs(loc=0, scale=1, size=1) æå¾ å¤locï¼æ¨æºåå·®scaleã®
{{#tags}}- {{label}}
{{/tags}}