<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kanjirz50</author_name>
  <author_url>https://blog.hatena.ne.jp/kanjirz50/</author_url>
  <blog_title>Sansan Tech Blog</blog_title>
  <blog_url>https://buildersbox.corp-sansan.com/</blog_url>
  <categories>
    <anon>R&amp;D</anon>
    <anon>連載</anon>
  </categories>
  <description>こんにちは。 DSOC R&amp;D グループの高橋寛治です。 前回のTF-IDFで、使ってはいたけれど触れなかった文書や単語の表現方法について述べます。 実際に文書をベクトルとして表現し、コサイン類似度を計算することで理解を深めます。 scikit-learnを使わずにできる限りnumpyを利用してコードを記述してみます。 ノートブックはこちらにあります。 ベクトルで取り扱うと計算しやすい 自然言語を取り扱う研究では、文書や単語といったように自然言語を何らかの単位で取り扱います。 自然言語処理でも活用される機械学習手法は、数式で表現されるものであり、データやその演算はベクトルで取り扱われています。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbuildersbox.corp-sansan.com%2Fentry%2Ftech13_bagofwords&quot; title=&quot;【Techの道も一歩から】第13回「文書や単語をどうやって表現するかコサイン類似度で学ぶ」 - Sansan Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sansantech/20260224/20260224190140.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-02 12:00:00</published>
  <title>【Techの道も一歩から】第13回「文書や単語をどうやって表現するかコサイン類似度で学ぶ」</title>
  <type>rich</type>
  <url>https://buildersbox.corp-sansan.com/entry/tech13_bagofwords</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
