ãã¡ããã©ãã - åãæ··åã¬ã¦ã¹åå¸ï¼å°åºç·¨ï¼ å®è£
ã«ã¯ python, SciPy 㨠matplotlib ã使ãã¾ãã ãã¹ããã¼ã¿ã«ã¯ Old Faithful éæ¬ æ³ãã¼ã¿ã使ãã¾ãã ãã¼ã¿ã®èªã¿è¾¼ã¿ Old Faithful éæ¬ æ³ãã¼ã¿ã PRML ã®ãã¼ã ãã¼ã¸ãããã¦ã³ãã¼ãããä½æ¥ãã£ã¬ã¯ããªã«ç½®ãã¾ããä¿åãããã¼ã¿ã¯ãSciPy ã® loadtxt é¢æ°ã§èªã¿è¾¼ã¿ã¾ãã from scipy import loadtxt def faithful(): return loadtxt('faithful.txt') é©å½ã«æ£è¦åãã¾ãã from scipy import sqrt def faithful_norm(): dat = faithful() dat[:, 0] -= dat[:, 0].mean() dat[:, 1] -= dat[:, 1].m
{{#tags}}- {{label}}
{{/tags}}