<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>riodeja5</author_name>
  <author_url>https://blog.hatena.ne.jp/riodeja5/</author_url>
  <blog_title>重箱の隅つっこみエンジニアのひとりごと</blog_title>
  <blog_url>https://riodeja-5.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>背景 オリジナルソース 修正後 おわりに 参考ページ 背景 kaglleのTitanicで投票数が2番目のカーネルの写経をしていたところ、 カーネルで使っているsklearn.cross_validation.KFoldが、 最新のsklearnで使えなくなっており、コンパイルエラーになってしまいました。 その代わりにsklearn.model_selection.KFoldを使うよう置き換えた話です。 オリジナルソース ※ソースコード量が多いので、ポイント以外は省略します。 from sklearn.cross_validation import KFoldn ...省略 train = t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Friodeja-5.hatenablog.com%2Fentry%2F2018%2F12%2F16%2F121706&quot; title=&quot;sklearn.cross_validation.KFoldをsklearn.model_selection.KFoldに置き換えた話 - 重箱の隅つっこみエンジニアのひとりごと&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>2018-12-16 12:17:06</published>
  <title>sklearn.cross_validation.KFoldをsklearn.model_selection.KFoldに置き換えた話</title>
  <type>rich</type>
  <url>https://riodeja-5.hatenablog.com/entry/2018/12/16/121706</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
