随笔分类 - 机器学习
摘要:1.KNN 查找距离已知的几个点最近的类型,并返回这个类型进行预测。 如小明在北京,小红在北京,小刚在河南,而我距离小明和小红比小刚近,则我最可能在北京而不是河南 #!/usr/bin/env python # -*- coding: utf-8 -*- # @File : KNN近邻算法.py #
阅读全文
摘要:#!/usr/bin/env python # -*- coding: utf-8 -*- # @File : 自实现一个线性回归.py # @Author: 赵路仓 # @Date : 2020/4/12 # @Desc : # @Contact : 398333404@qq.com import
阅读全文
摘要:使用TensorFlow时报错 FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as
阅读全文
摘要:1.代码 1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 # @File : 泰坦尼克号.py 4 # @Author: 赵路仓 5 # @Date : 2020/4/4 6 # @Desc : 7 # @Contact : 398333404
阅读全文
摘要:在代码: config=tf.ConfigProto() sess=tf.compat.v1.Session(config=config) 执行过程中会报错 config=tf.ConfigProto()AttributeError: module 'tensorflow' has no attri
阅读全文
摘要:在进行机器学习的过程中 1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 # @File : TensorFlow入门操作.py 4 # @Author: 赵路仓 5 # @Date : 2020/3/26 6 # @Desc : 7 # @Co
阅读全文
摘要:1.聚类代码: 1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 # @File : 聚类2.py 4 # @Author: 赵路仓 5 # @Date : 2020/3/19 6 # @Desc : 7 # @Contact : 3983334
阅读全文
摘要:地址:https://blog.csdn.net/weixin_43242897/article/details/82832789
阅读全文

浙公网安备 33010602011771号