<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>niam</author_name>
  <author_url>https://blog.hatena.ne.jp/niam/</author_url>
  <blog_title>Educational NLP blog</blog_title>
  <blog_url>https://edunlp.hatenadiary.com/</blog_url>
  <categories>
    <anon>研究</anon>
    <anon>C++</anon>
  </categories>
  <description>C++0xの練習として，マージンパーセプトロンを書きました．データ読み込みやコマンドライン処理を含めてもperceptron_binary.cppという90行にみたない1ファイルだけで済ませてあり，一応，コピペなどで気軽に使えることを意識しています． ソースコードと使い方 上の「ソースコード」や「使い方」のリンク先にもかいてありますが，gcc4.6さえ入っていれば，下記のように打てば使えます．基本的には，perceptron_binary.cppをコンパイルするだけです．gcc4.6が必要なのは，range-based forを使っているからです． % g++ -std=c++0x -O2 p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fedunlp.hatenadiary.com%2Fentry%2F20110702%2F1309621088&quot; title=&quot;C++0xで10行で書けるマージンパーセプトロン - Educational NLP 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-07-02 00:38:08</published>
  <title>C++0xで10行で書けるマージンパーセプトロン</title>
  <type>rich</type>
  <url>https://edunlp.hatenadiary.com/entry/20110702/1309621088</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
