{"id":10363,"date":"2026-11-06T18:15:14","date_gmt":"2026-11-06T09:15:14","guid":{"rendered":"https:\/\/since2020.jp\/media\/?p=10363"},"modified":"2026-11-06T18:15:14","modified_gmt":"2026-11-06T09:15:14","slug":"whatskl","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/whatskl\/","title":{"rendered":"KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u3068\u306f\u4f55\u304b: \u30b3\u30a4\u30f3\u6295\u3052\u3067\u78ba\u304b\u3081\u308b\u300c\u5206\u5e03\u306e\u305a\u308c\u300d"},"content":{"rendered":"\n<p>\u516c\u5e73\u306a\u30b3\u30a4\u30f3 <math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math>\uff08\u8868\u306e\u78ba\u7387 0.5\uff09\u3068\u3001\u8868\u304c\u51fa\u3084\u3059\u3044\u30b3\u30a4\u30f3 <math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math>\uff08\u8868\u306e\u78ba\u7387 0.8\uff09\u3092\u8003\u3048\u308b\u3002<math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math> \u304c\u672c\u7269\u306e\u30b3\u30a4\u30f3\u3060\u3068\u4fe1\u3058\u305f\u307e\u307e\u3001\u5b9f\u969b\u306b\u306f <math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math> \u304b\u3089\u51fa\u305f\u7d50\u679c\u3092\u898b\u308b\u3068\u3057\u305f\u3089\u3001\u3069\u308c\u304f\u3089\u3044\u300c\u4e88\u60f3\u5916\u300d\u306b\u611f\u3058\u308b\u3060\u308d\u3046\u304b\u3002<\/p>\n\n\n\n<p>\u516c\u5e73\u306a\u30b3\u30a4\u30f3 P \u3068\u504f\u3063\u305f\u30b3\u30a4\u30f3 Q \u306e\u78ba\u7387\u306e\u6bd4\u8f03<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"717\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-2-1024x717.png\" alt=\"\" class=\"wp-image-10364\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-2-1024x717.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-2-300x210.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-2-768x538.png 768w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-2-1536x1075.png 1536w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-2.png 1800w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>\u56f31: \u516c\u5e73\u306a\u30b3\u30a4\u30f3 P\uff08\u8868\u306e\u78ba\u7387 0.5\uff09\u3068\u504f\u3063\u305f\u30b3\u30a4\u30f3 Q\uff08\u8868\u306e\u78ba\u7387 0.8\uff09\u304c\u3001\u88cf\u3068\u8868\u305d\u308c\u305e\u308c\u306b\u5272\u308a\u5f53\u3066\u308b\u78ba\u7387\u3092\u4e26\u3079\u305f\u68d2\u30b0\u30e9\u30d5\u3002<\/em><\/p>\n\n\n\n<p>\u56f31\u306f2\u3064\u306e\u5206\u5e03\u3092\u4e26\u3079\u305f\u3082\u306e\u3067\u3042\u308b\u3002\u305a\u308c\u306f\u76ee\u3067\u898b\u3066\u5206\u304b\u308b\u304c\u3001\u307e\u30601\u3064\u306e\u6570\u3068\u3057\u3066\u306f\u8868\u305b\u3066\u3044\u306a\u3044\u3002<\/p>\n\n\n\n<p>\u77e5\u308a\u305f\u3044\u306e\u306f\u6b21\u306e3\u70b9\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u305a\u308c\u306f\u3069\u3046\u5b9a\u7fa9\u3067\u304d\u308b\u306e\u304b\u3002<\/li>\n\n\n\n<li>\u305a\u308c\u306e\u6027\u8cea\uff11\uff08\u306a\u305c\u8ca0\u306b\u306a\u3089\u306a\u3044\u306e\u304b\u3002\uff09<\/li>\n\n\n\n<li>\u305a\u308c\u306e\u6027\u8cea\uff12\uff08\u306a\u305c <math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math> \u3068 <math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math> \u3092\u5165\u308c\u66ff\u3048\u308b\u3068\u5024\u304c\u5909\u308f\u308b\u306e\u304b\u3002\uff09<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u8a2d\u5b9a<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u7528\u8a9e\u306e\u88dc\u8db3<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u78ba\u7387\u5206\u5e03: \u5404\u7d50\u679c\u306e\u8d77\u3053\u308a\u3084\u3059\u3055\u3092\u4e26\u3079\u305f\u3082\u306e\u3002\u30b3\u30a4\u30f3\u306a\u3089 <math data-latex=\"P=(p,\\,1-p)\"><semantics><mrow><mi>P<\/mi><mo>=<\/mo><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>p<\/mi><mo separator=\"true\">,<\/mo><mspace width=\"0.1667em\"><\/mspace><mn>1<\/mn><mo>\u2212<\/mo><mi>p<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">P=(p,\\,1-p)<\/annotation><\/semantics><\/math>\u3002<\/li>\n\n\n\n<li><math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math> \u306f\u771f\u306e\u5206\u5e03\u3001<math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math> \u306f\u30e2\u30c7\u30eb\uff08\u3053\u3061\u3089\u304c\u4fe1\u3058\u3066\u3044\u308b\uff09\u5206\u5e03\u3002<math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math> \u306e\u8868\u306e\u78ba\u7387\u3092 <math data-latex=\"q\"><semantics><mi>q<\/mi><annotation encoding=\"application\/x-tex\">q<\/annotation><\/semantics><\/math> \u3068\u3059\u308b\u3002<\/li>\n\n\n\n<li><math data-latex=\"p(x)\"><semantics><mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">p(x)<\/annotation><\/semantics><\/math>\u3001<math data-latex=\"q(x)\"><semantics><mrow><mi>q<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">q(x)<\/annotation><\/semantics><\/math>: \u7d50\u679c <math data-latex=\"x\"><semantics><mi>x<\/mi><annotation encoding=\"application\/x-tex\">x<\/annotation><\/semantics><\/math> \u306b\u5bfe\u3057\u3066\u3001<math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math> \u3068 <math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math> \u304c\u305d\u308c\u305e\u308c\u5272\u308a\u5f53\u3066\u308b\u78ba\u7387\u3002\u30b3\u30a4\u30f3\u3067\u306f <math data-latex=\"x\"><semantics><mi>x<\/mi><annotation encoding=\"application\/x-tex\">x<\/annotation><\/semantics><\/math> \u306f\u8868\u304b\u88cf\u3067\u3042\u308b\u3002<\/li>\n\n\n\n<li>\u9a5a\u304d: \u7d50\u679c <math data-latex=\"x\"><semantics><mi>x<\/mi><annotation encoding=\"application\/x-tex\">x<\/annotation><\/semantics><\/math> \u306b\u5bfe\u3059\u308b <math data-latex=\"-\\log q(x)\"><semantics><mrow><mo>\u2212<\/mo><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mi>q<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">-\\log q(x)<\/annotation><\/semantics><\/math>\u3002\u3081\u3063\u305f\u306b\u8d77\u304d\u306a\u3044\u3053\u3068\u307b\u3069\u5927\u304d\u3044\u3002\u4f8b\u3048\u3070\u3001\u78ba\u7387 0.01 \u306e\u51fa\u6765\u4e8b\u306f\u78ba\u7387 0.5 \u306e\u51fa\u6765\u4e8b\u3088\u308a\u9a5a\u304d\u304c\u5927\u304d\u3044\u3002<\/li>\n\n\n\n<li>\u5bfe\u6570\u306f\u81ea\u7136\u5bfe\u6570\u3067\u3001\u5358\u4f4d\u306f nat\uff08\u30ca\u30c3\u30c8\uff09\u3002<\/li>\n<\/ul>\n<\/blockquote>\n\n\n\n<p><math data-latex=\"p(x)&gt;0\"><semantics><mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>&gt;<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">p(x)&gt;0<\/annotation><\/semantics><\/math> \u3068\u306a\u308b\u3059\u3079\u3066\u306e\u7d50\u679c\u3067 <math data-latex=\"q(x)&gt;0\"><semantics><mrow><mi>q<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>&gt;<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">q(x)&gt;0<\/annotation><\/semantics><\/math> \u3067\u3042\u308b\u3068\u4eee\u5b9a\u3059\u308b\u3002\u3053\u306e\u3068\u304d\u3001KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\uff08\u30ab\u30eb\u30d0\u30c3\u30af\u30fb\u30e9\u30a4\u30d6\u30e9\u30fc\u60c5\u5831\u91cf\u3002\u5206\u5e03\u306e\u305a\u308c\uff09\u3092\u6b21\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3059\u308b [1]\u3002<\/p>\n\n\n\n<p class=\"has-text-align-center\"><br><math data-latex=\"D_{\\mathrm{KL}}(P\\|Q)=\\displaystyle\\sum_x p(x)\\log\\frac{p(x)}{q(x)}\"><semantics><mrow><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mi>\u2016<\/mi><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mstyle scriptlevel=\"0\" displaystyle=\"true\"><mrow><munder><mo movablelimits=\"false\">\u2211<\/mo><mi>x<\/mi><\/munder><\/mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mrow><mspace width=\"0.1667em\"><\/mspace><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mfrac><mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\" lspace=\"0em\" rspace=\"0em\">)<\/mo><\/mrow><mrow><mi>q<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\" lspace=\"0em\" rspace=\"0em\">)<\/mo><\/mrow><\/mfrac><\/mstyle><\/mrow><annotation encoding=\"application\/x-tex\">D_{\\mathrm{KL}}(P\\|Q)=\\displaystyle\\sum_x p(x)\\log\\frac{p(x)}{q(x)}<\/annotation><\/semantics><\/math><br><\/p>\n\n\n\n<p>KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u306e\u5b9a\u7fa9\u306e\u6d41\u308c\u56f3\u3092\u4ee5\u4e0b\u306b\u793a\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"206\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-3-1024x206.png\" alt=\"\" class=\"wp-image-10365\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-3-1024x206.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-3-300x60.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-3-768x155.png 768w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-3-1536x309.png 1536w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-3-2048x412.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>\u56f32: \u771f\u306e\u5206\u5e03 P \u3068\u8fd1\u4f3c\u3059\u308b\u5206\u5e03 Q \u304b\u3089\u7d50\u679c\u3054\u3068\u306e\u9a5a\u304d\u306e\u5dee\u3092\u4f5c\u308a\u3001P \u306e\u3082\u3068\u3067\u5e73\u5747\u3059\u308b\u3068 KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u306b\u306a\u308b\u3001\u3068\u3044\u3046\u6d41\u308c\u3092\u793a\u3057\u305f\u6982\u5ff5\u56f3\u3002<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5c0e\u51fa<\/h2>\n\n\n\n<p>\u7d50\u8ad6\u3092\u5148\u306b\u8ff0\u3079\u308b\u3068\u3001<math data-latex=\"D_{\\mathrm{KL}}\"><semantics><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><annotation encoding=\"application\/x-tex\">D_{\\mathrm{KL}}<\/annotation><\/semantics><\/math> \u306f\u300c<math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math> \u3092\u57fa\u6e96\u306b\u3057\u305f\u5e73\u5747\u306e\u9a5a\u304d\u300d\u304b\u3089\u300c<math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math> \u3092\u57fa\u6e96\u306b\u3057\u305f\u5e73\u5747\u306e\u9a5a\u304d\u300d\u3092\u5f15\u3044\u305f\u91cf\u3067\u3042\u308a\u30010 \u4ee5\u4e0a\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u3001\u548c\u306f <math data-latex=\"p(x)&gt;0\"><semantics><mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>&gt;<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">p(x)&gt;0<\/annotation><\/semantics><\/math> \u3068\u306a\u308b\u7d50\u679c\u306e\u96c6\u5408 <math data-latex=\"S=\\{x\\mid p(x)&gt;0\\}\"><semantics><mrow><mi>S<\/mi><mo>=<\/mo><mo form=\"prefix\" stretchy=\"false\">{<\/mo><mi>x<\/mi><mo lspace=\"0.22em\" rspace=\"0.22em\" stretchy=\"false\">|<\/mo><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>&gt;<\/mo><mn>0<\/mn><mo form=\"postfix\" stretchy=\"false\">}<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">S=\\{x\\mid p(x)&gt;0\\}<\/annotation><\/semantics><\/math> \u306b\u3064\u3044\u3066\u53d6\u308b\u3002<math data-latex=\"p(x)=0\"><semantics><mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">p(x)=0<\/annotation><\/semantics><\/math> \u306e\u9805\u306f <math data-latex=\"0\\cdot\\log 0=0\"><semantics><mrow><mn>0<\/mn><mo>\u22c5<\/mo><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mn>0<\/mn><mo>=<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">0\\cdot\\log 0=0<\/annotation><\/semantics><\/math> \u3068\u307f\u306a\u3057\u3066\u9664\u3051\u308b\u305f\u3081\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b9\u30c6\u30c3\u30d71: \u5bfe\u6570\u3092\u5206\u3051\u308b<\/h3>\n\n\n\n<p><math data-latex=\"\\log\\frac{p}{q}=-\\log q-(-\\log p)\"><semantics><mrow><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mfrac><mi>p<\/mi><mi>q<\/mi><\/mfrac><mo>=<\/mo><mo form=\"prefix\" stretchy=\"false\">\u2212<\/mo><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mi>q<\/mi><mo>\u2212<\/mo><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mo form=\"prefix\" stretchy=\"false\">\u2212<\/mo><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mi>p<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">\\log\\frac{p}{q}=-\\log q-(-\\log p)<\/annotation><\/semantics><\/math> \u306a\u306e\u3067\u3001\u6b21\u306e\u3088\u3046\u306b\u66f8\u3051\u308b\u3002<\/p>\n\n\n\n<p class=\"has-text-align-center\"><br><math data-latex=\"\\displaystyle D_{\\mathrm{KL}}(P\\|Q)=\\sum_{x\\in S} p(x)\\bigl(-\\log q(x)\\bigr)-\\sum_{x\\in S} p(x)\\bigl(-\\log p(x)\\bigr)\"><semantics><mstyle scriptlevel=\"0\" displaystyle=\"true\"><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mi>\u2016<\/mi><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mrow><munder><mo movablelimits=\"false\">\u2211<\/mo><mrow><mi>x<\/mi><mo>\u2208<\/mo><mi>S<\/mi><\/mrow><\/munder><\/mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo fence=\"true\" symmetric=\"true\" minsize=\"1.2em\" maxsize=\"1.2em\">(<\/mo><mo>\u2212<\/mo><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mi>q<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo fence=\"true\" symmetric=\"true\" minsize=\"1.2em\" maxsize=\"1.2em\">)<\/mo><mo>\u2212<\/mo><mrow><munder><mo movablelimits=\"false\">\u2211<\/mo><mrow><mi>x<\/mi><mo>\u2208<\/mo><mi>S<\/mi><\/mrow><\/munder><\/mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo fence=\"true\" symmetric=\"true\" minsize=\"1.2em\" maxsize=\"1.2em\">(<\/mo><mo>\u2212<\/mo><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo fence=\"true\" symmetric=\"true\" minsize=\"1.2em\" maxsize=\"1.2em\">)<\/mo><\/mstyle><annotation encoding=\"application\/x-tex\">\\displaystyle D_{\\mathrm{KL}}(P\\|Q)=\\sum_{x\\in S} p(x)\\bigl(-\\log q(x)\\bigr)-\\sum_{x\\in S} p(x)\\bigl(-\\log p(x)\\bigr)<\/annotation><\/semantics><\/math><br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b9\u30c6\u30c3\u30d72: \u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u3068\u306e\u95a2\u4fc2<\/h3>\n\n\n\n<p>\u7b2c1\u9805\u3092\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc <math data-latex=\"H(P,Q)\"><semantics><mrow><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo separator=\"true\">,<\/mo><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">H(P,Q)<\/annotation><\/semantics><\/math>\u3001\u7b2c2\u9805\u3092\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc <math data-latex=\"H(P)\"><semantics><mrow><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">H(P)<\/annotation><\/semantics><\/math> \u3068\u547c\u3076\u3002<\/p>\n\n\n\n<p class=\"has-text-align-center\"><br><math data-latex=\"D_{\\mathrm{KL}}(P\\|Q)=H(P,Q)-H(P)\"><semantics><mrow><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mi>\u2016<\/mi><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo separator=\"true\">,<\/mo><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>\u2212<\/mo><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">D_{\\mathrm{KL}}(P\\|Q)=H(P,Q)-H(P)<\/annotation><\/semantics><\/math><br><\/p>\n\n\n\n<p><math data-latex=\"H(P)\"><semantics><mrow><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">H(P)<\/annotation><\/semantics><\/math> \u306f <math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math> \u306b\u4f9d\u5b58\u3057\u306a\u3044\u3002\u3057\u305f\u304c\u3063\u3066\u3001<math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math> \u3092\u52d5\u304b\u3057\u3066 <math data-latex=\"H(P,Q)\"><semantics><mrow><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo separator=\"true\">,<\/mo><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">H(P,Q)<\/annotation><\/semantics><\/math> \u3092\u6700\u5c0f\u306b\u3059\u308b\u3053\u3068\u3068\u3001KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u3092\u6700\u5c0f\u306b\u3059\u308b\u3053\u3068\u306f\u540c\u3058\u554f\u984c\u3067\u3042\u308b\u3002\u6700\u5c24\u63a8\u5b9a\u304c\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u306e\u6700\u5c0f\u5316\u3068\u540c\u3058\u554f\u984c\u306b\u306a\u308b\u306e\u306f\u3001\u3053\u306e\u305f\u3081\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b9\u30c6\u30c3\u30d73: \u975e\u8ca0\u6027<\/h3>\n\n\n\n<p>\u307e\u305a\u6570\u5024\u4f8b\u3067\u78ba\u304b\u3081\u308b\u3002<math data-latex=\"p=0.5,\\ q=0.8\"><semantics><mrow><mi>p<\/mi><mo>=<\/mo><mn>0.5<\/mn><mo separator=\"true\">,<\/mo><mtext>&nbsp;<\/mtext><mi>q<\/mi><mo>=<\/mo><mn>0.8<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">p=0.5,\\ q=0.8<\/annotation><\/semantics><\/math> \u306e\u3068\u304d <math data-latex=\"\\frac{q}{p}=1.6\"><semantics><mrow><mfrac><mi>q<\/mi><mi>p<\/mi><\/mfrac><mo>=<\/mo><mn>1.6<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">\\frac{q}{p}=1.6<\/annotation><\/semantics><\/math> \u3067\u3001<math data-latex=\"\\log 1.6\\approx0.47\\le 0.6=1.6-1\"><semantics><mrow><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mn>1.6<\/mn><mo>\u2248<\/mo><mn>0.47<\/mn><mo>\u2264<\/mo><mn>0.6<\/mn><mo>=<\/mo><mn>1.6<\/mn><mo>\u2212<\/mo><mn>1<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">\\log 1.6\\approx0.47\\le 0.6=1.6-1<\/annotation><\/semantics><\/math> \u3068\u306a\u308a\u3001\u4e0d\u7b49\u5f0f <math data-latex=\"\\log t\\le t-1\"><semantics><mrow><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mi>t<\/mi><mo>\u2264<\/mo><mi>t<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">\\log t\\le t-1<\/annotation><\/semantics><\/math> \u304c\u6210\u308a\u7acb\u3063\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u7528\u8a9e\u306e\u88dc\u8db3<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u51f9\u95a2\u6570: \u30b0\u30e9\u30d5\u4e0a\u306e\u4efb\u610f\u306e2\u70b9\u3092\u7d50\u3076\u7dda\u5206\u304c\u3001\u30b0\u30e9\u30d5\u3088\u308a\u4e0b\u306b\u3042\u308b\u95a2\u6570\u3002\u5bfe\u6570\u304c\u305d\u306e\u4f8b\u3067\u3042\u308b\u3002<\/li>\n<\/ul>\n<\/blockquote>\n\n\n\n<p><math data-latex=\"y=t-1\"><semantics><mrow><mi>y<\/mi><mo>=<\/mo><mi>t<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">y=t-1<\/annotation><\/semantics><\/math> \u306f <math data-latex=\"y=\\log t\"><semantics><mrow><mi>y<\/mi><mo>=<\/mo><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mi>t<\/mi><\/mrow><annotation encoding=\"application\/x-tex\">y=\\log t<\/annotation><\/semantics><\/math> \u306e <math data-latex=\"t=1\"><semantics><mrow><mi>t<\/mi><mo>=<\/mo><mn>1<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">t=1<\/annotation><\/semantics><\/math> \u306b\u304a\u3051\u308b\u63a5\u7dda\u3067\u3042\u308b\u3002\u5bfe\u6570\u306f\u51f9\u95a2\u6570\u306a\u306e\u3067\u3001\u30b0\u30e9\u30d5\u306f\u63a5\u7dda\u306e\u4e0b\u5074\u306b\u3042\u308b\u3002\u3053\u308c\u304c <math data-latex=\"\\log t\\le t-1\"><semantics><mrow><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mi>t<\/mi><mo>\u2264<\/mo><mi>t<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">\\log t\\le t-1<\/annotation><\/semantics><\/math> \u306e\u7406\u7531\u3067\u3042\u308b [2]\u3002<\/p>\n\n\n\n<p><math data-latex=\"S\"><semantics><mi>S<\/mi><annotation encoding=\"application\/x-tex\">S<\/annotation><\/semantics><\/math> \u306e\u5404 <math data-latex=\"x\"><semantics><mi>x<\/mi><annotation encoding=\"application\/x-tex\">x<\/annotation><\/semantics><\/math> \u3067 <math data-latex=\"t=q(x)\/p(x)\"><semantics><mrow><mi>t<\/mi><mo>=<\/mo><mi>q<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mi>\/<\/mi><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">t=q(x)\/p(x)<\/annotation><\/semantics><\/math> \u3068\u304a\u304f\u3002<math data-latex=\"p(x)&gt;0\"><semantics><mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>&gt;<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">p(x)&gt;0<\/annotation><\/semantics><\/math> \u306a\u306e\u3067\u3001\u3053\u306e\u6bd4\u306f\u5b9a\u7fa9\u3067\u304d\u308b\u3002\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u308b [3]\u3002<\/p>\n\n\n\n<p class=\"has-text-align-center\"><br><math data-latex=\"-D_{\\mathrm{KL}}(P\\|Q)=\\displaystyle\\sum_{x\\in S} p(x)\\log\\frac{q(x)}{p(x)}\\le\\sum_{x\\in S} p(x)\\Bigl(\\frac{q(x)}{p(x)}-1\\Bigr)=\\sum_{x\\in S} q(x)-1\\le 0\"><semantics><mrow><mo>\u2212<\/mo><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mi>\u2016<\/mi><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mstyle scriptlevel=\"0\" displaystyle=\"true\"><mrow><munder><mo movablelimits=\"false\">\u2211<\/mo><mrow><mi>x<\/mi><mo>\u2208<\/mo><mi>S<\/mi><\/mrow><\/munder><\/mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mrow><mspace width=\"0.1667em\"><\/mspace><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mfrac><mrow><mi>q<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\" lspace=\"0em\" rspace=\"0em\">)<\/mo><\/mrow><mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\" lspace=\"0em\" rspace=\"0em\">)<\/mo><\/mrow><\/mfrac><mo>\u2264<\/mo><mrow><munder><mo movablelimits=\"false\">\u2211<\/mo><mrow><mi>x<\/mi><mo>\u2208<\/mo><mi>S<\/mi><\/mrow><\/munder><\/mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo fence=\"true\" symmetric=\"true\" minsize=\"1.8em\" maxsize=\"1.8em\">(<\/mo><mfrac><mrow><mi>q<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\" lspace=\"0em\" rspace=\"0em\">)<\/mo><\/mrow><mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\" lspace=\"0em\" rspace=\"0em\">)<\/mo><\/mrow><\/mfrac><mo>\u2212<\/mo><mn>1<\/mn><mo fence=\"true\" symmetric=\"true\" minsize=\"1.8em\" maxsize=\"1.8em\">)<\/mo><mo>=<\/mo><mrow><munder><mo movablelimits=\"false\">\u2211<\/mo><mrow><mi>x<\/mi><mo>\u2208<\/mo><mi>S<\/mi><\/mrow><\/munder><\/mrow><mi>q<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>\u2212<\/mo><mn>1<\/mn><mo>\u2264<\/mo><mn>0<\/mn><\/mstyle><\/mrow><annotation encoding=\"application\/x-tex\">-D_{\\mathrm{KL}}(P\\|Q)=\\displaystyle\\sum_{x\\in S} p(x)\\log\\frac{q(x)}{p(x)}\\le\\sum_{x\\in S} p(x)\\Bigl(\\frac{q(x)}{p(x)}-1\\Bigr)=\\sum_{x\\in S} q(x)-1\\le 0<\/annotation><\/semantics><\/math><br><\/p>\n\n\n\n<p>\u6700\u5f8c\u306e\u4e0d\u7b49\u53f7\u304c\u6210\u308a\u7acb\u3064\u306e\u306f\u3001<math data-latex=\"S\"><semantics><mi>S<\/mi><annotation encoding=\"application\/x-tex\">S<\/annotation><\/semantics><\/math> \u4e0a\u3067\u306e <math data-latex=\"q\"><semantics><mi>q<\/mi><annotation encoding=\"application\/x-tex\">q<\/annotation><\/semantics><\/math> \u306e\u548c\u304c\u3001\u5168\u4f53\u306e\u548c\u3067\u3042\u308b 1 \u3092\u8d85\u3048\u306a\u3044\u304b\u3089\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<p>\u3088\u3063\u3066 <math data-latex=\"D_{\\mathrm{KL}}(P\\|Q)\\ge0\"><semantics><mrow><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mi>\u2016<\/mi><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>\u2265<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">D_{\\mathrm{KL}}(P\\|Q)\\ge0<\/annotation><\/semantics><\/math> \u3067\u3042\u308a\u3001\u7b49\u53f7\u304c\u6210\u308a\u7acb\u3064\u306e\u306f <math data-latex=\"P=Q\"><semantics><mrow><mi>P<\/mi><mo>=<\/mo><mi>Q<\/mi><\/mrow><annotation encoding=\"application\/x-tex\">P=Q<\/annotation><\/semantics><\/math> \u306e\u3068\u304d\u306b\u9650\u308b [4]\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u4f59\u8ac7<\/strong> \u7b49\u53f7\u6761\u4ef6\u306f\u3001<math data-latex=\"\\log t=t-1\"><semantics><mrow><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mi>t<\/mi><mo>=<\/mo><mi>t<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">\\log t=t-1<\/annotation><\/semantics><\/math> \u304c <math data-latex=\"t=1\"><semantics><mrow><mi>t<\/mi><mo>=<\/mo><mn>1<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">t=1<\/annotation><\/semantics><\/math> \u306e\u3068\u304d\u3060\u3051\u6210\u308a\u7acb\u3064\u3053\u3068\u3001\u304a\u3088\u3073 <math data-latex=\"S\"><semantics><mi>S<\/mi><annotation encoding=\"application\/x-tex\">S<\/annotation><\/semantics><\/math> \u306e\u5916\u3067 <math data-latex=\"q=0\"><semantics><mrow><mi>q<\/mi><mo>=<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">q=0<\/annotation><\/semantics><\/math> \u3068\u306a\u308b\u3053\u3068\u304b\u3089\u5f93\u3046\u3002\u53b3\u5bc6\u306a\u8b70\u8ad6\u306f\u7701\u7565\u3002<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b9\u30c6\u30c3\u30d74: \u975e\u5bfe\u79f0\u6027<\/h3>\n\n\n\n<p>\u30b3\u30a4\u30f3\u3067\u306f\u3001\u6b21\u306e2\u3064\u306e\u5f0f\u306f\u4e00\u822c\u306b\u7570\u306a\u308b\u5024\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p class=\"has-text-align-center\"><br><math data-latex=\"\\begin{aligned} D_{\\mathrm{KL}}(P\\|Q)=p\\log\\frac pq+(1-p)\\log\\frac{1-p}{1-q},\\\\ D_{\\mathrm{KL}}(Q\\|P)=q\\log\\frac qp+(1-q)\\log\\frac{1-q}{1-p} \\end{aligned}\"><semantics><mtable displaystyle=\"true\" columnalign=\"right\" class=\"tml-jot\"><mtr><mtd class=\"tml-right\" style=\"padding-left:0em;padding-right:0em\"><mrow><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mi>\u2016<\/mi><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mi>p<\/mi><mrow><mspace width=\"0.1667em\"><\/mspace><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mfrac><mi>p<\/mi><mi>q<\/mi><\/mfrac><mo>+<\/mo><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mn>1<\/mn><mo>\u2212<\/mo><mi>p<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mrow><mspace width=\"0.1667em\"><\/mspace><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mfrac><mrow><mn>1<\/mn><mo>\u2212<\/mo><mi>p<\/mi><\/mrow><mrow><mn>1<\/mn><mo>\u2212<\/mo><mi>q<\/mi><\/mrow><\/mfrac><mo separator=\"true\">,<\/mo><\/mrow><\/mtd><\/mtr><mtr><mtd class=\"tml-right\" style=\"padding-left:0em;padding-right:0em\"><mrow><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>Q<\/mi><mi>\u2016<\/mi><mi>P<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mi>q<\/mi><mrow><mspace width=\"0.1667em\"><\/mspace><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mfrac><mi>q<\/mi><mi>p<\/mi><\/mfrac><mo>+<\/mo><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mn>1<\/mn><mo>\u2212<\/mo><mi>q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mrow><mspace width=\"0.1667em\"><\/mspace><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mfrac><mrow><mn>1<\/mn><mo>\u2212<\/mo><mi>q<\/mi><\/mrow><mrow><mn>1<\/mn><mo>\u2212<\/mo><mi>p<\/mi><\/mrow><\/mfrac><\/mrow><\/mtd><\/mtr><\/mtable><annotation encoding=\"application\/x-tex\">\\begin{aligned} D_{\\mathrm{KL}}(P\\|Q)=p\\log\\frac pq+(1-p)\\log\\frac{1-p}{1-q},\\\\ D_{\\mathrm{KL}}(Q\\|P)=q\\log\\frac qp+(1-q)\\log\\frac{1-q}{1-p} \\end{aligned}<\/annotation><\/semantics><\/math><br><\/p>\n\n\n\n<p>\u5e73\u5747\u3092\u53d6\u308b\u5206\u5e03\u304c <math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math> \u304b <math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math> \u304b\u3067\u3001\u5404\u7d50\u679c\u306b\u4ed8\u304f\u91cd\u307f\u304c\u5909\u308f\u308b\u305f\u3081\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6570\u5024\u5b9f\u9a13<\/h2>\n\n\n\n<p>\u6b21\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30014\u3064\u306e\u4e3b\u5f35\u3092\u78ba\u304b\u3081\u308b\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><math data-latex=\"q=0.5\"><semantics><mrow><mi>q<\/mi><mo>=<\/mo><mn>0.5<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">q=0.5<\/annotation><\/semantics><\/math> \u306e\u3068\u304d\u3001\u6700\u5c0f\u5024 0 \u306b\u306a\u308b\u3002<\/li>\n\n\n\n<li>\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u304b\u3089\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u3092\u5f15\u304f\u3068\u3001KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u306b\u4e00\u81f4\u3059\u308b\u3002<\/li>\n\n\n\n<li>\u5411\u304d\u3092\u5165\u308c\u66ff\u3048\u308b\u3068\u5024\u304c\u5909\u308f\u308b\u3002<\/li>\n\n\n\n<li>\u7d4c\u9a13\u5206\u5e03\u306e KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u306f\u3001\u6295\u3052\u308b\u56de\u6570 <math data-latex=\"N\"><semantics><mi>N<\/mi><annotation encoding=\"application\/x-tex\">N<\/annotation><\/semantics><\/math> \u304c\u5897\u3048\u308b\u3068 0 \u306b\u8fd1\u3065\u304f\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u5148\u306b\u3001\u5b9f\u9a13\u3067\u4f7f\u3046\u7528\u8a9e\u3092\u6574\u7406\u3057\u3066\u304a\u304f\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u7528\u8a9e\u306e\u88dc\u8db3<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30d9\u30eb\u30cc\u30fc\u30a4\u5206\u5e03 <math data-latex=\"\\mathrm{Bernoulli}(q)\"><semantics><mrow><mrow><mtext><\/mtext><mi>Bernoulli<\/mi><\/mrow><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">\\mathrm{Bernoulli}(q)<\/annotation><\/semantics><\/math>: \u8868\u304c\u78ba\u7387 <math data-latex=\"q\"><semantics><mi>q<\/mi><annotation encoding=\"application\/x-tex\">q<\/annotation><\/semantics><\/math>\u3001\u88cf\u304c\u78ba\u7387 <math data-latex=\"1-q\"><semantics><mrow><mn>1<\/mn><mo>\u2212<\/mo><mi>q<\/mi><\/mrow><annotation encoding=\"application\/x-tex\">1-q<\/annotation><\/semantics><\/math> \u3067\u51fa\u308b\u30b3\u30a4\u30f3\u306e\u5206\u5e03\u3002<\/li>\n\n\n\n<li>\u7d4c\u9a13\u5206\u5e03: \u5b9f\u969b\u306b\u6295\u3052\u305f\u7d50\u679c\u304b\u3089\u6c42\u3081\u305f\u8868\u306e\u5272\u5408\u3092\u3001\u8868\u306e\u78ba\u7387\u3068\u307f\u306a\u3057\u305f\u5206\u5e03\u3002<\/li>\n\n\n\n<li>\u4e71\u6570\u30b7\u30fc\u30c9: \u4e71\u6570\u306e\u521d\u671f\u5024\u3002\u56fa\u5b9a\u3059\u308b\u3068\u3001\u4f55\u5ea6\u5b9f\u884c\u3057\u3066\u3082\u540c\u3058\u7d50\u679c\u306b\u306a\u308b\u3002<\/li>\n\n\n\n<li>\u4e21\u5bfe\u6570\u8ef8: \u6a2a\u8ef8\u3082\u7e26\u8ef8\u3082\u5bfe\u6570\u76ee\u76db\u308a\u306b\u3057\u305f\u30b0\u30e9\u30d5\u3002\u6841\u3092\u307e\u305f\u3050\u5024\u3092\u6bd4\u3079\u3084\u3059\u3044\u3002<\/li>\n<\/ul>\n<\/blockquote>\n\n\n\n<p>python<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>import numpy as np\nfrom scipy.special import xlogy, xlog1py\n\n\ndef kl(p, q):\n    &quot;&quot;&quot;KL(Bernoulli(p) || Bernoulli(q)) in nats. 0*log0 is handled by xlogy.&quot;&quot;&quot;\n    return xlogy(p, p \/ q) + xlogy(1 - p, (1 - p) \/ (1 - q))\n\n\n# (1) P = Bernoulli(0.5), Q = Bernoulli(q): KL(P||Q) as a function of q\np = 0.5\nqs = np.linspace(0.01, 0.99, 99)\nkl_pq = kl(p, qs)\nprint(f&quot;min of KL(P||Q) at q ={qs[np.argmin(kl_pq)]:.2f}, value ={kl_pq.min():.2e}&quot;)\n\n# (2) cross entropy - entropy = KL\ncross_ent = -(xlogy(p, qs) + xlog1py(1 - p, -qs))\nentropy_p = -(xlogy(p, p) + xlogy(1 - p, 1 - p))\nkl_diff = cross_ent - entropy_p\nprint(f&quot;max |(H(P,Q) - H(P)) - KL| ={np.max(np.abs(kl_diff - kl_pq)):.2e}&quot;)\n\n# (3) asymmetry: P fixed at 0.8, Q = Bernoulli(q)\np2 = 0.8\nkl_fwd = kl(p2, qs)   # KL(P||Q)\nkl_rev = kl(qs, p2)   # KL(Q||P)\nprint(f&quot;p=0.5, q=0.8: KL(P||Q) ={kl(0.5, 0.8):.4f}, KL(Q||P) ={kl(0.8, 0.5):.4f}&quot;)\n\n# (4) empirical distribution of N tosses of the true coin (nested samples)\nrng = np.random.default_rng(0)\nNs = np.array([10, 100, 1000, 10000, 100000])\nflips = rng.random(Ns.max()) &lt; p\nphat = np.array([flips[:n].mean() for n in Ns])\nkl_hat = kl(phat, p)  # KL(empirical || true coin)\nfor n, v in zip(Ns, kl_hat):\n    print(f&quot;N ={n:6d}: KL(empirical||true) ={v:.2e}&quot;)<\/code><\/pre><\/div>\n\n\n\n<p>output<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>min of KL(P||Q) at q = 0.50, value = 0.00e+00\nmax |(H(P,Q) - H(P)) - KL| = 4.44e-16\np=0.5, q=0.8: KL(P||Q) = 0.2231, KL(Q||P) = 0.1927\nN =     10: KL(empirical||true) = 8.23e-02\nN =    100: KL(empirical||true) = 7.22e-03\nN =   1000: KL(empirical||true) = 1.46e-03\nN =  10000: KL(empirical||true) = 2.00e-06\nN = 100000: KL(empirical||true) = 1.92e-06<\/code><\/pre><\/div>\n\n\n\n<p>\u51fa\u529b\u304b\u3089\u8aad\u307f\u53d6\u308c\u308b\u3053\u3068\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>(1) \u6700\u5c0f\u306f <math data-latex=\"q=0.50\"><semantics><mrow><mi>q<\/mi><mo>=<\/mo><mn>0.50<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">q=0.50<\/annotation><\/semantics><\/math> \u3067\u3001\u5024\u306f 0 \u3060\u3063\u305f\u3002<\/li>\n\n\n\n<li>(2) <math data-latex=\"H(P,Q)-H(P)\"><semantics><mrow><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo separator=\"true\">,<\/mo><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>\u2212<\/mo><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">H(P,Q)-H(P)<\/annotation><\/semantics><\/math> \u3068 KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u306e\u5dee\u306f\u3001\u6700\u5927\u3067\u3082 <math data-latex=\"4.44\\times10^{-16}\"><semantics><mrow><mn>4.44<\/mn><mo>\u00d7<\/mo><msup><mn>10<\/mn><mrow><mo lspace=\"0em\" rspace=\"0em\">\u2212<\/mo><mn>16<\/mn><\/mrow><\/msup><\/mrow><annotation encoding=\"application\/x-tex\">4.44\\times10^{-16}<\/annotation><\/semantics><\/math> \u3067\u3001\u4e38\u3081\u8aa4\u5dee\u306e\u7bc4\u56f2\u3067\u4e00\u81f4\u3057\u3066\u3044\u308b\u3002<\/li>\n\n\n\n<li>(3) <math data-latex=\"p=0.5,\\ q=0.8\"><semantics><mrow><mi>p<\/mi><mo>=<\/mo><mn>0.5<\/mn><mo separator=\"true\">,<\/mo><mtext>&nbsp;<\/mtext><mi>q<\/mi><mo>=<\/mo><mn>0.8<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">p=0.5,\\ q=0.8<\/annotation><\/semantics><\/math> \u3067\u306f <math data-latex=\"D_{\\mathrm{KL}}(P\\|Q)=0.2231\"><semantics><mrow><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mi>\u2016<\/mi><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mn>0.2231<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">D_{\\mathrm{KL}}(P\\|Q)=0.2231<\/annotation><\/semantics><\/math>\u3001<math data-latex=\"D_{\\mathrm{KL}}(Q\\|P)=0.1927\"><semantics><mrow><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>Q<\/mi><mi>\u2016<\/mi><mi>P<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mn>0.1927<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">D_{\\mathrm{KL}}(Q\\|P)=0.1927<\/annotation><\/semantics><\/math> \u3068\u306a\u308a\u3001\u5411\u304d\u3092\u5165\u308c\u66ff\u3048\u308b\u3068\u5024\u304c\u5909\u308f\u308b\u3002<\/li>\n\n\n\n<li>(4) <math data-latex=\"N=10\"><semantics><mrow><mi>N<\/mi><mo>=<\/mo><mn>10<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">N=10<\/annotation><\/semantics><\/math> \u3067\u306f <math data-latex=\"8.23\\times10^{-2}\"><semantics><mrow><mn>8.23<\/mn><mo>\u00d7<\/mo><msup><mn>10<\/mn><mrow><mo lspace=\"0em\" rspace=\"0em\">\u2212<\/mo><mn>2<\/mn><\/mrow><\/msup><\/mrow><annotation encoding=\"application\/x-tex\">8.23\\times10^{-2}<\/annotation><\/semantics><\/math>\u3001<math data-latex=\"N=100\"><semantics><mrow><mi>N<\/mi><mo>=<\/mo><mn>100<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">N=100<\/annotation><\/semantics><\/math> \u3067\u306f <math data-latex=\"7.22\\times10^{-3}\"><semantics><mrow><mn>7.22<\/mn><mo>\u00d7<\/mo><msup><mn>10<\/mn><mrow><mo lspace=\"0em\" rspace=\"0em\">\u2212<\/mo><mn>3<\/mn><\/mrow><\/msup><\/mrow><annotation encoding=\"application\/x-tex\">7.22\\times10^{-3}<\/annotation><\/semantics><\/math>\u3001<math data-latex=\"N=1000\"><semantics><mrow><mi>N<\/mi><mo>=<\/mo><mn>1000<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">N=1000<\/annotation><\/semantics><\/math> \u3067\u306f <math data-latex=\"1.46\\times10^{-3}\"><semantics><mrow><mn>1.46<\/mn><mo>\u00d7<\/mo><msup><mn>10<\/mn><mrow><mo lspace=\"0em\" rspace=\"0em\">\u2212<\/mo><mn>3<\/mn><\/mrow><\/msup><\/mrow><annotation encoding=\"application\/x-tex\">1.46\\times10^{-3}<\/annotation><\/semantics><\/math> \u3068\u6e1b\u308a\u3001<math data-latex=\"N=100000\"><semantics><mrow><mi>N<\/mi><mo>=<\/mo><mn>100000<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">N=100000<\/annotation><\/semantics><\/math> \u3067\u306f <math data-latex=\"1.92\\times10^{-6}\"><semantics><mrow><mn>1.92<\/mn><mo>\u00d7<\/mo><msup><mn>10<\/mn><mrow><mo lspace=\"0em\" rspace=\"0em\">\u2212<\/mo><mn>6<\/mn><\/mrow><\/msup><\/mrow><annotation encoding=\"application\/x-tex\">1.92\\times10^{-6}<\/annotation><\/semantics><\/math> \u306b\u306a\u3063\u305f\u3002\u305f\u3060\u3057\u3001<math data-latex=\"N=10000\"><semantics><mrow><mi>N<\/mi><mo>=<\/mo><mn>10000<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">N=10000<\/annotation><\/semantics><\/math> \u306e <math data-latex=\"2.00\\times10^{-6}\"><semantics><mrow><mn>2.00<\/mn><mo>\u00d7<\/mo><msup><mn>10<\/mn><mrow><mo lspace=\"0em\" rspace=\"0em\">\u2212<\/mo><mn>6<\/mn><\/mrow><\/msup><\/mrow><annotation encoding=\"application\/x-tex\">2.00\\times10^{-6}<\/annotation><\/semantics><\/math> \u3068 <math data-latex=\"N=100000\"><semantics><mrow><mi>N<\/mi><mo>=<\/mo><mn>100000<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">N=100000<\/annotation><\/semantics><\/math> \u306e\u5024\u306f\u307b\u307c\u540c\u3058\u3067\u3001\u6bce\u56de\u304d\u308c\u3044\u306b\u6e1b\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u3002\u8868\u306e\u5272\u5408\u304c\u305f\u307e\u305f\u307e 0.5 \u306b\u3054\u304f\u8fd1\u304f\u306a\u308b\u306a\u3069\u3001\u4e71\u6570\u306e\u3086\u3089\u304e\u304c\u3042\u308b\u305f\u3081\u3067\u3042\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"717\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-5-1024x717.png\" alt=\"\" class=\"wp-image-10367\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-5-1024x717.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-5-300x210.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-5-768x538.png 768w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-5-1536x1075.png 1536w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-5.png 1800w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>\u56f33: <\/em><math data-latex=\"P \"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P <\/annotation><\/semantics><\/math><em>\u3092 Bernoulli(0.5) \u306b\u56fa\u5b9a\u3057\u3001\u6a2a\u8ef8\u3092\u30e2\u30c7\u30eb\u306e\u30b3\u30a4\u30f3\u306e\u8868\u306e\u78ba\u7387 <\/em><math data-latex=\"q\"><semantics><mi>q<\/mi><annotation encoding=\"application\/x-tex\">q<\/annotation><\/semantics><\/math><em>\u3001\u7e26\u8ef8\u3092 <\/em><math data-latex=\"D_{KL}(P\u2016Q)\"><semantics><mrow><msub><mi>D<\/mi><mrow><mi>K<\/mi><mi>L<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo form=\"prefix\" stretchy=\"false\">\u2016<\/mo><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">D_{KL}(P\u2016Q)<\/annotation><\/semantics><\/math><em>\uff08\u5358\u4f4d\u306f nat\uff09\u3068\u3057\u3066\u63cf\u3044\u305f\u56f3\u3002<\/em><math data-latex=\"q=0.5\"><semantics><mrow><mi>q<\/mi><mo>=<\/mo><mn>0.5<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">q=0.5<\/annotation><\/semantics><\/math><em> \u3067\u6700\u5c0f\u5024 0 \u306b\u306a\u308b\u3002<\/em><\/p>\n\n\n\n<p>\u56f33\u3067\u306f\u3001\u6700\u5c0f\u5024\u304c <math data-latex=\"q=0.5\"><semantics><mrow><mi>q<\/mi><mo>=<\/mo><mn>0.5<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">q=0.5<\/annotation><\/semantics><\/math> \u306e\u3068\u3053\u308d\u306b\u3042\u308b\u3002\u3053\u308c\u306f\u3001\u30b9\u30c6\u30c3\u30d73\u306e\u7b49\u53f7\u6761\u4ef6 <math data-latex=\"P=Q\"><semantics><mrow><mi>P<\/mi><mo>=<\/mo><mi>Q<\/mi><\/mrow><annotation encoding=\"application\/x-tex\">P=Q<\/annotation><\/semantics><\/math> \u3068\u4e00\u81f4\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"717\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-7-1024x717.png\" alt=\"\" class=\"wp-image-10369\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-7-1024x717.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-7-300x210.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-7-768x538.png 768w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-7-1536x1075.png 1536w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-7.png 1800w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>\u56f34: <\/em><math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math><em> \u3092 Bernoulli(0.5) \u306b\u56fa\u5b9a\u3057\u3001\u6a2a\u8ef8\u3092 <\/em><math data-latex=\"q\"><semantics><mi>q<\/mi><annotation encoding=\"application\/x-tex\">q<\/annotation><\/semantics><\/math><em> \u3068\u3057\u3066\u3001\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc <\/em><math data-latex=\"H(P,Q)\"><semantics><mrow><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo separator=\"true\">,<\/mo><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">H(P,Q)<\/annotation><\/semantics><\/math><em>\u3001\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc <\/em><math data-latex=\"H(P)\"><semantics><mrow><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">H(P)<\/annotation><\/semantics><\/math><em>\uff08\u5b9a\u6570\uff09\u3001\u304a\u3088\u3073\u305d\u306e\u5dee <\/em><math data-latex=\"H(P,Q)\u2212H(P)\"><semantics><mrow><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo separator=\"true\">,<\/mo><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>\u2212<\/mo><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">H(P,Q)\u2212H(P)<\/annotation><\/semantics><\/math><em>\uff08KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u306b\u4e00\u81f4\uff09\u3092\u91cd\u306d\u305f\u56f3\u3002<\/em><\/p>\n\n\n\n<p>\u56f34\u3067\u306f\u3001\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u3068\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u306e\u5dee\u304c\u3001KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u306e\u66f2\u7dda\u3068\u3057\u3066\u63cf\u304b\u308c\u3066\u3044\u308b\u3002\u5148\u306b\u793a\u3057\u305f\u6700\u5927\u8aa4\u5dee\u306e\u5c0f\u3055\u3055\u306f\u3001\u30b9\u30c6\u30c3\u30d72\u306e\u6052\u7b49\u5f0f\u3068\u6570\u5024\u7684\u306b\u6574\u5408\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u306e\u975e\u5bfe\u79f0\u6027\uff08P=Bernoulli(0.8)\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"717\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-8-1024x717.png\" alt=\"\" class=\"wp-image-10370\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-8-1024x717.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-8-300x210.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-8-768x538.png 768w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-8-1536x1075.png 1536w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-8.png 1800w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>\u56f35: <\/em><math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math><em>\u3092 Bernoulli(0.8) \u306b\u56fa\u5b9a\u3057\u3001\u6a2a\u8ef8\u3092 <\/em><math data-latex=\"q\"><semantics><mi>q<\/mi><annotation encoding=\"application\/x-tex\">q<\/annotation><\/semantics><\/math><em> \u3068\u3057\u3066\u3001<\/em><math data-latex=\"D_{KL}(P\u2016Q) \u3068 D_{KL}(Q\u2016P)\"><semantics><mrow><msub><mi>D<\/mi><mrow><mi>K<\/mi><mi>L<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo form=\"prefix\" stretchy=\"false\">\u2016<\/mo><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mtext>\u3068<\/mtext><msub><mi>D<\/mi><mrow><mi>K<\/mi><mi>L<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>Q<\/mi><mo form=\"prefix\" stretchy=\"false\">\u2016<\/mo><mi>P<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">D_{KL}(P\u2016Q) \u3068 D_{KL}(Q\u2016P)<\/annotation><\/semantics><\/math><em> \u306e\u66f2\u7dda\u3092\u4e26\u3079\u305f\u56f3\u30022\u3064\u304c\u4e00\u81f4\u3057\u306a\u3044\u3053\u3068\u304c\u5206\u304b\u308b\u3002<\/em><\/p>\n\n\n\n<p>\u56f35\u3067\u306f\u3001<math data-latex=\"P=\\mathrm{Bernoulli}(0.8)\"><semantics><mrow><mi>P<\/mi><mo>=<\/mo><mrow><mtext><\/mtext><mi>Bernoulli<\/mi><\/mrow><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mn>0.8<\/mn><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">P=\\mathrm{Bernoulli}(0.8)<\/annotation><\/semantics><\/math> \u306b\u5bfe\u3059\u308b2\u3064\u306e\u5411\u304d\u306e\u66f2\u7dda\u304c\u4e00\u81f4\u3057\u3066\u3044\u306a\u3044\u3002<math data-latex=\"q\"><semantics><mi>q<\/mi><annotation encoding=\"application\/x-tex\">q<\/annotation><\/semantics><\/math> \u3092\u52d5\u304b\u3057\u305f\u7bc4\u56f2\u3067\u3001\u30b9\u30c6\u30c3\u30d74\u306e\u975e\u5bfe\u79f0\u6027\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<p>\u6295\u3052\u308b\u56de\u6570 <math data-latex=\"N\"><semantics><mi>N<\/mi><annotation encoding=\"application\/x-tex\">N<\/annotation><\/semantics><\/math> \u3068\u7d4c\u9a13\u5206\u5e03\u306e KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"717\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-9-1024x717.png\" alt=\"\" class=\"wp-image-10371\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-9-1024x717.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-9-300x210.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-9-768x538.png 768w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-9-1536x1075.png 1536w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2026\/11\/image-9.png 1800w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><em>\u56f36: \u30b3\u30a4\u30f3\u3092 N \u56de\uff0810 \u56de\u304b\u3089 100000 \u56de\uff09\u6295\u3052\u3066\u5f97\u305f\u7d4c\u9a13\u5206\u5e03\u3068\u3001\u771f\u306e\u30b3\u30a4\u30f3 Bernoulli(0.5) \u3068\u306e KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u3092\u3001\u4e21\u5bfe\u6570\u8ef8\u3067\u63cf\u3044\u305f\u56f3\u3002\u53c2\u8003\u3068\u3057\u3066 1\/(2N) \u306e\u66f2\u7dda\u3092\u7834\u7dda\u3067\u91cd\u306d\u3066\u3044\u308b\u3002<\/em><\/p>\n\n\n\n<p>\u56f36\u3067\u306f\u3001<math data-latex=\"N\"><semantics><mi>N<\/mi><annotation encoding=\"application\/x-tex\">N<\/annotation><\/semantics><\/math> \u3092\u5897\u3084\u3059\u3068\u7d4c\u9a13\u5206\u5e03\u304c\u771f\u306e\u30b3\u30a4\u30f3\u306b\u8fd1\u3065\u304d\u3001KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u304c\u5c0f\u3055\u304f\u306a\u3063\u3066\u3044\u308b\u3002\u3053\u308c\u306f\u3001\u30b9\u30c6\u30c3\u30d73\u306e\u7b49\u53f7\u6761\u4ef6 <math data-latex=\"P=Q\"><semantics><mrow><mi>P<\/mi><mo>=<\/mo><mi>Q<\/mi><\/mrow><annotation encoding=\"application\/x-tex\">P=Q<\/annotation><\/semantics><\/math> \u306b\u8fd1\u3065\u304f\u3053\u3068\u306b\u5bfe\u5fdc\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u7834\u7dda\u306f\u53c2\u8003\u3068\u3057\u3066\u63cf\u3044\u305f <math data-latex=\"1\/(2N)\"><semantics><mrow><mn>1<\/mn><mi>\/<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mn>2<\/mn><mi>N<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">1\/(2N)<\/annotation><\/semantics><\/math> \u306e\u66f2\u7dda\u3067\u3042\u308b\u3002\u3053\u306e\u4fc2\u6570\u306f\u3001\u76ee\u5b89\u306e\u66f2\u7dda\u3067\u3042\u308a\u6e1b\u5c11\u306e\u69d8\u5b50\u3092\u7406\u8ad6\u7dda\u3068\u3057\u3066\u793a\u3059\u3082\u306e\u3067\u306f\u306a\u3044\u3002\u5b9f\u969b\u3001<math data-latex=\"N=10000\"><semantics><mrow><mi>N<\/mi><mo>=<\/mo><mn>10000<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">N=10000<\/annotation><\/semantics><\/math> \u3067\u306f <math data-latex=\"1\/(2N)=5\\times10^{-5}\"><semantics><mrow><mn>1<\/mn><mi>\/<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mn>2<\/mn><mi>N<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mn>5<\/mn><mo>\u00d7<\/mo><msup><mn>10<\/mn><mrow><mo lspace=\"0em\" rspace=\"0em\">\u2212<\/mo><mn>5<\/mn><\/mrow><\/msup><\/mrow><annotation encoding=\"application\/x-tex\">1\/(2N)=5\\times10^{-5}<\/annotation><\/semantics><\/math> \u3060\u304c\u3001\u5b9f\u6e2c\u306f <math data-latex=\"2.00\\times10^{-6}\"><semantics><mrow><mn>2.00<\/mn><mo>\u00d7<\/mo><msup><mn>10<\/mn><mrow><mo lspace=\"0em\" rspace=\"0em\">\u2212<\/mo><mn>6<\/mn><\/mrow><\/msup><\/mrow><annotation encoding=\"application\/x-tex\">2.00\\times10^{-6}<\/annotation><\/semantics><\/math> \u3060\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u78ba\u304b\u3081\u3089\u308c\u305f\u306e\u306f\u3001<math data-latex=\"N\"><semantics><mi>N<\/mi><annotation encoding=\"application\/x-tex\">N<\/annotation><\/semantics><\/math> \u304c\u5927\u304d\u3044\u307b\u3069\u5024\u304c\u304a\u304a\u3080\u306d\u5c0f\u3055\u304f\u306a\u308b\u3068\u3044\u3046\u50be\u5411\u307e\u3067\u3067\u3042\u308b\u3002\u3057\u304b\u30821\u56de\u306e\u8a66\u884c\u306e\u7d50\u679c\u306b\u3059\u304e\u306a\u3044\u306e\u3067\u3001\u7d30\u304b\u3044\u6e1b\u308a\u65b9\u307e\u3067\u306f\u3053\u306e\u5b9f\u9a13\u304b\u3089\u5224\u65ad\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6ce8\u610f\u3068\u3088\u304f\u3042\u308b\u8aa4\u89e3<\/h2>\n\n\n\n<p>\u3053\u306e\u5b9a\u7fa9\u304c\u6210\u308a\u7acb\u305f\u306a\u304f\u306a\u308b\u306e\u306f\u3001<math data-latex=\"p(x)&gt;0\"><semantics><mrow><mi>p<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>&gt;<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">p(x)&gt;0<\/annotation><\/semantics><\/math> \u306a\u306e\u306b <math data-latex=\"q(x)=0\"><semantics><mrow><mi>q<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>x<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>=<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">q(x)=0<\/annotation><\/semantics><\/math> \u3068\u306a\u308b\u5834\u5408\u3067\u3042\u308b\u3002\u4f8b\u3048\u3070\u30b3\u30a4\u30f3\u3067 <math data-latex=\"q=0\"><semantics><mrow><mi>q<\/mi><mo>=<\/mo><mn>0<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">q=0<\/annotation><\/semantics><\/math> \u3068\u3059\u308b\u3068\u3001\u8868\u304c\u51fa\u308b <math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math> \u306b\u5bfe\u3057\u3066 <math data-latex=\"\\log\\frac pq\"><semantics><mrow><mrow><mi>log<\/mi><mo>\u2061<\/mo><mspace width=\"0.1667em\"><\/mspace><\/mrow><mfrac><mi>p<\/mi><mi>q<\/mi><\/mfrac><\/mrow><annotation encoding=\"application\/x-tex\">\\log\\frac pq<\/annotation><\/semantics><\/math> \u304c\u767a\u6563\u3057\u3001KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u306f\u7121\u9650\u5927\u306b\u306a\u308b [5]\u3002<\/p>\n\n\n\n<p>\u8aa4\u89e3\u306e1\u3064\u76ee\u306f\u3001KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u3092\u8ddd\u96e2\u3068\u898b\u306a\u3059\u3053\u3068\u3067\u3042\u308b\u3002\u8ddd\u96e2\u3068\u3057\u3066\u306e\u91cf\u306f\u3001\u5bfe\u79f0\u3067\u3042\u308b\u3053\u3068\u3068\u4e09\u89d2\u4e0d\u7b49\u5f0f\u304c\u6210\u308a\u7acb\u3064\u3053\u3068\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002\u4e09\u89d2\u4e0d\u7b49\u5f0f\u3068\u306f\u30013\u70b9 A\u3001B\u3001C \u306b\u3064\u3044\u3066\u3001A\u304b\u3089C\u307e\u3067\u306e\u8ddd\u96e2\u304c\u3001A\u304b\u3089B\u307e\u3067\u3068B\u304b\u3089C\u307e\u3067\u306e\u8ddd\u96e2\u306e\u548c\u4ee5\u4e0b\u306b\u306a\u308b\u3068\u3044\u3046\u6027\u8cea\u3067\u3042\u308b\u3002KL\u30c0\u30a4\u30d0\u30fc\u30b8\u30a7\u30f3\u30b9\u306f\u975e\u5bfe\u79f0\u3067\u3001\u4e09\u89d2\u4e0d\u7b49\u5f0f\u3082\u6210\u308a\u7acb\u305f\u306a\u3044\u306e\u3067\u3001\u8ddd\u96e2\u3068\u3057\u3066\u306f\u6271\u308f\u308c\u306a\u3044 [6][7]\u3002\u3069\u3061\u3089\u306e\u5411\u304d\u3092\u4f7f\u3046\u304b\u306f\u3001\u76ee\u7684\u306b\u5408\u308f\u305b\u3066\u9078\u629e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<p>\u8aa4\u89e3\u306e2\u3064\u76ee\u306f\u3001\u5024\u304c\u5c0f\u3055\u3051\u308c\u3070\u5411\u304d\u306b\u3088\u3089\u305a\u4f3c\u3066\u3044\u308b\u3068\u307f\u306a\u3059\u3053\u3068\u3067\u3042\u308b\u3002\u5411\u304d\u306b\u3088\u3063\u3066\u5024\u304c\u5909\u308f\u308b\u305f\u3081\u3001\u3069\u3061\u3089\u306e\u5411\u304d\u3092\u6e2c\u3063\u305f\u306e\u304b\u3092\u660e\u793a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b [8]\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><math data-latex=\"D_{\\mathrm{KL}}(P\\|Q)\"><semantics><mrow><msub><mi>D<\/mi><mrow><mtext><\/mtext><mi>KL<\/mi><\/mrow><\/msub><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mi>\u2016<\/mi><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">D_{\\mathrm{KL}}(P\\|Q)<\/annotation><\/semantics><\/math> \u306f\u3001\u300c<math data-latex=\"Q\"><semantics><mi>Q<\/mi><annotation encoding=\"application\/x-tex\">Q<\/annotation><\/semantics><\/math> \u3092\u4fe1\u3058\u305f\u3068\u304d\u306e\u5e73\u5747\u306e\u9a5a\u304d\u300d\u3068\u300c<math data-latex=\"P\"><semantics><mi>P<\/mi><annotation encoding=\"application\/x-tex\">P<\/annotation><\/semantics><\/math> \u3092\u77e5\u3063\u3066\u3044\u308b\u3068\u304d\u306e\u5e73\u5747\u306e\u9a5a\u304d\u300d\u306e\u5dee\u3067\u3042\u308a\u30010 \u4ee5\u4e0a\u3067\u3001<math data-latex=\"P=Q\"><semantics><mrow><mi>P<\/mi><mo>=<\/mo><mi>Q<\/mi><\/mrow><annotation encoding=\"application\/x-tex\">P=Q<\/annotation><\/semantics><\/math> \u306e\u3068\u304d\u3060\u3051 0 \u306b\u306a\u308b\u3002<\/li>\n\n\n\n<li>\u5411\u304d\u306b\u3088\u3063\u3066\u5024\u304c\u5909\u308f\u308b\u306e\u3067\u3001\u8ddd\u96e2\u3067\u306f\u306a\u3044\u3002\u307e\u305f\u3001<math data-latex=\"H(P,Q)-H(P)\"><semantics><mrow><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo separator=\"true\">,<\/mo><mi>Q<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mo>\u2212<\/mo><mi>H<\/mi><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mi>P<\/mi><mo form=\"postfix\" stretchy=\"false\">)<\/mo><\/mrow><annotation encoding=\"application\/x-tex\">H(P,Q)-H(P)<\/annotation><\/semantics><\/math> \u3068\u3044\u3046\u95a2\u4fc2\u3092\u901a\u3058\u3066\u3001\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u306e\u6700\u5c0f\u5316\u3001\u3064\u307e\u308a\u6700\u5c24\u63a8\u5b9a\u306b\u3064\u306a\u304c\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u53c2\u8003\u6587\u732e<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.entropy.html\">entropy \u2014 SciPy v1.18.0 Manual (scipy.stats.entropy)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/freshrimpsushi.github.io\/en\/posts\/2049\/\">Gibbs&#8217; Inequality (freshrimpsushi)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/prove2.me\/theorems\/1c44dd3d-300b-4471-91c4-534aa3d35695\">Gibbs&#8217; inequality (non-negativity of KL divergence) \u00b7 Prove2Me<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/arxiv.org\/pdf\/2509.21547\">Machine Learning. The Science of Selection under Uncertainty (arXiv 2509.21547)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.emergentmind.com\/topics\/kullback-leibler-divergence-kl-divergence\">KL Divergence: Definition, Estimation &amp; Applications<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.stat.cmu.edu\/~cshalizi\/754\/2006\/notes\/lecture-28.pdf\">Chapter 28 Shannon Entropy and Kullback-Leibler Divergence<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/zeroentropy.dev\/concepts\/kl-divergence\/\">KL divergence: measuring distance between distributions<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.emergentmind.com\/topics\/kullback-leibler-divergence\">Kullback\u2013Leibler Divergence Overview<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u516c\u5e73\u306a\u30b3\u30a4\u30f3 PP\uff08\u8868\u306e\u78ba\u7387 0.5\uff09\u3068\u3001\u8868\u304c\u51fa\u3084\u3059\u3044\u30b3\u30a4\u30f3 QQ\uff08\u8868\u306e\u78ba\u7387 0.8\uff09\u3092\u8003\u3048\u308b\u3002QQ \u304c\u672c\u7269\u306e\u30b3\u30a4\u30f3\u3060\u3068\u4fe1\u3058\u305f\u307e\u307e\u3001\u5b9f\u969b\u306b\u306f PP \u304b\u3089\u51fa\u305f\u7d50\u679c\u3092\u898b\u308b\u3068\u3057\u305f\u3089\u3001\u3069\u308c\u304f\u3089\u3044\u300c\u4e88\u60f3\u5916\u300d\u306b\u611f\u3058\u308b\u3060\u308d\u3046\u304b\u3002 \u516c\u5e73 [&hellip;]<\/p>\n","protected":false},"author":100,"featured_media":10373,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1251,1249],"tags":[96,419,553],"class_list":["post-10363","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-analysis","category-knowledge","tag-ai","tag-419","tag-553"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/10363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/100"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=10363"}],"version-history":[{"count":1,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/10363\/revisions"}],"predecessor-version":[{"id":10372,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/10363\/revisions\/10372"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/10373"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=10363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=10363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=10363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}