自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 LeetCode--289. Game of Life

LeetCode--289. Game of Life,Finite-state Machine

2016-07-31 19:00:17 205

转载 LeetCode--371. Sum of Two Integers

LeetCode--371. Sum of Two IntegersImplement arithmetic operator without +,-,*

2016-07-31 10:16:14 249

转载 Java Basic Operator

Java Basiv Operator

2016-07-31 09:23:39 187

原创 Machine Learning--Classifying with probability theory: Naive Bayes

Machine Learning--Classifying with probability theory: Naive Bayes

2016-07-31 00:24:40 254

转载 LeetCode--66. Plus One

LeetCode--66. Plus One

2016-07-30 20:02:03 174

原创 LeetCode--373. Find Pairs with Smallest Sums

LeetCode--373. Find Pairs with Smallest Sums

2016-07-30 13:22:43 239

原创 Majority Vote

Majority Vote, sorted(), operator.itemgetter()

2016-07-29 20:04:35 301

原创 文章标题

BasicsID3 AlgorithmGive the wiki link: ID3 Algorithm in WikiInformation Gain

2016-07-29 19:47:28 165

原创 文章标题

Splitting datasets one feature at a time:decision trees

2016-07-29 13:21:31 147

原创 Difference Between List and Tuples

Difference Between List and Tuples

2016-07-28 16:57:49 280

原创 Classifying with K-Nearest Neighbors

KNN classification AlgorithmLet’s see the code directly!def classify0(inX, dataSet, labels, k): dataSetSize = dataSet.shape[0] diffMat = tile(inX, (dataSetSize, 1)) - dataSet sqDiffMat = di

2016-07-28 16:30:25 202

原创 The Difference among size(), length() and length

size(), length() and length

2016-07-28 04:45:33 267

原创 Machine Learning in Action--Contents

1. Machine Learning Basics

2016-07-27 14:42:05 207

原创 1.Machine Learning Basics

Machine Learning Basics

2016-07-27 14:38:57 259

原创 LeetCode--372. Super Pow

LeetCode–372. Super Pow

2016-07-27 09:47:20 396

转载 Naive Bayes

Naive Bayes Classification

2016-07-26 20:13:42 186

原创 LeetCode--Binary Tree Traversal ( Inorder, Preorder, PostOrder)

To start with, i will give the LeetCode Link!94. Binary Tree Inorder Traversal144. Binary Tree Preorder Traversal145. Binary Tree Postorder Traversal  I only solve them with the recursive method

2016-07-26 10:31:58 279

原创 LeetCode--303. Range Sum Query - Immutable

303. Range Sum Query - ImmutableTotal Accepted: 37464Total Submissions: 147649Difficulty: Easy Given an integer array nums, find the sum of the elements between in

2016-07-26 09:31:33 253

原创 LeetCode--11. Container With Most Water

Problem_Source

2016-07-25 14:57:01 148

转载 N-Queens

先来看一下算法思路N皇后问题的两个最高效的算法 看完算法思想和伪代码紧接着来关注真实代码。LeetCode--51. N-Queens

2016-07-25 00:50:28 239

原创 LeetCode--77_Combinations

这里发现一位大神,先附上大神的代码链接,一系列LeetCode写的都很好Code_Ganker

2016-07-24 22:38:57 182

转载 328. Odd Even Linked List

public class Solution { public ListNode oddEvenList(ListNode head) { if(head == null) return head; ListNode oddHead = head,evenHead =head.next; ListNode prevOdd

2016-07-24 20:40:56 207

原创 HDFS

1

2016-07-24 11:06:55 146

原创 MapReduce Main Points

map method in Mapper classreduce method in Reducer classits chief class which will create a job object to manage all these taskMind the combiner function.

2016-07-24 10:49:04 297

原创 Hadoop--The Definitive Book_4th Contents

MapReduce

2016-07-24 10:45:08 288

原创 Reading Books

Hadoop-The Definitive Book_4th

2016-07-24 10:43:10 374

转载 Backtracking Algorithm

Backtracking is a form of recursion.The usual scenario is that you are faced with a number of options, and you must choose one of these. After you make your choice you will get a new set of options;

2016-07-23 13:17:13 409

转载 Leetcode--Some answer Links

Thankful for all the brilliant brains.Though these answer use different code, but they are all excellent.luchaocun

2016-07-23 12:11:10 243

原创 [Python] How to Open Zip File in Host Location.

We know, if we use the requests to open the url of the zip file and open it, obviously, it will take quite a long time.For instancedef getZIP(zipFileName): r = requests.get(zipFileName).conten

2016-07-22 15:20:12 404

转载 Machine Learning Algorithms

I mainly use the python module scikit-learn, a.k.a. sklearn to learn the basic machine learning algorithms.So, this blog is the content of my continuing blogs tends to Machine-Learning Algorithm

2016-07-22 10:59:34 357

原创 Some Powerful Python Tools to Analyze Data

numpy  Portalpandas   Portal以上者两个emphasize on analysis of data.Scipymatplotlib.pylot   Portalstress more on the presentation of the data.

2016-07-21 22:15:02 251

转载 Python中的lambda和Map混合运用

lambda in pythonmap() in pythonBothsosampleinfo["month"] = map(lambda x: x.month, sampleinfo.date)will put all of the sampleinfo.date value to x function, which will get all the mont

2016-07-21 16:23:59 718

原创 Data Type

Nominal(名词性)  == !=Ordinal(序列上的)    ==, !=, >, Quantitative(定量的)   above  ,+ , - Ratio(比例上的): above, x, /

2016-07-21 10:38:31 204

转载 Data Science---Pandas Learning

Portal of 10 minutes to pandas

2016-07-19 22:09:25 263

转载 Use Vim

Portal

2016-07-19 10:16:29 306

转载 Python的多版本如何处理--请使用pyenv

这里,该作者写的很清晰,具体的机制请看原文ClickMe归根溯源的讲,这里ClickHere是github上的英文原版,而且为了简化安装,竟然很贴心的自动化写了一个安装工具,curl一下就可以了。但是,我这里补充英文作者一点,安装完了,会提示WARNING: seems you still have not added 'pyenv' to the load

2016-07-18 21:56:57 871

原创 String的细节

It comes from a problem from LeetCode PortalString s i use the clause that s[i] to get the ith letter in string s. Surely, it's wrong.Because the expression of s[i]  means that the s is an a

2016-07-18 13:09:16 185

翻译 在Ubuntu14.04上安装Hadoop

网上有很多版本,但是有的并不能够实现,最后探索这一篇是绝对可行的。附加网址如下:Portal

2016-07-18 10:33:52 303

转载 Linux如何查看用户组及用户信息

如何查看用户信息:查看用户组信息$ cat /etc/passwd$ cat /etc/group

2016-07-17 19:21:17 435

原创 Ubuntu 14.04 如何将jdk 版本更新为Java8

$ sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install oracle-java8-installer

2016-07-17 19:16:06 593

command.awk

作业代码,仅供助教下载

2016-10-02

及时通信软件

是一款很好的通信软件,适合进行进一步开发应用,极其适合软件入门人员的利用与学习

2014-09-30

空空如也

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

TA关注的人

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