• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 262 263 264 265 266 267 268 269 270 ··· 276 下一页

2019年2月8日

吴裕雄 python深度学习与实践(8)
摘要: import cv2 import numpy as np img = cv2.imread("G:\\MyLearning\\TensorFlow_deep_learn\\data\\lena.jpg") img_hsv = cv2.cvtColor(img,cv2.COLOR_BGR2HSV) turn_green_hsv = img_hsv.copy() turn_green_hsv[:... 阅读全文
posted @ 2019-02-08 11:38 吴裕雄 阅读(315) 评论(0) 推荐(0)
 

2019年2月7日

吴裕雄 python深度学习与实践(7)
摘要: import cv2 import numpy as np img = np.mat(np.zeros((300,300))) cv2.imshow("test",img) cv2.waitKey(0) import cv2 import numpy as np img = np.mat(np.zeros((300,300),dtype=np.uint8)) cv2.imshow("te... 阅读全文
posted @ 2019-02-07 22:08 吴裕雄 阅读(302) 评论(0) 推荐(0)
 
吴裕雄 python深度学习与实践(6)
摘要: from pylab import * import pandas as pd import matplotlib.pyplot as plot import numpy as np filePath = ("G:\\MyLearning\\TensorFlow_deep_learn\\data\\dataTest.csv") dataFile = pd.read_csv(filePath,h... 阅读全文
posted @ 2019-02-07 13:28 吴裕雄 阅读(385) 评论(0) 推荐(0)
 
吴裕雄 python深度学习与实践(5)
摘要: import numpy as np data = np.mat([[1,200,105,3,False], [2,165,80,2,False], [3,184.5,120,2,False], [4,116,70.8,1,False], [5,270,150,4,True]... 阅读全文
posted @ 2019-02-07 11:04 吴裕雄 阅读(459) 评论(0) 推荐(0)
 

2019年2月6日

吴裕雄 python深度学习与实践(4)
摘要: import numpy,math def softmax(inMatrix): m,n = numpy.shape(inMatrix) outMatrix = numpy.mat(numpy.zeros((m,n))) soft_sum = 0 for idx in range(0,n): outMatrix[0,idx] = math.exp... 阅读全文
posted @ 2019-02-06 10:37 吴裕雄 阅读(254) 评论(0) 推荐(0)
 

2019年2月5日

吴裕雄 python深度学习与实践(3)
摘要: import threading, time def doWaiting(): print('start waiting:', time.strftime('%S')) time.sleep(3) print('stop waiting', time.strftime('%S')) thread1 = threading.Thread(target = doWaitin... 阅读全文
posted @ 2019-02-05 13:04 吴裕雄 阅读(158) 评论(0) 推荐(0)
 
吴裕雄 python深度学习与实践(2)
摘要: #coding = utf8 import threading,time,random count = 0 class MyThread (threading.Thread): def __init__(self,lock,threadName): super(MyThread,self).__init__(name = threadName) sel... 阅读全文
posted @ 2019-02-05 12:59 吴裕雄 阅读(139) 评论(0) 推荐(0)
 
吴裕雄 python深度学习与实践(1)
摘要: #coding = utf8 import threading,time count = 0 class MyThread(threading.Thread): def __init__(self,threadName): super(MyThread,self).__init__(name = threadName) def run(self): ... 阅读全文
posted @ 2019-02-05 12:43 吴裕雄 阅读(227) 评论(0) 推荐(0)
 

2018年12月26日

吴裕雄 python 机器学习-Logistic(1)
摘要: import numpy as np def loadDataSet(): dataMat = [] labelMat = [] fr = open('D:\\LearningResource\\machinelearninginaction\\Ch05\\testSet.txt') for line in fr.readlines(): lin... 阅读全文
posted @ 2018-12-26 08:48 吴裕雄 阅读(504) 评论(0) 推荐(0)
 

2018年12月25日

吴裕雄 python 熵权法确定特征权重
摘要: 一、熵权法介绍 熵最先由申农引入信息论,目前已经在工程技术、社会经济等领域得到了非常广泛的应用。 熵权法的基本思路是根据各个特征和它对应的值的变异性的大小来确定客观权重。 一般来说,若某个特征的信息熵越小,表明该特征的值得变异(对整体的影响)程度越大,提供的信息量越多,在综合评价中所能起到 的作用也 阅读全文
posted @ 2018-12-25 17:52 吴裕雄 阅读(8299) 评论(0) 推荐(0)
 
上一页 1 ··· 262 263 264 265 266 267 268 269 270 ··· 276 下一页