20162314 2017-2018-1 <Program Design & Data Structures>Learning Summary Of The Eleventh Week Summary of Key Concepts In hashing, elements are stored in a hash table, with their location in thetable determined by a hashing function. The situation…
20162314 2017-2018-1 <Program Design & Data Structures>Learning Summary Of The Ninth Week Summary of Key Concepts A heap is a complete binary tree in which each element is greater than or equal to both of its children. Adding an element to a hea…
20162314 2017-2018-1 <Program Design & Data Structures>Learning Summary Of The Seventh Week Summary of Key Concepts A tree is a nonlinear structure whose elements are organized into a hierarchy. The order of a tree specifies the maximum number o…
20162314 2017-2018-1 <Program Design & Data Structures>Learning Summary Of The Fifth Week Summary of Key Concepts A collection is an object that gathers and organizes other objects. Elements in a collection are typically organized by the order o…
20162314 2017-2018-1 <Program Design & Data Structures>Learning Summary Of The Second Week Summary of teaching materials Searching is the process of finding a designated target within a group of items or determining that it doesn't exist. An eff…
20162314 2017-2018-1 <Program Design & Data Structures>Learning Summary Of The First Week Summary of teaching materials Algorithm analysis is the basic project of the computer science. Increasing function prove that the utilization of the time a…
20162314 2017-2018-1 <Program Design & Data Structures>Learning Summary Of The Tenth Week Summary of Key Concepts An undirected graph is a graph where the pairings representing the edges are unordered. Two vertices in a graph are adjacent if the…
20162314 2017-2018-1 <Program Design & Data Structures>Learning Summary Of The Eighth Week Summary of Key Concepts A binary search tree is a binary tree in which, for each node, the elements in the left subtree are less than the parent, and the…
20182320<Program Design and Data Structures>Learning Summary Week9 1.Summary of Textbook's Content 1.1 Chapter 15:Tree 1.1.1 Concept of Tree: 'Tree' is a data sturcture,which is non-linear. It consists of nodes and edges. 1.1.2 Some important concep…
Coursera课程<Python Data Structures> 密歇根大学 Charles Severance Week6 Tuple 10 Tuples 10.1 Tuples Are Like Lists 元组是另外一种序列,它的方法和list挺像的.它的元素也是从0开始计数. >>> x = ('Glenn', 'Sally', 'Joseph') >>> print(x[2]) Joseph >>> y = (1, 9, 2)…
Coursera课程<Python Data Structures> 密歇根大学 Charles Severance Week5 Dictionary 9.1 Dictionaries 字典就像是一个包,而这个包里的每样东西都整整齐齐地贴好了标签,于是我们可以通过标签来找到我们想要的东西.而且注意,字典这个包是无序的,所以它不能根据顺序索引,只能根据标签. >>> purse = dict() >>> purse['money'] = 12 >>…
Coursera课程<Python Data Structures> 密歇根大学 Charles Severance Week4 List 8.2 Manipulating Lists 8.2.1 Concatenating Lists Using + 使用"+"可以把存在的两个list加在一起.如: >>> a = [1, 2, 3] >>> b = [4, 5, 6] >>> c = a + b >>&g…
<Python for Data Analysis>一书由Wes Mckinney所著,中文译名是<利用Python进行数据分析>.这里记录一下学习过程,其中有些方法和书中不同,是按自己比较熟悉的方式实现的. 第四个实例:USDA Food Database 简介:美国农业部(USDA)制作了一份有关食物营养信息的数据 数据下载地址: https://github.com/wesm/pydata-book/tree/2nd-edition/datasets/usda_food 准备…
<Python for Data Analysis>一书由Wes Mckinney所著,中文译名是<利用Python进行数据分析>.这里记录一下学习过程,其中有些方法和书中不同,是按自己比较熟悉的方式实现的. 第三个实例:US Baby Names 1880-2010 简介: 美国社会保障总署(SSA)提供了一份从1880年到2010年的婴儿姓名频率的数据 数据地址: https://github.com/wesm/pydata-book/tree/2nd-edition/data…
<Python for Data Analysis>一书由Wes Mckinney所著,中文译名是<利用Python进行数据分析>.这里记录一下学习过程,其中有些方法和书中不同,是按自己比较熟悉的方式实现的. 第二个实例:MovieLens 1M Data Set 简介: GroupLens Research提供了从MovieLens用户那里收集来的一系列对90年代电影评分的数据 数据地址:http://files.grouplens.org/datasets/movielens/…
<Python for Data Analysis>一书由Wes Mckinney所著,中文译名是<利用Python进行数据分析>.这里记录一下学习过程,其中有些方法和书中不同,是按自己比较熟悉的方式实现的. 第一个实例:1.usa.gov data from bit.ly 简介:2011年,URL缩短服务bit.ly和美国政府网站usa.gov合作,提供了一份从生成.gov或.mil短链接用户那里收集来的匿名数据 数据下载地址:https://github.com/wesm/py…
< python for data analysis >一书的第十章例程, 主要介绍时间序列(time series)数据的处理.label:1. datetime object.timestamp object.period object2. pandas的Series和DataFrame object的两种特殊索引:DatetimeIndex 和 PeriodIndex3. 时区的表达与处理4. imestamp object.period object的频率概念,及其频率转换5. 两种频…
# -*- coding:utf-8 -*-# <python for data analysis>第九章# 数据聚合与分组运算import pandas as pdimport numpy as npimport time # 分组运算过程 -> split-apply-combine# 拆分 应用 合并start = time.time()np.random.seed(10)# 1.GroupBy技术# 1.1.引文df = pd.DataFrame({ 'key1': ['a',…
<利用Python进行数据分析>第七章的代码. # -*- coding:utf-8 -*-# <python for data analysis>第七章, 数据规整化 import pandas as pdimport numpy as npimport time start = time.time()# 1.合并数据集,有merge.join.concat三种方式# 1.1.数据库风格的dataframe合并(merge & join)# merge函数将两个dataf…
<利用python进行数据分析>一书的第五章源码与读书笔记 直接上代码 # -*- coding:utf-8 -*-# <python for data analysis>第五章, pandas基础# 高级数据结构与操作工具 import pandas as pdimport numpy as npimport time start = time.time()# pandas的数据结构, series and dataframe# 1.series,类似一维数据, 一个字典,建立了…
<利用python进行数据分析>第四章的程序,介绍了numpy的基本使用方法.(第三章为Ipython的基本使用) 科学计算.常用函数.数组处理.线性代数运算.随机模块…… # -*- coding:utf-8 -*-# <python for data analysis>第四章, numpy基础# 数组与矢量计算import numpy as npimport time # 开始计时start = time.time() # 创建一个arraydata = np.array([[…
<Software Design中文版01> 基本信息 作者: (日)技术评论社 译者: 苏祎 出版社:人民邮电出版社 ISBN:9787115347053 上架时间:2014-3-18 出版日期:2014 年4月 开本:16开 页码:156 版次:1-1 所属分类:计算机 > 数据库 > 数据库存储与管理 更多关于>>> <Software Design中文版01> 编辑推荐 日本顶级软件开发实践性技术读物 首度全版独家引进   IT业革新进化的 秘…
<利用python进行数据分析>一书的第8章,关于matplotlib库的使用,各小节的代码. # -*- coding:utf-8 -*-import numpy as npimport pandas as pdimport matplotlib.pyplot as pltfrom mpl_toolkits.mplot3d import Axes3Dimport time # 1.matplotlib API入门# 1.1.Figure和Subplot# 创建figure对象fig = pl…
<利用python进行数据分析>第二章的姓名例子,代码.整个例子的所有代码集成到了一个文件中,导致有些对象名如year同时作为了列名与行名,会打印warning,可分不同的part依次运行.所有的作图代码均已注释,按需取消注释即可.用的工具.函数比较多,但是解释不多,后面各章再深入介绍.代码中仅保留了98年-08年的数据,更多数据-https://github.com/wesm/pydata-book # -*- coding:utf-8 -*-# names data set import…
下图为四种不同算法应用在不同大小数据量时的表现,可以看出,随着数据量的增大,算法的表现趋于接近.即不管多么糟糕的算法,数据量非常大的时候,算法表现也可以很好. 数据量很大时,学习算法表现比较好的原理: 使用比较大的训练集(意味着不可能过拟合),此时方差会比较低:此时,如果在逻辑回归或者线性回归模型中加入很多参数以及层数的话,则偏差会很低.综合起来,这会是一个很好的高性能的学习算法.…
<Data Structures and Algorithm Analysis in C>学习与刷题笔记 为什么要学习DSAAC? 某个月黑风高的夜晚,下班的我走在黯淡无光.冷清无人的冲之大道上,同时心里冒出一个强烈的想法:我不要再过这种无休止地加班.整天干着繁重琐碎的事情的生活了!我要回去读书!我要考研!在接下来的一个多月中,我不断在考研和换工作之间徘徊,最后我得出一个结论:我不知道读研好还是换工作好,但我知道把自己感兴趣的知识学好总不会错.数据结构是我们专业大二下学期的一门选修课,但当时正…
按书上练习完,就可以知道日常的用处啦 #!/usr/bin/env python # -*- coding: utf-8 -*- # learn <<Problem Solving with Algorithms and Data Structures>> # Release 3.0 # chengang882 @ 2016-12-20 # 它可以检查常用的语法里,({[]})这些符号是否是正常闭合的 # Completed implementation of a stack AD…
<驾驭Core Data>系列教程综合了<Core Data for iOS>,<Learning Core Data for iOS>,<Core Data Programming Guide>,以及相关的博客资料.共包含14章内容.希望本系列教程能对学习Core Data的iOS开发者有所帮助. 本文由海水的味道编译整理,请勿转载,请勿用于商业用途.       当前版本号:0.0.5  第一章 Core Data概述 Mac OS X 10.4 Tig…
1. 前言 最近重温了<Framework Design Guidelines>. <Framework Design Guidelines>中文名称为<.NET设计规范 约定.惯用法与模式>,简介如下: 数千名微软精锐开发人员的经验和智慧,最终浓缩在这本设计规范之中.与上一版相比,书中新增了许多评注,解释了相应规范的背景和历史,从中你能聆听到微软技术大师Anders Hejlsberg.Jeffrey Richter和Paul Vick等的声音,读来令人兴味盎然. 当…
Vivado HLS初识---阅读<vivado design suite tutorial-high-level synthesis>(6) 1.创建工程与开启GUI 2.调试 查看关于Interface的报告: 应该有4种类型的端口,但目前没有产生done,idle,ready,start这类信号. 综合结果为: 如果: 则综合结果为: 这也就解释了为什么上面会少了一类端口信号.…