自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 收藏
  • 关注

转载 Latex: 修改字体

1、基本命令 rmfamily 选择一种roman (i.e., serifed)字体族 sffamily 选择一种sans serif字体族 ttfamily 选择一种monospaced (“typewriter”)字体族对于每种字体族可以使用下面的申明,选择不同的系列: mdseries 普通 bfseries 加粗和不同的形状: upshape 竖直 slshape 倾斜 itshape ...

2018-06-11 19:45:23 10204

转载 MP算法和OMP算法及其思想

主要介绍MP(Matching Pursuits)算法和OMP(Orthogonal Matching Pursuit)算法[1],这两个算法虽然在90年代初就提出来了,但作为经典的算法,国内文献(可能有我没有搜索到)都仅描述了算法步骤和简单的应用,并未对其进行详尽的分析,国外的文献还是分析的很透彻,所以我结合自己的理解,来分析一下写到博客里,算作笔记。1. 信号的稀疏表示(sparse repr...

2018-05-30 09:42:21 3566

转载 距离计算方法总结

  在做很多研究问题时常常需要估算不同样本之间的相似性度量(Similarity Measurement),这时通常采用的方法就是计算样本间的“距离”(Distance)。采用什么样的方法计算距离是很讲究,甚至关系到分类的正确与否。  本文的目的就是对常用的相似性度量作一个总结。本文目录:1. 欧氏距离2. 曼哈顿距离3. 切比雪夫距离4. 闵可夫斯基距离5. 标准化欧氏距离6. 马氏距离7. 夹...

2018-05-29 15:48:35 834 1

转载 Python: data normalization

method of data normalization点击打开链接

2018-05-04 19:29:11 1334

转载 Python:the meaning of parameter in pandas.reade_csv and write_csv

pandas.read_csv参数整理 读取CSV(逗号分割)文件到DataFrame也支持文件的部分导入和选择迭代更多帮助参见:http://pandas.pydata.org/pandas-docs/stable/io.html参数:filepath_or_buffer : str,pathlib。str, pathlib.Path, py._path.local.LocalPath or a...

2018-05-04 10:51:46 158

转载 Python:the usage of argparse

16.4. argparse — Parser for command-line options, arguments and sub-commandsNew in version 3.2.Source code: Lib/argparse.pyTutorialThis page contains the API reference information. For a more gentle i...

2018-05-04 08:30:21 775

转载 RNN:The Unreasonable Effectiveness of Recurrent Neural Networks

There’s something magical about Recurrent Neural Networks (RNNs). I still remember when I trained my first recurrent network for Image Captioning. Within a few dozen minutes of training my first baby ...

2018-04-13 10:51:15 244

原创 Latex: usage of equation

如何使用equation 书写公式点击打开链接

2018-04-04 19:18:35 118

转载 R里面数字取整相关的操作有一组函数: ceiling ;floor;trunc; round; signif

R里面数字取整相关的操作有一组函数:ceiling ;floor;trunc; round; signifceiling返回对应数字的'天花板'值,就是不小于该数字的最小整数a<-(1,2.5,3.2,3.5,3.6)> ceiling(a)[1] 1 3 4 4 4floor与ceiling相对,返回'地板'值,即不大于该数字的最大值floor(a)[1] 1 2 3 3 3由于一个...

2018-03-30 10:50:01 1382 1

转载 Matlab:random number generation of various distribution

MATLAB产生各种分布的随机数   1,  均匀分布U(a,b):产生m*n阶[a,b]均匀分布U(a,b)的随机数矩阵:unifrnd (a,b,m, n)  产生一个[a,b]均匀分布的随机数:unifrnd (a,b)2,0-1分布U(0,1)产生m*n阶[0,1]均匀分布的随机数矩阵:rand (m, n)产生一个[0,1]均匀分布的随机数:rand4,二类分布binornd(N,P,m...

2018-03-30 08:01:17 507

转载 R:basic usage

https://blog.csdn.net/asongsongsong/article/details/50915303

2018-03-29 18:29:03 111

转载 Kernel Function

8 Kernel Function--核函数收集 Kernel FunctionsBelow is a list of some kernel functions available from the existing literature. As was the case with previous articles, every LaTeX notation for the formulas ...

2018-03-29 16:45:35 400

原创 Matlab: arithmetic of set

intersect:集合交集ismember :是否集合中元素setdiff :集合差集setxor :集合异或(不在交集中的元素)union :两个集合的并unique :返回向量作为一个集合所有元素(去掉相同元素)...

2018-03-28 20:20:46 179

转载 Python:matrix

numpy模块中的矩阵对象为numpy.matrix,包括矩阵数据的处理,矩阵的计算,以及基本的统计功能,转置,可逆性等等,包括对复数的处理,均在matrix对象中。 class numpy.matrix(data,dtype,copy):返回一个矩阵,其中data为ndarray对象或者字符形式;dtype:为data的type;copy:为bool类型。>>> a = np....

2018-03-26 22:36:02 1014

转载 Python: read/write excel

# 读写2003 excelimport xlrdimport xlwt# 读写2007 excelimport openpyxldef write03Excel(path): wb = xlwt.Workbook() sheet = wb.add_sheet("2003测试表") value = [["名称", "价格", "出版社", "语言"], [...

2018-03-09 10:42:36 371

原创 Latex: insert sub-figure in IEEE conference

\begin{figure}[h]\centering \subfloat[ Kolmogorov-Smirnov test]{     \includegraphics[height=3cm,width=4.2cm]{Figure/KS.eps}}  \label{sub:1}\hfill   \subfloat[Anderson-Darling test]{        \includegr...

2018-03-07 16:27:11 390

原创 Latex: position of figure in double column paper

\usepackage{stfloats}\begin{figure*}[htbp]\centering\includegraphics[scale=0.4]{img1.jpg}\caption{This is a non-floating figure}\label{fig_framework}\end{figure*}这样就可以把你的图片按照h-here, t-top, b-bottom,...

2018-03-04 09:51:57 573

转载 Latex: use of table

1. 构造一个多行合并的表格在开头需要加上:\usepackage{multirow} \begin{table}[htb]\centering\begin{tabular}{c|c|c}\hline%&m $\setminus$ $\alpha$ &0.25 &0.10 &0.05 &0.025 &0.01\\&inputs &un...

2018-03-01 15:15:25 197

原创 Python: yield与协程

1.没有显示结果是怎么回事?import os,fnmatch@coroutinedef find_files(target): while True: topdir,pattern=(yield) for path,dirname,filelist in os.walk(topdir): for name in filelis...

2018-02-25 08:48:25 399

原创 Python: 用yield来构造递归函数

1 问题在哪??def getflatten(lists): for s in lists: if isinstance(s,list): for item in getflatten(s): yield item else: yield itemitems=[[1,2,...

2018-02-24 22:02:03 1699 1

原创 Python:闭包

1,使用闭包def countdown(n): def next(): nonlocal n r=n n-=1 return r return nextnext=countdown(1000000)while True: v=next() # print(v) if not v: break...

2018-02-24 09:23:15 175

原创 matlab:draw of bar

bar(data_efast(5,:))ylabel('EFAST')legend('sample=7800')set(gca,'xtick',[1:1:25])set(gca,'ylim',[0 1])set(gca,'xticklabel',label)xtb=get(gca,'xticklabel');xt=get(gca,'xtick');yt=get(gca,'ytick');xtext...

2018-02-11 08:56:50 275

原创 Latex: use of table

1 创建一个表\begin{table}[H]\centering\begin{tabular}{lcccccccc}%字体居中c,靠左l,靠右r\hline&m $\setminus$ $\alpha$ &0.25 &0.10 &0.05 &0.025 &0.01\\ &1  &0.326  &1.225 &1.96...

2018-02-10 15:37:39 408

原创 Latex: use of equation

1.这种方程不带序号\begin{equation*}\begin{split}&\bar{r}_{.j}=\frac{1}{n}\sum_{i=1}^{n}r_{ij}\\&\bar{r}=\frac{1}{nk}\sum_{i=1}^{n}\sum_{j=1}^{k}r_{ij}\\& SS_t=n\sum_{j=1}^{k}(\bar{r}_{.j}-\bar{r})...

2018-02-10 13:30:27 11103

转载 ShareLatex 字体字号设置

1.改变字体\usepackage{txfonts}如果采用粗体应加入\usepackage{bm}\bf 转变为罗马族,直立形状,黑体系列的字体属性。\it 转变为罗马族,斜体形状,中等粗细系列的字体属性。\rm 转变为罗马族,直立形状,中等粗细系列的字体属性,这是默认的字体。\sc 转变为罗马族,小型大写形状,中等粗细系列的字体属性。\sf 转变为无衬线族,

2018-01-30 09:26:03 3007

空空如也

空空如也

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

TA关注的人

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