{"title":"TD-IDF (Term Frequency \u2013 Inverse Document Frequency) \u3092python\u3067\u5b9f\u88c5","blog_url":"https://end0tknr.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/end0tknr/","categories":[],"url":"https://end0tknr.hateblo.jp/entry/20240521/1716252167","version":"1.0","image_url":null,"width":"100%","blog_title":"end0tknr's kipple - web\u5199\u7d4c\u958b\u767a","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","type":"rich","author_name":"end0tknr","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fend0tknr.hateblo.jp%2Fentry%2F20240521%2F1716252167\" title=\"TD-IDF (Term Frequency \u2013 Inverse Document Frequency) \u3092python\u3067\u5b9f\u88c5 - end0tknr&#39;s kipple - web\u5199\u7d4c\u958b\u767a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","description":"scikit-learn for python\u306b\u983c\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3057\u305f import math import collections def main(): \"\"\" TF-IDF\u3068\u306f\uff1f \u5404\u6587\u66f8(document)\u306b\u3042\u308b\u5404\u5358\u8a9e(term)\u304c\u300c\u305d\u306e\u6587\u66f8\u3067\u3069\u308c\u304f\u3089\u3044\u91cd\u8981\u304b\u300d https://atmarkit.itmedia.co.jp/ait/articles/2112/23/news028.html \"\"\" docs = [\"I love programming in Python.\", \"Python programming is fun.\", \"I love coding in P\u2026","published":"2024-05-21 09:42:47"}