{"width":"100%","author_url":"https://blog.hatena.ne.jp/gotutiyan/","author_name":"gotutiyan","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgotutiyan.hatenablog.com%2Fentry%2F2020%2F09%2F08%2F122621\" title=\"\u3010sklearn\u3011LabelEncoder\u306e\u4f7f\u3044\u65b9\u3092\u4e01\u5be7\u306b - gotutiyan\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u306f\u3058\u3081\u306b \u672c\u8a18\u4e8b\u3067\u306fsklearn.preprocessing.LabelEncoder()\u306b\u3064\u3044\u3066\u4e01\u5be7\u306b\u8aac\u660e\u3057\u307e\u3059\uff0e \u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\uff1a scikit-learn.org \u306f\u3058\u3081\u306b LabelEncoder\u306e\u5f79\u5272 LabelEncoder\u306e\u57fa\u672c\u7684\u306a\u5165\u51fa\u529b LabelEncoder\u306e\u5ba3\u8a00 fit() transform() (\u30e9\u30d9\u30eb\u2192\u30e9\u30d9\u30ebID) fit_transform() inverse_transform() (\u30e9\u30d9\u30ebID\u2192\u30e9\u30d9\u30eb) classes_\uff08\u3069\u306e\u30e9\u30d9\u30eb\u304c\u3069\u306eID\u306a\u306e\u304b\u3092\u53d6\u5f97\uff09 2\u6b21\u5143\u4ee5\u4e0a\u306e\u30e9\u30d9\u30eb\u5217\u3092\u30a8\u30f3\u30b3\u30fc\u30c9\u3059\u308b\u6642 LabelEncoder\u306e\u5f79\u5272 LabelEncoder()\u2026","categories":["python","sklearn","\u6a5f\u68b0\u5b66\u7fd2\u30fb\u6df1\u5c64\u5b66\u7fd2"],"published":"2020-09-08 12:26:21","image_url":null,"version":"1.0","url":"https://gotutiyan.hatenablog.com/entry/2020/09/08/122621","provider_name":"Hatena Blog","height":"190","title":"\u3010sklearn\u3011LabelEncoder\u306e\u4f7f\u3044\u65b9\u3092\u4e01\u5be7\u306b","type":"rich","blog_url":"https://gotutiyan.hatenablog.com/","provider_url":"https://hatena.blog","blog_title":"gotutiyan\u2019s blog"}