自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(60)
  • 资源 (2)
  • 收藏
  • 关注

原创 Tensorflow实战——非线性回归

通过过一个最简单的神经网络(输入层一个神经元,隐藏层10个神经元,输出层1个神经元)来进行非线性回归。import tensorflow as tfimport numpy as npimport matplotlib.pyplot as plt#使用numpy生成200个随机点#从-0.5到0.5生成均匀分布的200个点(一维)[]增加一个维度x_data=np.linspace(...

2018-09-14 10:26:27 503

原创 TensorFlow基础入门概念

1.基本概念TensorFlow是一个开源数据库,用于使用数据流图进行数值计算。图中的节点表示数学运算,而图边表示在它们之间传递的多维数据数组(张量,tensor)。图(graph)来表示计算任务在被称之为会话(Session)的上下文(context)中执行图tensor表示数据使用feed和fetch可以为任意的操作赋值或从其中获取数据图中的一个节点称之为op(opera...

2018-09-12 15:26:53 356

原创 Anaconda jupyter默认目录配置

试过了网上的修改C下的jupyter_notebook_config.py文件以及Anaconda/etc下的jupyter_notebook_config.json都无法成功修改。 最后发现了一个及其简单的方法。 右键打开jupyter的属性 只需将%USERPROFILE%参数改为双引号加上你想要的目录即可成功修改。...

2018-09-11 10:51:16 1131

转载 计算机视觉中,有哪些比较好的目标跟踪算法?(上)

【转】https://www.leiphone.com/news/201711/d5dMai7835B1uAnR.html 第一部分:目标跟踪速览先跟几个SOTA的tracker混个脸熟,大概了解一下目标跟踪这个方向都有些什么。一切要从2013年的那个数据库说起。。如果你问别人近几年有什么比较niubility的跟踪算法,大部分人都会扔给你吴毅老师的论文,OTB50和OTB100(OTB50这里...

2018-08-06 20:37:57 516

原创 OpenStack初步学习(三)

OpenStack初步学习(三)(1) iso和qcow2、img格式的区别IMG是一种文件压缩格式(archive format),主要是为了创建磁盘的映像文件(disk image),它可以用来压缩整个磁盘(通常指软磁盘,Floppy Disk或Diskette)或整片光盘的内容,使用”.IMG”这个扩展名的文件就是利用这种文件格式来创建的。.IMG这个文件格式可视为.ISO格式的...

2018-07-12 19:21:28 4610

原创 OpenStack初步学习(二)

a. openstack网络分类 - OpenStack的网络主要有两类,内部网络和外部网络。其中,内部网络包括管理网络和数据网络,外部网络包括互联internet网络和API管控网络。管理网络:用于OpensStack内部各组件之间的互联。”Used for internal communication between OpenStack components. The IP add...

2018-07-12 19:20:09 302

原创 OpenStack初步学习(一)

OpenStack初步学习(一)a.基本概念  OpenStack是Rackspace和NASA共同发起的开源项目,是一系列开源软件项目的组合。  OpenStack是基础设施(IaaS)资源的系统管理平台,是开源的云计算平台,按需分配资源。  OpenStack由python语言开发,可以单独运行,不会存在单点故障,但安装较为复杂。  通常OpenStack由许多硬件节点组合...

2018-07-12 19:18:45 378

原创 云桌面相关背景知识学习

云桌面相关背景知识VDI Virtual Desktop Infrastructure 虚拟桌面基础架构虚拟桌面架构采用“集中计算,分布显示”的原则,通过虚拟化技术,将所有客户端的运算合为一体,在企业数据中心内进行集中处理,而桌面用户采用瘦客户端或专用小型终端机的方式,仅负责输入输出与界面显示,不参与任何计算和应用。顾名思义,“虚拟桌面”即用户所访问的桌面不是其真正意义上的PC端桌...

2018-07-12 19:14:39 4670

原创 OpenStack:Nova基础学习

Nova组件一、Nova简介二、Nova核心三、Nova工作流程四、Nova-scheduler的基本设计思路 Nova简介 Nova是OpenStack云中的计算组织控制器。支持OpenStack云中实例(instances)生命周期的所有活动都由Nova处理。这样使得Nova成为一个负责管理计算资源、网络、认证、所需可扩展性的平台。功能和特点:实例生命周期管理...

2018-07-12 19:12:06 10968

原创 利用docker-compose部署springboot项目

从之前的文章我们知道部署一个Springboot项目可能需要连接到一个mysql容器和redis容器,上一次我是利用命令行–link将不同的容器连接在了一起。Docker提供了Dockerfile让用户管理一个单独的应用容器;同时提供了Compose 允许用户在一个模板(YAML 格式)中定义一组相关联的应用容器(被称为一个 project,即项目),例如一个 Web 服务容器再加上后端的数据...

2018-07-05 01:06:01 2898

原创 Nodejs的Docker部署

1. Nodejs项目Docker部署Dockerfile文件FROM nodeRUN mkdir -p /home/serviceWORKDIR /home/service# Bundle app sourceCOPY . /home/serviceRUN npm installEXPOSE 80CMD [ "npm", "start"

2018-07-04 23:50:57 1100

原创 背包问题

背包问题一、0-1背包问题特点:容量为V的背包,和一些物品,物品的属性有体积w和价值v,每种物品只有一个,要求用这个背包装下尽可能多的物品,求物品的最大价值和。dp[i][j]表示在总体积不超过j的情况下,前i个物品所能达到的最大价值。dp[i][j] = max{dp[i-1][j-w]+v, dp[i-1][j]}#include<stdio.h>#defi...

2018-06-28 13:10:46 181

原创 动态规划(DP)

经典的动态规划问题一、递推求解经典的动态规划问题一、递推求解首先要确定递推规则,确定几个规模较小的问题答案,然后考虑如何有这几个规模较小的答案推得后面的答案。...

2018-06-27 22:17:15 145

原创 Springboot项目集成Docker的部署

一、准备工作1.安装docker apt-get install docker apt install docker.io2.启动dockerservice docker start设置docker开机自启动systemctl enable docker3.按照上一篇博客完成springboot项目jar包的生成二、部署springboot...

2018-06-27 20:11:32 546

转载 Dockerfile文件的编写

Dockerfile 指令详解1 FROM 指定基础镜像FROM 指令用于指定其后构建新镜像所使用的基础镜像。FROM 指令必是 Dockerfile 文件中的首条命令,启动构建流程后,Docker 将会基于该镜像构建新镜像,FROM 后的命令也会基于这个基础镜像。FROM语法格式为:FROM <image>1或FROM <image>:<...

2018-06-26 21:55:45 1031

原创 BCE模式学习笔记

回忆:类图:描述系统内部的静态结构。用例图:表示外部对象(参与者)与系统之间的互动,描述系统外部行为序列图:表示系统内部一小群对象之间互动,即在参与者互动执行某一个用例的执行期间系统内部的运作情况BCE模式(Boundary-Control-Entity Patterns)序列图关联了类图和用例图两方面,可通过BCE模式来确定序列图。使用BCE模式可以降低绘制用例序列图的难...

2018-06-26 15:54:26 6211

原创 Docker入门

Docker简介Docker是一套轻量级操作系统虚拟化解决方案,由go语言编写。它基于Linux容器技术(LXC),Namespace,Cgroup,UnionFS(联合文件系统)等技术。Docker 目前支持的 Union 文件系统种类包括 AUFS, btrfs, vfs 和 DeviceMapper。Dockrt核心工具链: Docker Engine 核心功能 创建I...

2018-06-26 15:30:55 169

原创 初识SpringBoot

一、简介Spring Boot是有Pivotal团队提供的全新框架,其设计目的是用来简化Spring应用的初始搭建以及开发过程。该框架使用了特定的方式来进行配置,从而使开发人员不再需要定义样板化的配置,我们也可以称它为SpringMVC框架的精简版。它最大的优点就是摆脱了Spring框架中各种复杂的配置,同时继承了大量常用的第三方库配置,开发人员在使用的时候只需要少量的配置代码,可以进行快速、...

2018-06-26 15:04:56 173

原创 简单的表达式求值

#include<iostream>#include<stack>#include<string>#include<stdlib.h>using namespace std;/*#include <iomanip>cout<<setiosflags(ios::fixed)<<setprecision

2018-06-26 15:01:02 190

原创 括号匹配问题

#include<iostream>#include<stack>#include<string>using namespace std;int main() { stack<int> stack; string s; int flag[101] = {0}; //while(scanf("%s", str) ...

2018-06-26 15:00:09 95

转载 STL容器区别: vector list deque set map-底层实现

STL容器区别: vector list deque set map-底层实现在STL中基本容器有: vector、list、deque、set、mapset 和map都是无序的保存元素,只能通过它提供的接口对里面的元素进行访问set:集合, 用来判断某一个元素是不是在一个组里面,使用的比较少map:映射,相当于字典,把一个值映射成另一个值,如果想创建字典的话使用它好了底...

2018-05-16 21:26:15 329 1

原创 算法第18周Climbing Stairs[easy]

DescriptionYou are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?Note: Given n will

2018-01-07 23:57:59 146

原创 算法第17周第8周课后习题

8.3题目描述:Stingy SAT is the following problem: given a set of clauses(each a disjunction of literals) and an integer k, find a satisfying assignment in which at most k variables are true, if such an assi

2017-12-31 11:10:21 206

原创 算法第16周Jump Game II[hard]

DescriptionGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Your goal

2017-12-24 16:09:56 166

原创 算法第16周Jump Game[medium]

DescriptionGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Determine

2017-12-24 15:51:36 134

原创 算法第16周Maximum Subarray[easy]

DescriptionFind the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [-2,1,-3,4,-1,2,1,-5,4], the contiguous subarray [4,-1,2

2017-12-24 11:14:44 142

原创 算法第15周Wildcard Matching[hard]

DescriptionImplement wildcard pattern matching with support for ‘?’ and ‘*’.'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should c

2017-12-17 19:21:07 173

原创 算法第15周Find K-th Smallest Pair Distance[hard]

DescriptionGiven an integer array, return the k-th smallest distance among all the pairs. The distance of a pair (A, B) is defined as the absolute difference between A and B.Example 1:Input:nums = [1,

2017-12-16 00:12:28 564

原创 算法第15周Count and Say[easy]

DescriptionThe count-and-say sequence is the sequence of integers with the first five terms as following:1. 12. 113. 214. 12115. 1112211 is read off as “one 1” or 11. 11 is rea

2017-12-15 21:44:17 132

原创 算法第14周Unique Paths II[medium]

DescriptionFollow up for “Unique Paths”:Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 respectively in the

2017-12-06 23:43:09 137

原创 算法第14周Unique Paths[medium]

DescriptionA robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reac

2017-12-06 23:30:58 158

原创 算法第13周Longest Valid Parentheses[hard]

DescriptionGiven a string containing just the characters ‘(’ and ‘)’, find the length of the longest valid (well-formed) parentheses substring.For “(()”, the longest valid parentheses substring is “()”

2017-12-02 23:28:26 131

原创 算法第12周Regular Expression Matching[hard]

DescriptionImplement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The matching should cover the entire in

2017-11-23 17:17:40 121

原创 算法第12周Delete Operation for Two Strings[Medium]

DescriptionGiven two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same, where in each step you can delete one character in either string.Example 1:Input:

2017-11-23 15:40:30 124

原创 算法第11周Palindromic Substrings[medium]

DescriptionGiven a string, your task is to count how many palindromic substrings in this string.The substrings with different start indexes or end indexes are counted as different substrings even they

2017-11-18 00:27:09 166

原创 算法第10周01 Matrix[medium]

算法第10周01 Matrix[medium]DescriptionGiven a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell.The distance between two adjacent cells is 1. Example 1: Input:0 0 00 1 00 0

2017-11-12 21:07:32 139

原创 算法第九周Course Schedule[medium]

Course Schedule[medium]DescriptionThere are a total of n courses you have to take, labeled from 0 to n - 1.Some courses may have prerequisites, for example to take course 0 you have to first take cours

2017-11-02 22:16:50 176

原创 算法第九周Edit Distance[hard]

Edit Distance[hard]DescriptionGiven two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You have the following 3 operat

2017-10-31 22:23:25 215

原创 算法第八周Number of Longest Increasing Subsequence[medium]

Number of Longest Increasing Subsequence[mediumDescriptionGiven an unsorted array of integers, find the number of longest increasing subsequence.Example 1:Input: [1,3,5,4,7]Output: 2Explanation: The

2017-10-25 21:01:06 230

原创 算法第八周Longest Increasing Subsequence[medium]

Longest Increasing Subsequence[medium]DescriptionGiven an unsorted array of integers, find the length of longest increasing subsequence.For example, Given [10, 9, 2, 5, 3, 7, 101, 18], The longest in

2017-10-25 20:50:34 147

中山大学软件测试之集成、确认测试

这个pdf介绍了关于集成测试的步骤方法等和确认测试的简单过程。

2018-05-29

中山大学软件测试之单元测试课件

这个课件介绍了软件测试之单元测试,讲述了单元测试特点、方法、模块接口测试、局部数据结构测试等等

2018-05-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除