• Matplotlib(二)—— 子图

      Matplotlib(二)—— 子图

      Python模块 —— Matplotlib Matplotlib(二)—— 子图 Matplotlib 1 四、子图 3 4.1 均匀子图 41 4 4.1.1 plt.subplots 411 pltsubplots 5 4.1.2 plt.subplot 412 pltsubplot 14 ...

      2022-08-05 05:13share16

      阅读更多
    • Matplotlib(一)—— 基础

      Python模块 —— Matplotlib Matplotlib(一)—— 基础 Matplotlib 1 一、Matplotlib Artist Matplotlib Artist 15 1.1 Matplotlib的标准用法 11 Matplotlib 16 1.2 Matplotlib的三...

      2022-08-05 05:13share16

      阅读更多
    • day12函数进阶作业

      1. 写一个匿名函数,判断指定的年是否是闰年 judge leap year = lambda item: '闰' if item % 100 = 0 and item % 4 == 0 or item % 400 == 0 else '平' print judge leap year 1. 写一个...

      2022-08-05 05:13非鱼丶丶

      阅读更多
    • day11-函数作业

      1. 编写一个函数,交换指定字典的key和value。 例如:dict1={'a':1, 'b':2, 'c':3} dict1={1:'a', 2:'b', 3:'c'} def dict exchange dict1 : dict2 = {} for x in dict1: c = dict1 ...

      2022-08-05 05:13非鱼丶丶

      阅读更多
    • 序列基础练习题

      列表基础练习题 选择题 1. 下列选项中能正确表示一个列表的是(D)。 A. {1, 2, 3} B. 10, abc, 123 C. 10 20 30 D. 1, 2, 3 1. (多选)已知一个列表 nums = 10, 20, '小明', 1, 2 ,以下表达式结果是 小明 的是?(CD) ...

      2022-08-05 05:13非鱼丶丶

      阅读更多
    • 学习总结week2_4

      python容器型数据–元组、字符串 一、元组(tuple) 容器型数据: 为标准,多个元素用,隔开 元组是不可变的(不支持增删改);有序的(支持下标操作) 元素没有要求 空元组 – 基本无意义,因为不可变 有一个元素的元组,在表示的时候,唯一元素的后面必须加逗号, t1 = 10, print ...

      2022-08-05 05:13非鱼丶丶

      阅读更多
    • day7-列表作业(1)

      1. 创建一个列表,列表中有10个数字, 保证列表中元素的顺序,对列表进行排重,并对列表使用进行降序排序 例如: 70, 88, 91, 70, 107, 234, 91, 177, 282, 197 去重之后 70, 88, 91, 107, 234, 177, 282, 197 降序排序 282...

      2022-08-05 05:13非鱼丶丶

      阅读更多
    • 学习总结week2_2

      python容器型数据 1.列表的比较运算: ==, =, , , =, = ==, = print 1, 2, 3 == 1, 2, 3 , , =, = 只能两个列表比较 只和第一段不相等的元素的大小有关 print 10, 10000, 364122, 111, 1, 1, 1 10, 2,...

      2022-08-05 05:13非鱼丶丶

      阅读更多
    • 周末作业-循环练习题(2)

      1. 判断101 200之间有多少个素数,并输出所有素数。 count = 0 for num in range 100, 201 : for x in range 2, int num / / 0.5 +1 : if num % x == 0: break else: count += 1 pri...

      2022-08-05 05:13非鱼丶丶

      阅读更多
    • BFC(Block Formatting Context)

      常见定位方案 一、普通流  normal flow 在普通流中,元素按照其在 HTML 中的先后位置至上而下布局,在这个过程中, 行内元素水平排列,直到当行被占满然后换行,块级元素则会被渲染为完整的一个新行, 除非另外指定,否则所有元素默认都是普通流定位,也可以说,普通流中元素的位置由该元素在 H...

      2022-08-05 05:13Ly666_ever

      阅读更多
    • Redux

      Redux Redux 是 JavaScript 状态容器,提供可预测化的状态管理。一般与React一同使用。 Redux使用普通对象存储 state,但是state不能随意被修改。 通过action(普通对象)传递数据变化的载荷,即发生变化的条件(type)和新数据: { type: '', /...

      2022-08-05 05:13@前端攻城狮

      阅读更多
    • 实现跨域的几种方式

      实现跨域的几种方式 1、CORS 跨域资源共享,在后端的响应头中设置 Access Control Allow Origin: / 即可。 2、jsonp jsonp进行跨域的原理: 利用script标签进行网络请求 ,在本地定义好接收数据的函数,然后通过在请求url中添加参数的方式发送本地函数名...

      2022-08-05 05:13@前端攻城狮

      阅读更多
    • ES6 Set、WeakSet

      Set、WeakSet Set Set 对象允许你存储任何类型的 唯一值 ,无论是 原始值 或者是 对象引用 。 Set中的元素只会 出现一次 ,即 Set 中的元素是唯一的。 NaN 和 undefined 都可以被存储在Set 中, NaN 之间被视为相同的值(NaN被认为是相同的,尽管 Na...

      2022-08-05 05:13@前端攻城狮

      阅读更多
    • In Opencv, imag=cv2.cvtColor(imag,cv2.COLOR_BGR2GRAY) error: error:!_src.empty() in function 'cv::cvtColor'

      Opencv, imag=cv2.cvtColor imag,cv2.COLOR BGR2GRAY Error: error: src.empty in function 'cv::cvtColor' Import cv2 path=r'296059.png' imag after skilled ...

      2022-08-05 05:24When you are full, you will be strong

      阅读更多
    • [Let's pass 14] A day in the study room

      [Let's pass 14] A day in the study room

      Record today's plan July 20, 2022 10:58:34 Understand the yolov7 approach OneTab Shared tabs one tab.com tab.com/page/2centdq RbCPK74jGqNRvQ The blog ...

      2022-08-05 05:24Mosu playing computer

      阅读更多
    • 【Over 16】Looking back at July

      It can be divided into four weeks and one week, with daily quizzes, and then finished some courses at the end of June, thinking that I have to force m...

      2022-08-05 05:24Mosu playing computer

      阅读更多
    • 【Reading】Long-term update

      2022.7 Toad goes to see a psychiatrist The Outsider

      2022-08-05 05:25Mosu playing computer

      阅读更多
    • The fourth back propagation back propagation

      The fourth back propagation back propagation

      Class exercise Manually deduce the linear model y=w/ x, under the loss function loss= ŷ y ², when the data set x=2, y=4, the process of backpropagatio...

      2022-08-05 05:25A long way to go

      阅读更多
    • redis persistence

      The rdb and aof persistence strategies can coexist. It is recommended that both persistence strategies use redis to preferentially load the aof file t...

      2022-08-05 05:25value growth

      阅读更多
    • 机器学习(一) —— 机器学习基础

      机器学习(一) —— 机器学习基础

      Python —— 机器学习 机器学习 一 —— 机器学习基础 1 一、数据集 21 1.1 加载数据集 11 22 1.2 划分数据集 12 32 二、特征工程 43 2.1 特征预处理 归一化/标准化 21 46 2.2 特征降维 特征选择/主成分分析/线性判别器 22 76 2.3 特征提取...

      2022-08-05 05:13share16

      阅读更多
  • 猜你喜欢