<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sator926</author_name>
  <author_url>https://blog.hatena.ne.jp/sator926/</author_url>
  <blog_title>surolog</blog_title>
  <blog_url>https://surolog.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミングした</anon>
    <anon>勉強した</anon>
  </categories>
  <description>データ分析で予測分類モデルとか作るときに、目的変数に対するカテゴリカルな特徴量の寄与をただ知りたいときってありますよね。Rを使ってたときは、パッケージでジニ係数とか情報利得とかを計算する関数があったんですが、Pythonでは決定木とかに組み込まれているものしか見つけられなかったので作ってみました。以下の流れでご紹介 ジニ係数の簡単な説明 ジニ係数の実装 ジニ係数って wikiによれば ジニ係数 - Wikipedia ジニ係数(ジニけいすう、Gini coefficient)とは、主に社会における所得分配の不平等さを測る指標。ローレンツ曲線をもとに、1936年、イタリアの統計学者コッラド・ジニ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsurolog.hatenablog.com%2Fentry%2F2014%2F12%2F20%2F010037&quot; title=&quot;Pythonでジニ係数を計算してみる - surolog&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-12-20 01:00:37</published>
  <title>Pythonでジニ係数を計算してみる</title>
  <type>rich</type>
  <url>https://surolog.hatenablog.com/entry/2014/12/20/010037</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
