kmeans.py 文件源码

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

项目:MachineLearningPracticePrograms 作者: Subarno 项目源码 文件源码
def parse(x):
    #parse the digits file into tuples of
    digit = loads(x)
    array = np.fromstring(b64decode(digit["data"]),dtype=np.ubyte)
    array = array.astype(np.float64)
    return (digit["label"], array)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号