摘要:
问题描述 lf = lambda x: ((1 + math.cos(x * math.pi / 30)) / 2) * (1 - 0.01) + 0.01 x = np.arange(1,30,1) plt.plot(x, lf(x)) plt.show() 如上所示代码,在执行到lf(x)时会报 阅读全文
摘要:
描述 数据集来自http://www.cs.toronto.edu/~kriz/cifar.html python版,下载后解压缩: 然后在该目录下执行python,运行后效果: 代码 import pickle import numpy as np import os import cv2 def 阅读全文
摘要:
问题描述 数据库名为dts-shop,赋权限时出现上述错误 GRANT ALL privileges ON dts-shop.* TO 'dtsshop'@'%'; 再确认各种因素后感觉是数据库名不太符合规范,一查果然是,-属于mysql特殊字符,还有像 + - * \ & <> @ !% 也是,所 阅读全文