{"version":"1.0","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2016%2F06%2F14%2F233022\" title=\"\u306f\u3084\u3063 - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","url":"https://randommemory.hatenablog.com/entry/2016/06/14/233022","provider_name":"Hatena Blog","categories":["Python","machine_learning","MOOC"],"height":"190","author_url":"https://blog.hatena.ne.jp/derwind/","blog_url":"https://randommemory.hatenablog.com/","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","published":"2016-06-14 23:30:22","type":"rich","title":"\u306f\u3084\u3063","description":"ud730\u30cd\u30bf\u3002train_dataset\u3068\u3044\u304620\u4e07\u306e\u30c7\u30fc\u30bf, valid_dataset\u3068\u3044\u30461\u4e07\u306e\u30c7\u30fc\u30bf, test_dataset\u3068\u3044\u30461\u4e07\u306e\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3059\u308b\u914d\u5217\u306b\u5bfe\u3057\u3066\u3001\u4e92\u3044\u306b\u5e7e\u3064\u304b\u306e\u30c7\u30fc\u30bf\u306e\u91cd\u8907\u304c\u3042\u308b\u3068\u3044\u3046\u60f3\u5b9a\u306e\u3082\u3068\u305d\u308c\u3092\u691c\u51fa\u3057\u3066\u307f\u305f\u3044\u3002 \u3068\u3044\u3046\u3053\u3068\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u305f\u3002 from bisect import bisect_left def find_elem(a, x): 'Locate the leftmost value exactly equal to x' i = bisect_left(a, x) if i != len(a) and a[i] == x: re\u2026","image_url":null,"author_name":"derwind"}