python
gjf281
这个作者很懒,什么都没留下…
展开
-
Python中的random模块
1、random.shuffle import numpy as np import random a = np.arange(10) print(a) print("----------------------") random.shuffle(a) print(a) https://www.cnblogs.com/yd1227/archive/2011/03/18/1988015.ht...原创 2020-02-05 21:31:02 · 151 阅读 · 0 评论 -
用Python模拟正态分布
import numpy as np # from numpy import pi import matplotlib.pyplot as plt mu, sigma = 2, 0.5 s = np.random.normal(mu, sigma, 1) while 1: v = np.random.normal(mu, sigma, 1) s = np.append(s, v...原创 2020-02-04 16:48:48 · 1939 阅读 · 0 评论 -
python matplotlib 图像显示问题
https://blog.csdn.net/qq_41670192/article/details/80097211 import math import cv2 as cv import matplotlib.pyplot as plt #读取图像,支持 bmp、jpg、png、tiff 等常用格式 img = cv.imread("E:/CV/opensource/opencv_c...原创 2020-01-27 22:02:52 · 212 阅读 · 0 评论 -
test2
"""network2.py ~~~~~~~~~~~~~~ An improved version of network.py, implementing the stochastic gradient descent learning algorithm for a feedforward neural network. Improvements include the addition o...原创 2019-12-10 23:18:03 · 256 阅读 · 0 评论 -
test
# %load network.py """ network.py ~~~~~~~~~~ IT WORKS A module to implement the stochastic gradient descent learning algorithm for a feedforward neural network. Gradients are calculated using back...原创 2019-12-09 22:44:51 · 144 阅读 · 0 评论 -
python的日志模块
1、python的日志logging模块使用总结 http://outofmemory.cn/code-snippet/450/python-rizhi-logging-module-usage-summary 2、每个 Python 程序员都要知道的日志实践 http://python.jobbole.com/81666/转载 2016-08-14 00:31:07 · 581 阅读 · 0 评论 -
Windows下python+django环境搭建
1、http://jingyan.baidu.com/article/466506580e7d29f549e5f8b6.html 2、http://zccst.iteye.com/blog/1903991转载 2017-04-04 01:01:06 · 985 阅读 · 0 评论 -
Python学习笔记
1、编辑器 sublime或者PyCharm 2、注释 Ctrl+/ 3、一篇文章让你彻底搞清楚Python中self的含义 http://python.jobbole.com/81921/转载 2017-08-18 17:25:32 · 181 阅读 · 0 评论 -
编译Python源代码
转自:http://hgoldfish.com/blogs/article/63/转载 2017-09-07 11:31:34 · 275 阅读 · 0 评论
分享