{"version":"1.0","blog_title":"Python\u3092\u4e00\u304b\u3089\u52c9\u5f37\u3057\u3066\u30c7\u30fc\u30bf\u5206\u6790\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b","height":"190","author_url":"https://blog.hatena.ne.jp/hwk159/","url":"https://hwk159.hatenablog.com/entry/2024/08/01/164033","author_name":"hwk159","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/h/hwk159/20240801/20240801163828.png","description":"[Take1] \u307e\u305a\u306f\u30ce\u30a4\u30ba\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30bc\u30ed\u306b\u3057\u3066\u4f5c\u3063\u3066\u307f\u308b \u3010\u66f8\u5f0f\u3011 \u66f8\u5f0f\uff1a\u56de\u5e30\u30c7\u30fc\u30bf\u306e\u751f\u6210 make_regression(\u30e9\u30f3\u30c0\u30e0\u306e\u7a2e, \u7279\u5fb4\u91cf, \u30ce\u30a4\u30ba, y\u5207\u7247, \u30c7\u30fc\u30bf\u500b\u6570) \u66f8\u5f0f\uff1a\u5217\u306e\u8ffd\u52a0 df[\"\u5217\u540d\"]=y \u3010\u30b3\u30fc\u30c9\u3011 %matplotlib inline import matplotlib.pyplot as plt from sklearn.datasets import make_regression import pandas as pd # \u7279\u5fb4\u91cf X\u3001\u5206\u985e y \u306e\u30c7\u30fc\u30bf\u4f5c\u6210 X,y=make_regression( random_state=3, # \u30e9\u30f3\u30c0\u30e0\u306e\u7a2e\u2026","title":"\u6a5f\u68b0\u5b66\u7fd2\uff1a\u56de\u5e30\u7528\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3059\u308b","categories":[],"provider_name":"Hatena Blog","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhwk159.hatenablog.com%2Fentry%2F2024%2F08%2F01%2F164033\" title=\"\u6a5f\u68b0\u5b66\u7fd2\uff1a\u56de\u5e30\u7528\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3059\u308b - Python\u3092\u4e00\u304b\u3089\u52c9\u5f37\u3057\u3066\u30c7\u30fc\u30bf\u5206\u6790\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://hwk159.hatenablog.com/","provider_url":"https://hatena.blog","published":"2024-08-01 16:40:33","width":"100%"}