{"author_url":"https://blog.hatena.ne.jp/zisakuzienyurusumaji/","author_name":"zisakuzienyurusumaji","height":"190","provider_url":"https://hatena.blog","description":"#!/usr/bin/env python3 # -*- coding: utf-8 -*- \"\"\" bayes_markov_with_target_weights_tokenized.py \u5b8c\u6210\u7248\uff1a - \u540c\u3058\u6587\u5b57\u3067\u3082\u7d71\u8a08\u7279\u5fb4\u304c\u7570\u306a\u308c\u3070\u5225\u30c8\u30fc\u30af\u30f3\u6271\u3044\u306b\u3059\u308b - \u30bf\u30fc\u30b2\u30c3\u30c8\u8ddd\u96e2\u306b\u6307\u6570\u6e1b\u8870 \u2192 \u9060\u8ddd\u96e2\u3082\u5f31\u304f\u5f71\u97ff\u3059\u308b\u9006\u7d2f\u4e57\u6e1b\u8870\u306b\u5909\u66f4 - \u985e\u4f3c\u5ea6\u306b\u57fa\u3065\u304f\u52d5\u7684\u30d9\u30a4\u30ba\u88dc\u6b63\uff08beta \u3092\u52d5\u7684\u306b\u6c7a\u5b9a\uff09 - NumPy \u884c\u5217\u3067\u53ef\u80fd\u306a\u9650\u308a\u9ad8\u901f\u5316 - \u9032\u6357\u306f tqdm\uff08\u672a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306f\u7c21\u6613\u8868\u793a\uff09 \"\"\" import os import random import math from collections i\u2026","published":"2025-12-03 00:08:28","blog_url":"https://zisakuzienyurusumaji.hatenablog.com/","url":"https://zisakuzienyurusumaji.hatenablog.com/entry/2025/12/03/000828","type":"rich","provider_name":"Hatena Blog","categories":[],"version":"1.0","blog_title":"zisakuzienyurusumaji\u306e\u30d6\u30ed\u30b0","title":"\u795e\u6587\u7ae0\u3092\u751f\u6210\u3057\u305f\u30b3\u30fc\u30c9\u3092\u3054\u7d39\u4ecb\u3044\u305f\u3057\u307e\u3059","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzisakuzienyurusumaji.hatenablog.com%2Fentry%2F2025%2F12%2F03%2F000828\" title=\"\u795e\u6587\u7ae0\u3092\u751f\u6210\u3057\u305f\u30b3\u30fc\u30c9\u3092\u3054\u7d39\u4ecb\u3044\u305f\u3057\u307e\u3059 - zisakuzienyurusumaji\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null}