k_means_kdd.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:dask-ml 作者: dask 项目源码 文件源码
def download():
    p = os.path.join(get_data_home(), "kddcup.data.gz")
    if os.path.exists(p):
        return p
    r = requests.get(URL, stream=True)
    with open(p, "wb") as f:
        for chunk in r.iter_content(chunk_size=1024):
            if chunk:
                f.write(chunk)
    return p
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号