<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fits</author_name>
  <author_url>https://blog.hatena.ne.jp/fits/</author_url>
  <blog_title>なんとなくな Developer のメモ</blog_title>
  <blog_url>https://fits.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>C#</anon>
    <anon>F#</anon>
    <anon>Erlang</anon>
  </categories>
  <description>前回 に続き、今回は下記のようなプログラム言語でジニ不純度（ジニ係数）の算出処理を同じように実装してみました。 Ruby C# F# Erlang 今回のソースは http://github.com/fits/try_samples/tree/master/blog/20140608/ Ruby で実装 Ruby 2.0 JRuby 1.7 Ruby では group_by で要素毎の Hash オブジェクトを取得できます。 （下記では {&quot;A&quot;=&gt;[&quot;A&quot;, &quot;A&quot;], &quot;B&quot;=&gt;[&quot;B&quot;, &quot;B&quot;, &quot;B&quot;], &quot;C&quot;=&gt;[&quot;C&quot;]}） なお、Hash で map した結果は配列になります…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffits.hatenablog.com%2Fentry%2F2014%2F06%2F08%2F203020&quot; title=&quot; ジニ不純度の算出2 - Ruby, C#, F#, Erlang - なんとなくな Developer のメモ&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>2014-06-08 20:30:20</published>
  <title> ジニ不純度の算出2 - Ruby, C#, F#, Erlang</title>
  <type>rich</type>
  <url>https://fits.hatenablog.com/entry/2014/06/08/203020</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
