文章分类 -  python

python相关的内容
摘要:1 #!/usr/bin/env python 2 # -*- encoding: utf-8 -*- 3 ''' 4 @File : dft_test.py 5 @Time : 2023/08/02 08:49:41 6 @Author : qfr 7 @Version : 1.0 8 @Cont 阅读全文
posted @ 2023-08-02 09:53 博客园—哆啦A梦 阅读(15) 评论(0) 推荐(0) 编辑
摘要:1 #!/usr/bin/env python 2 # -*- encoding: utf-8 -*- 3 ''' 4 @File : test.py 5 @Time : 2022/09/07 15:04:59 6 @Author : qfr 7 @Version : 1.0 8 @Contact 阅读全文
posted @ 2022-09-07 15:23 博客园—哆啦A梦 阅读(211) 评论(0) 推荐(0) 编辑
摘要:参考链接 在 Python 中做最优化计算,有哪些值得推荐的包或模块? 哪些 Python 库让你相见恨晚? Python 凸优化笔记 Python:安装cvxpy,进行凸优化 Python:安装cvxpy,进行凸优化 阅读全文
posted @ 2022-05-06 10:14 博客园—哆啦A梦 阅读(519) 评论(0) 推荐(0) 编辑
摘要:参考链接 Python协程详解 python使用协程并发 进程、线程和协程的理解 进程、线程和协程之间的区别和联系 python 异步IO(asyncio)协程 Python中协程异步IO(asyncio)详解 深入理解Python异步编程(上) Python协程与asyncio 阅读全文
posted @ 2022-02-10 10:45 博客园—哆啦A梦 阅读(13) 评论(0) 推荐(0) 编辑
摘要:参考链接 深入理解 Matplotlib 3D 绘图函数 plot_surface 的 rstride 和 cstride 参数 python绘制三维图 阅读全文
posted @ 2022-01-25 11:44 博客园—哆啦A梦 阅读(40) 评论(0) 推荐(0) 编辑
摘要:如何在Python中让两个print()函数的输出打印在一行内? 1.两个连续的print()函数为什么在输出时内容会分行显示? 解:print()中有两个默认参数sep和end,其中sep是代替分隔符,end是代替末尾的换行符,默认使用‘,’代替空格,且默认末尾加上换行符,end函数用来定义一行输 阅读全文
posted @ 2022-01-19 15:16 博客园—哆啦A梦 阅读(368) 评论(0) 推荐(0) 编辑
摘要:参考链接: python struct.pack用法(转) Python 读写文件的二进制数据 阅读全文
posted @ 2022-01-10 18:43 博客园—哆啦A梦 阅读(26) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/MCYZSF/article/details/116525159 使用conda管理python环境和包 使用conda管理python环境 读取mnist数据集方法大全(train-images-idx3-ubyte.gz,train-labels.id 阅读全文
posted @ 2021-12-17 16:52 博客园—哆啦A梦 阅读(51) 评论(0) 推荐(0) 编辑
摘要:参考链接 Python并发编程系列之多线程 Python线程池及其原理和使用(超级详细) python模块的导入以及模块简介 阅读全文
posted @ 2021-12-08 10:52 博客园—哆啦A梦 阅读(20) 评论(0) 推荐(0) 编辑
摘要:python中Scipy模块求取积分的方法: SciPy下实现求函数的积分的函数的基本使用,积分,高等数学里有大量的讲述,基本意思就是求曲线下面积之和。 其中rn可认为是偏差,一般可以忽略不计,wi可以视为权重。 在SciPy里提供了很多的求各类积分的函数,依据传入参数的不同可以分为两类:一类是传入 阅读全文
posted @ 2021-11-30 14:01 博客园—哆啦A梦 阅读(1994) 评论(0) 推荐(0) 编辑
摘要:GitHub地址: https://github.com/aewallin/allantools 安装及使用方法见上述链接 测试结果: 阅读全文
posted @ 2021-11-12 16:46 博客园—哆啦A梦 阅读(583) 评论(0) 推荐(0) 编辑
摘要:仿真代码: if __name__ == '__main__': noise = [] P_noise = 10 for num in range(0,100000): # 迭代 10 到 20 之间的数字 noise.append(np.sqrt(P_noise / 2) * complex(np 阅读全文
posted @ 2021-11-08 16:35 博客园—哆啦A梦 阅读(248) 评论(0) 推荐(0) 编辑
摘要:https://datalore.jetbrains.com/TNIEZdinl3v7ICxkXu4j9U/ia8MuEnxjmigmEmqVynCib/notebooks/rRudOwuyjJgwVNOaGn8Aw6 python之jupyter安装与使用 Python报错pip._vendor. 阅读全文
posted @ 2021-10-22 17:49 博客园—哆啦A梦 阅读(51) 评论(0) 推荐(0) 编辑
摘要:# This is a sample Python script. import sys import re import os def print_hi(name): # Use a breakpoint in the code line below to debug your script. p 阅读全文
posted @ 2021-06-13 11:54 博客园—哆啦A梦 阅读(978) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_33472765/article/details/82940843 https://blog.csdn.net/langb2014/article/details/54798823?locationnum=8&fps=1 阅读全文
posted @ 2021-06-02 15:57 博客园—哆啦A梦 阅读(67) 评论(0) 推荐(0) 编辑
摘要:LeNet-5模型的Python实现 https://zhuanlan.zhihu.com/p/36967486 pytorch实现LeNet5 https://blog.csdn.net/jeryjeryjery/article/details/79426907 手把手教你写一个用pytorch实 阅读全文
posted @ 2021-05-10 09:04 博客园—哆啦A梦 阅读(58) 评论(0) 推荐(0) 编辑
摘要:转自: https://blog.csdn.net/qq_43468807/article/details/105782487 # 示例程序: 利用积分公式 ,求解 期望和方差 from numpy import sin,cos,exp,inf,pi import scipy.integrate a 阅读全文
posted @ 2021-04-27 19:30 博客园—哆啦A梦 阅读(352) 评论(0) 推荐(0) 编辑
摘要:参考链接: 提升Python程序运行效率的方法总结 https://blog.csdn.net/qq_38882327/article/details/89138425?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBl 阅读全文
posted @ 2021-04-21 10:37 博客园—哆啦A梦 阅读(48) 评论(0) 推荐(0) 编辑
摘要:#!/usr/bin/env python3 # -*- coding: utf-8 -*- ' python 读取图像示例小程序 ' \ ' 读取像素点,参考真值, 对比输出统计结果,混淆矩阵 ' __author__ = 'qfr' from sklearn.metrics import con 阅读全文
posted @ 2021-04-14 16:59 博客园—哆啦A梦 阅读(533) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示