深度学习DeepLearning
跨专业学生从零开始学习深度学习
huangxl1991
本人希望通过计算机技术给生活带来便利,化繁为简,改变生活。
展开
-
【DeepLeaning】2(3)基础-随机数
#coding:UTF-8import randomprint( random.randint(1,10) ) # 产生 1 到 10 的一个整数型随机数 print( random.random() ) # 产生 0 到 1 之间的随机浮点数print( random.uniform(1.1,5.4) ) # 产生 1.1 到 5.4 之间的随机浮点数,区间可以不是整数print( random.choice('tomorrow') ) .原创 2021-08-19 20:06:35 · 148 阅读 · 0 评论 -
【DeepLeaning】2(2)基础-绘制散点图
#coding:UTF-8#导入必要的模块import numpy as npimport matplotlib.pyplot as plt#产生测试数据x = np.arange(1,10)y = xfig = plt.figure()ax1 = fig.add_subplot(111)#设置标题ax1.set_title('Scatter Plot')#设置X轴标签plt.xlabel('X')#设置Y轴标签plt.ylabel('Y')#画散点图ax1.scatter.原创 2021-08-19 20:05:13 · 225 阅读 · 0 评论 -
【DeepLeaning】2(1)基础-计时
#coding: UTF-8#用时比较-向量加法与向量元素循环相加from mxnet import ndfrom time import timea = nd.ones(shape=1000)b = nd.ones(shape=1000)#print(a)start = time()c = nd.zeros(shape=1000)for i in range(1000): c[i] = a[i] + b[i]print(time() - start)start = ti.原创 2021-08-19 20:01:43 · 91 阅读 · 0 评论 -
【DeepLeaning】1入门推荐
《动手学深度学习》http://zh.gluon.ai/index.html照着做,非常好原创 2021-08-19 19:52:23 · 117 阅读 · 0 评论