11 2019 档案

摘要:Numpy 常用API学习(全) 一、介绍 NumPy(Numerical Python) 是 Python 语言的一个扩展程序库,支持大量的维度数组与矩阵运算,此外也针对数组运算提供大量的数学函数库。 NumPy 的前身 Numeric 最早是由 Jim Hugunin 与其它协作者共同开发,20 阅读全文
posted @ 2019-11-30 16:42 SteveYu 阅读(631) 评论(0) 推荐(0)
摘要:Anaconda配置清华源 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.ts 阅读全文
posted @ 2019-11-30 03:47 SteveYu 阅读(9059) 评论(0) 推荐(0)
摘要:汇编(三) [TOC] 一、通用寄存器 AX、BX、CX、DX 1 byte = 8 bit 2 byte = 16 bit 0000 0000 0000 0000 ~ 1111 1111 1111 11111 他们可以各自分为2个8位寄存器 AX = AH AL BX = BH BL CX = C 阅读全文
posted @ 2019-11-27 02:54 SteveYu 阅读(1437) 评论(0) 推荐(0)
摘要:汇编(二)——基础知识 [TOC] 一、内存编号为什么是从0开始的 CPU存放一部分指令和数据 内存 内存条 内存条是内存的一部分 指令和数据在内存中是没有任何区别的 CPU要从内存条中读取指令和数据怎么做? 写入 放回到内存中 拆机箱 CPU和内存条都是插在一块主板上 CPU和内存条之间联系 需要 阅读全文
posted @ 2019-11-25 23:43 SteveYu 阅读(230) 评论(0) 推荐(0)
摘要:汇编(一)——王爽课程笔记(导学部分) [TOC] 一、安装dos box 安装完毕,将压缩包进行放置D:\ASM下,进行挂载 修改C:\Users\74302\AppData\Local\DOSBox\dosbox 0.74 3.conf文件,后面加上命令,即可。 二、安装gVim 下载,安装即可 阅读全文
posted @ 2019-11-25 03:19 SteveYu 阅读(283) 评论(0) 推荐(1)
摘要:MySQL架构 [TOC] 一、MySQL架构 连接器——管理连接、权限认证 分析器——词法分析、语法分析(AST)抽象语法树 优化器——执行计划、索引选择 执行器——操作引擎、返回结果 存储引擎——存储数据,提供读写接口 8.0版本之后,舍弃了查询缓存功能 二、连接器 连接器负责跟客户端建立连接, 阅读全文
posted @ 2019-11-17 20:45 SteveYu 阅读(327) 评论(0) 推荐(0)
摘要:索引科普 1.索引是存储在磁盘中的,不是存储在内存中的,索引一定会持久化磁盘 2.我们的电脑持久化存储采用磁盘,磁盘有磁道,磁道有磁头,磁头的移动是进行读取的过程,磁头移动快慢就是读取的快慢 3.由1968年P.Denning研究发现,对程序执行有以下特性 局部性原理 程序和数据访问都有聚集成群的倾 阅读全文
posted @ 2019-11-17 19:49 SteveYu 阅读(364) 评论(0) 推荐(0)
摘要:数据库连接池,DBUtil的模板,Druid使用(重点) 一、DBUtil模板 二、数据库连接池 数据库连接池是为了减少频繁开关连接的时间,分析应该具备几个属性 1.初始大小 2.每次扩容大小 3.连接池最大个数 4.空闲连接死亡时间 各种数据库连接池 DBCP C3P0 Druid hikariC 阅读全文
posted @ 2019-11-17 15:43 SteveYu 阅读(269) 评论(0) 推荐(0)
摘要:机器学习——一元线性回归(二) [TOC] 一、回归背景(Regression Background) 回归最早由Francis Galton提出,他还是著名生物学家,进化论奠基人Charles Darwin的表弟。Galton受进化论的影响,把该思想进行人类研究,从一串角度解释个体差异形成的原因。 阅读全文
posted @ 2019-11-12 01:33 SteveYu 阅读(387) 评论(0) 推荐(0)
摘要:机器学习——基础概念(一) [TOC] 参考Bilibili课程AIMOOC av37947862 一、概要 Frank Vincent Zappa said, "Information is not knowledge. Knowledge is not wisdom. Wisdom is not 阅读全文
posted @ 2019-11-11 21:57 SteveYu 阅读(248) 评论(0) 推荐(0)
摘要:MySQL、Oracle、PostgreSQL、DB2、Microsoft SQL Server 常用数据库,整理来源:连老师PPT 阅读全文
posted @ 2019-11-10 13:24 SteveYu 阅读(285) 评论(0) 推荐(0)
摘要:<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the 阅读全文
posted @ 2019-11-07 22:09 SteveYu 阅读(370) 评论(0) 推荐(0)
摘要:The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elev 阅读全文
posted @ 2019-11-06 16:52 SteveYu 阅读(129) 评论(0) 推荐(0)
摘要:Look-and-say sequence is a sequence of integers as the following: D, D1, D111, D113, D11231, D112213111, ... where D is in [0, 9] except 1. The (n+1)s 阅读全文
posted @ 2019-11-06 16:42 SteveYu 阅读(154) 评论(0) 推荐(0)
摘要:The basic task is simple: given N real numbers, you are supposed to calculate their average. But what makes it complicated is that some of the input n 阅读全文
posted @ 2019-11-06 16:28 SteveYu 阅读(172) 评论(0) 推荐(0)
摘要:Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [+- 阅读全文
posted @ 2019-11-06 14:58 SteveYu 阅读(129) 评论(0) 推荐(0)
摘要:People often have a preference among synonyms of the same word. For example, some may prefer "the police", while others may prefer "the cops". Analyzi 阅读全文
posted @ 2019-11-06 14:15 SteveYu 阅读(140) 评论(0) 推荐(0)
摘要:#include <iostream> #include <regex> using namespace std; int main() { string str; getline(cin,str); for(int i=0;i<str.length();i++) str[i]=tolower(st 阅读全文
posted @ 2019-11-06 13:25 SteveYu 阅读(324) 评论(0) 推荐(0)
摘要:A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published years 阅读全文
posted @ 2019-11-06 09:33 SteveYu 阅读(176) 评论(0) 推荐(0)
摘要:Spark(三)角色和搭建 [TOC] 一、Spark集群角色介绍 详见 "JerryLead" / "SparkInternals" ,他的图解介绍能清晰的讲清楚Spark集群 二、集群的搭建 2.1.架构(图片来源,Spark官网) 一个Driver Program含有一个SparkContex 阅读全文
posted @ 2019-11-05 09:55 SteveYu 阅读(305) 评论(0) 推荐(0)
摘要:数据库学习(四)——事务处理 @[toc] 一、事务简介 1.正常的commit,自动提交 2.rollback 3.事务的ACID特性 4.事务的特性中,哪个是最关键的? 所有特性,都是为了保证一致性,一致性是最终的追求。 一致性是通过原子性,隔离性,持久性保证的。 5.锁的机制: 为了解决并发访 阅读全文
posted @ 2019-11-04 13:44 SteveYu 阅读(494) 评论(0) 推荐(0)
摘要:数据库学习(三)多表联查 @[toc] 一、99语法 Oracle学习(二)中我们学习了92语法,现在我们学习一下99语法 sql 1999语法 1.1.cross join 笛卡尔积 1.2.natural join 自然连接 当两个表不具有相同列名,进行cross join,具有相同列名,自动匹 阅读全文
posted @ 2019-11-03 00:06 SteveYu 阅读(593) 评论(0) 推荐(0)