
机器学习
文章平均质量分 84
机器学习
Charonmomo
这个作者很懒,什么都没留下…
展开
-
综合多份资料的 k-means简述
K-Means基本步骤KMeans算法本身思想比较简单,但是合理的确定K值和K个初始类簇中心点对于聚类效果的好坏有很大的影响。缺点:K的选择需要事先预定。K个初始质心的位置选择对聚类结果和运行时间都有很大影响。不能保证全局最优,可能是局部最优解。来源: https://zhuanlan.zhihu.com/p/149441104k-means优化基于欧几里得距离,K-Means算法需要优化的问题就是,使得簇内误差平方和(within-cluster sum of squared e原创 2021-07-29 21:02:48 · 387 阅读 · 0 评论 -
算法评价指标 - FAR,FRR,ERR (TP/FP/FN/TN)
TP/FP/FN/TNTrue positive: having the condition and tested positive with theconditionFalse positive: not having the condition but tested positive withthe conditionTrue negative: not having the condition and tested negative withthe conditionFa原创 2021-07-23 14:50:06 · 2407 阅读 · 0 评论 -
Windows10 python3.7 安装 facenet
前提1.python环境及tensorflow安装成功2.Anaconda安装好 ,Anaconda安装步骤安装步骤1.下载facenet,https://github.com/davidsandberg/facenet.git2.下载好后解压安装包。3.在自己电脑对应的Anaconda3\Lib\site-packages目录下,新建facenet文件夹4.将下载的fa...原创 2019-08-08 12:40:30 · 656 阅读 · 0 评论 -
tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you'll have setuptools 39.0.1 which is in
问题:安装tensorflow时提示:tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you’ll have setuptools 39.0.1 which is incompatible.产生原因:setuptools 版本太低解决方法:更新setuptools版本 输入pip install --upg...原创 2019-07-30 17:24:56 · 11215 阅读 · 0 评论 -
windows 10 中 tensor flow安装 (pip)
pip安装打开命令框,输入pip3 install tensorflow或更新tensorflow:pip3 install --upgrade tensorflow这里有两个提示:tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you’ll have setuptools 39.0.1 which ...原创 2019-07-30 17:48:43 · 702 阅读 · 0 评论 -
tensorboard的使用
1.在pycharm中运行生成图的代码import tensorflow as tfimport numpy as np## prepare the original datawith tf.name_scope('data'): x_data = np.random.rand(100).astype(np.float32) y_data = 0.3*x_data+0...原创 2019-07-30 22:42:27 · 214 阅读 · 0 评论