2019年1月13日

numpy.bincount()

摘要: "numpy.bincount详解" numpy.bincount(x, weights=None,minlength=0) 参数中要求x是一个array_like,一维的并且包含非负整数。 可以看到np.bincount(x)的元素个数比起x中的最大值10大1。bincount=np.bincou 阅读全文

posted @ 2019-01-13 17:26 Frank_Allen 阅读(249) 评论(0) 推荐(0) 编辑

非负矩阵分解的两种方法简析

摘要: 一、使用非负最小二乘法 "Non negative matrix factorisation using non negative least squares" 问题 给定一个矩阵$A$,将其分解成两个非负的因子: $$ A_{M \times N} \approx W_{M \times K} \ 阅读全文

posted @ 2019-01-13 15:35 Frank_Allen 阅读(2500) 评论(0) 推荐(0) 编辑

导航