2017年10月21日

摘要: k-means 是聚类中比较简单的一种。用这个例子说一下感受一下 TensorFlow 的强大功能和语法。 一、 TensorFlow 的安装按照官网上的步骤一步一步来即可,我使用的是 virtualenv 这种方式。 二、代码功能在\([0,0]\) 到 \([1,1]\) 的单位正方形中,随机生成 \(N\) 个点,然后把这 \(N\) 个点聚为 \(K\) 类。最终结果如下,在... 阅读全文
posted @ 2017-10-21 12:10 花老🐯 阅读(2867) 评论(0) 推荐(0) 编辑
摘要: Long-press gestures are continuous. The gesture begins (UIGestureRecognizerStateBegan) when the number of allowable fingers (numberOfTouchesRequired) have been pressed for the specified period (minimu... 阅读全文
posted @ 2017-10-21 10:07 花老🐯 阅读(576) 评论(0) 推荐(0) 编辑

导航