- 博客(23)
- 收藏
- 关注
原创 Windows7 64位,python3.4.3,安装numpy
一、各种折腾最近这两天一直在给python2.7和python3.4安装numpy,找了很多网上的资料都没弄好。而其中又以64位系统尤为麻烦。主要方法有如下两种:1)下载xxx.exe双击安装但是这样子装的时候,老是出错,不能检测到我之前已经安装的python。2)用pip或者easy_install也是各种出问题后来找了半天发现一篇博客的方法简单高效: http:
2015-11-19 20:52:28
5144
原创 LeetCode--------Merge Two Sorted Lists
【题目】 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.【答案】1.解法一:最麻烦的有两点:1)l1、l2理解成数据没有意义的头结点还
2015-01-07 15:51:45
484
原创 Same Tree
【题目】 Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
2015-01-02 21:12:58
488
原创 二分查找
1.递归版本int binarySearch(int a[],int low,int high,int x){ if(low>high)return -1; int mid=(low+high)/2; if(a[mid]==x)return mid; if(a[mid>x]){ return binarySearch(a,low,mid-1,x)
2014-11-13 16:52:40
468
转载 数学之美番外篇:平凡而又神奇的贝叶斯方法
原文地址:http://mindhacks.cn/2008/09/21/the-magical-bayesian-method/
2014-06-24 17:53:44
532
转载 shell快速入门
转自:http://blog.youkuaiyun.com/weinianjie1/article/details/9146367
2014-05-08 20:49:45
603
原创 java.util.zip.ZipException:error in opening zip file
今天遇到这个问题,最开始以为是打包有问题,可是打包方式跟以前一样的,
2014-05-08 20:30:49
3357
原创 颜色聚合向量(CCV)
针对颜色直方图和颜色矩无法表达图像色彩的空间位置的缺点,Pass[9]提出了图像的颜色聚合向量(color coherence vector)。它是颜色直方图的一种演变,其核心思想是将属于直方图每一个bin的像素进行分为两部分:如果该bin内的某些像素所占据的连续区域的面积大于给定的阈值,则该区域内的像素作为聚合像素,否则作为非聚合像素。假设αi与βi分别代表直方图的第i个bin中聚合像素和非聚合
2014-05-06 11:00:45
8070
2
转载 Linux sort命令详解
转自:http://www.cnblogs.com/51linux/archive/2012/05/23/2515299.html
2014-04-18 18:12:22
723
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人