<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayataka2049</author_name>
  <author_url>https://blog.hatena.ne.jp/hayataka2049/</author_url>
  <blog_title>静かなる名辞</blog_title>
  <blog_url>https://hayataka2049.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>sklearn</anon>
    <anon>特徴選択</anon>
    <anon>速度計測シリーズ</anon>
    <anon>Tips</anon>
  </categories>
  <description>はじめに 疎行列はメモリ消費こそ少ないものの、scikit-learnで使うと内部でnumpy配列に変換されたりしてあまり恩恵を受けられないことが多いです。 でも、変数選択に使うときはどうやら効くっぽいです。 関連記事 scikit learnのモデルに疎行列（csr_matrix）を渡したときの速度 - 静かなる名辞 実験 淡々とやりましょう。20newsgroups＋SelectKBestという組み合わせです。 import time import warnings import numpy as np from sklearn.datasets import fetch_20newsgr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2019%2F07%2F14%2F043514&quot; title=&quot;sklearnの変数選択は疎行列型（csr_matrix）でやると速いっぽいよ - 静かなる名辞&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>2019-07-14 04:35:14</published>
  <title>sklearnの変数選択は疎行列型（csr_matrix）でやると速いっぽいよ</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2019/07/14/043514</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
