码迷,mamicode.com
首页 >  
搜索关键字:pandas matplotlib nu    ( 5990个结果
Jquery选择器
今天学习jQuery,看到nth-child(even)用法,特意找了下这个选择器的用法,在CSS3标准中,用法很强大。对此,我把CSS3标准中nth-child()用法大致介绍下:CSS3伪类选择器:nth-child()简单的归纳下nth-child()的几种用法。第一:nth-child(nu...
分类:Web程序   时间:2014-12-23 10:12:48    阅读次数:174
vim操作
:set nu 显示行号:set nonu 不显示行号h,j,k,l 上下左右n空格n回车0,$行首,行尾H,M,L 屏幕上中下G最后nG第几行:! commond 暂时执行commond命令:w filename 另存为:n1,n2 filename 另存为:r filename 读入新文件ZZ ...
分类:系统相关   时间:2014-12-22 17:42:00    阅读次数:204
Map集合总结
Map是双列集合的顶层接口。 Map集合的数据结构仅仅针对键有效,与值无关。 Map集合存储的是键值对形式的元素,键唯一,值可以重复Map集合有HashMap、Hashtable、TreeMap三个常用子类。 1、HashMap底层数据结构是哈希表。线程不安全,效率高。允许使用null键和nu...
分类:其他好文   时间:2014-12-21 23:27:35    阅读次数:245
机器学习 MLIA学习笔记(三)之 KNN(二) Dating可能性实例
这是个KNN算法的另一实例,计算Dating的可能性。import numpy as npimport osimport operatorimport matplotlibimport matplotlib.pyplot as pltdef classify(inX, dataSet, labels...
分类:其他好文   时间:2014-12-21 17:50:01    阅读次数:266
Python matplot画柱状图(一)
图的存在,让数据变得形象化。无论多么复杂的东西,都是简单的组合。1 import matplotlib.pyplot as plt2 import numpy as np3 dict = {'A': 40, 'B': 70, 'C': 30, 'D': 85}4 for i, key in enu....
分类:编程语言   时间:2014-12-20 23:22:47    阅读次数:2311
C++\CLI使用.net委托,*Callback注意"this"
今天在使用c++\cli的时候遇到了点关于委托,callback使用的问题,简单记录一下 首先贴段简单的C#中使用System.Threading.Timer的代码. Timer GameTimer=new Timer(new TimerCallback(this.OnGameTimer),nu.....
分类:编程语言   时间:2014-12-20 18:14:46    阅读次数:233
Prime Generator(spoj)
原题:Prime GeneratorProblem code: PRIME1Peter wants to generate some prime numbers for his cryptosystem. Help him! Your task is to generate all prime nu...
分类:其他好文   时间:2014-12-20 16:45:38    阅读次数:179
Life, the Universe, and Everything(spoj)
原题:Your program is to use the brute-force approach in order tofind the Answer to Life, the Universe, and Everything.More precisely... rewrite small nu...
分类:其他好文   时间:2014-12-19 20:41:37    阅读次数:189
Storyboards Tutorial 04
设计好后运行发现没有任何变化,是空白的。这是因为你的tableview相关的delegate方法还在。所以首先要屏蔽或者删除在PlayerDetailsViewController.m 如下的操作#pragma mark - Table view data source- (NSInteger)nu...
分类:其他好文   时间:2014-12-19 15:41:36    阅读次数:170
Python matplot画散列图
同matlab一样,matplot也可画散列图scatter。 1 import numpy as np 2 import matplotlib.pyplot as plt 3 #fig = plt.figure() 4 #ax = fig.add_subplot(111) 5 a1 = np.ar...
分类:编程语言   时间:2014-12-19 00:21:25    阅读次数:527
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!