随笔分类 - 工具箱--python
摘要:import argparse import json ,shutil import os,sys import xml.etree.ElementTree as ET parent = os.path.dirname(os.path.realpath(__file__)) gadent = os.
阅读全文
摘要:https://mp.weixin.qq.com/s/h0XbcHQP_d_C2a0NpAn9Hw 期研究了一下以图搜图这个炫酷的东西。百度和谷歌都有提供以图搜图的功能,有兴趣可以找一下。当然,不是很深入。深入的话,得运用到深度学习这货。Python深度学习当然不在话下。 这个功能最核心的东西就是怎
阅读全文
摘要:#举个栗子如下: x_vals = np.linspace(0, 10, 5) #print(x_vals) [ 0. 2.5 5. 7.5 10. ] 1 2 3 4 #转化数组为矩阵 x_vals_column = np.transpose(np.matrix(x_vals)) #print(x
阅读全文