
python与深度学习
_wx1ng
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python 模块
############## # Modules ############## # a module in Python is a file, which is intended to be imported by other Python # files. Create a module functions.py.... # method 1 import functions functions.say_hello_to("Mike") min, max = functions.min_max(原创 2021-10-21 17:48:14 · 167 阅读 · 0 评论 -
python 文件操作
#################### # file operations #################### # create a file f = open("demo.txt", "w") # w -- create and write f.write("The first line of data.") f.write("The second line of data.") f.close() f = open("demo.txt", "r") # r -- read print原创 2021-10-20 21:29:34 · 167 阅读 · 0 评论 -
numpy_1
numpy 常用方法 numpy简介 NumPy(Numerical Python)是Python的一种开源的数值计算扩展。这种工具可用来存储和处理大型矩阵,比Python自身的嵌套列表(nested list structure)结构要高效的多(该结构也可以用来表示矩阵(matrix)),支持大量的维度数组与矩阵运算,此外也针对数组运算提供大量的数学函数库。 安装numpy: pip3 install --user numpy scipy matplotlib 示例代码 import numpy as原创 2021-10-19 22:11:12 · 305 阅读 · 0 评论