scipyã«ã¯è·é¢ã測ãããã®æç¶ããç¨æããã¦ãã¾ã(scipy.spatial.distance)ãã¦ã¼ã¯ãªããè·é¢ãcosineè·é¢(cosineé¡ä¼¼åº¦)ãªã©ãããã®ã§ããã確çåå¸éã®è·é¢ã¨ãè¨ãã¹ãKLãã¤ãã¼ã¸ã§ã³ã¹ãJensen-Shannonãã¤ãã¼ã¸ã§ã³ã¹ãªã©ã¯å®è£ ããã¦ãã¾ãããã¨ãããã¨ã§ãå®è£ ãã¦ã¿ã¾ããã å®è£ ã³ã¼ãã ãè¦ããã¨ããå ´åã¯ãæå¾ã¾ã§èªã¿é£ã°ãã¦ãã ããã KLãã¤ãã¼ã¸ã§ã³ã¹ã¨Jensen-Shannonãã¤ãã¼ã¸ã§ã³ã¹ã«ã¤ã㦠KLãã¤ãã¼ã¸ã§ã³ã¹(ã«ã«ããã¯ã»ã©ã¤ãã©ã¼æ å ±é; KullbackâLeibler divergence; ç¸å¯¾ã¨ã³ãããã¼)ã¨ã¯ãåå¸ã¨åå¸ã®å·®ç°ã®å¤§ãã(â è·é¢)ã測ããã®ã§ããåå¸ã¨åå¸ããã£ãã¨ããã®ã«å¯¾ããKLãã¤ãã¼ã¸ã§ã³ã¹ã¯ ã§å®ç¾©ããã¾ããã¾ããã¯ãã¹ã¨ã³ãããã¼ã使ã£ã¦ ã¨å®ç¾©ãããã¨ãã§ãã¾ããã¯ã
{{#tags}}- {{label}}
{{/tags}}