Skip to Content
Pythonデータサイエンスハンドブック ―Jupyter、NumPy、pandas、Matplotlib、scikit-learnを使ったデータ分析、機械学習
book

Pythonデータサイエンスハンドブック ―Jupyter、NumPy、pandas、Matplotlib、scikit-learnを使ったデータ分析、機械学習

by Jake VanderPlas, 菊池 彰
May 2018
Intermediate to advanced
556 pages
13h 21m
Japanese
O'Reilly Japan, Inc.
Content preview from Pythonデータサイエンスハンドブック ―Jupyter、NumPy、pandas、Matplotlib、scikit-learnを使ったデータ分析、機械学習
332
4
章 
Matplotlib
による可視化
これはおそらく、その範囲のランナーがほんの一握りであるため、分布の推定が少人数で行われた
ことが原因です。
In[38]: (data.age > 80).sum()
Out[38]: 7
スプリット率が負の男性に話を戻しましょう。これはどのようなランナーなのでしょう。スプ
リット率とゴール時間に相関はあるのでしょうか。自動的に線形回帰をデータに適用する
regplot
を使えば簡単にわかります( 4-132)。
In[39]: g = sns.lmplot('final_sec', 'split_frac', col='gender', data=data,
markers=".", scatter_kws=dict(color='c'))
g.map(plt.axhline, y=0.1, color="k", ls=":");
図4-132 性別のスプリット率とゴール時間
明らかに小さなスプリット率を持つランナーは、約
15,000
秒(約
4
時間)以内にゴールしているエ
リートランナーです。それよりも遅い人は、後半遅くなる可能性が高いランナーです。
4.17
 その他のリソース
4.17.1
Matplotlib
リソース
1
つの章だけでは、
Matplotlib
で使用可能なすべての機能とプロットの種類を取り上げることは
できません。他のパッケージと同様に、
Matplotlib
API
を調べるには、
IPython
Tab
補完関数と
ヘルプ関数(「1.2 IPython ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pythonデータサイエンスハンドブック 第2版 ―Jupyter、NumPy、pandas、Matplotlib、scikit-learnを使ったデータ分析、機械学習

Pythonデータサイエンスハンドブック 第2版 ―Jupyter、NumPy、pandas、Matplotlib、scikit-learnを使ったデータ分析、機械学習

Jake VanderPlas, 菊池 彰
初めてのGraphQL ―Webサービスを作って学ぶ新世代API

初めてのGraphQL ―Webサービスを作って学ぶ新世代API

Eve Porcello, Alex Banks, 尾崎 沙耶, あんどうやすし

Publisher Resources

ISBN: 9784873118413Other