- 博客(116)
- 资源 (11)
- 收藏
- 关注
原创 YouTube-8M 数据集介绍与使用总结
比赛概述YouTube-8M 是谷歌、YouTube共同举办的视频标签比赛,包含大量的视频画面信息、音频信息、标签信息。是用于基于视频内容的标签分析研究的良好素材常用网址比赛官网:https://research.google.com/youtube8m/index.html官方发布视频特征提取代码:https://github.com/google/youtube-8m/tree/master
2017-12-06 17:26:22
18825
4
原创 Farneback 光流算法详解与 calcOpticalFlowFarneback 源码分析
光流基础概念真实的三维空间中,描述物体运动状态的物理概念是运动场。三维空间中的每一个点,经过某段时间的运动之后会到达一个新的位置,而这个位移过程可以用运动场来描述。而在计算机视觉的空间中,计算机所接收到的信号往往是二维图片信息。由于缺少了一个维度的信息,所以其不再适用以运动场描述。光流场(optical flow)就是用于描述三维空间中的运动物体表现到二维图像中,所反映出的像素点的运动向量场。当描
2017-03-08 22:45:15
33131
15
原创 MXNet 中文教程:图像分类
本人对于 MXNet 官方文档的翻译页面: https://github.com/ironyoung/mxnet/blob/master/docs/tutorials/computer_vision/image_classification.md图像分类这个教程中,我们将标签分配给某张图片,同时得到标签符合程度的评分高低。下列图片 (source) 展示了一个例子:https://raw.gith
2017-01-01 21:16:11
6022
原创 【LeetCode从零单刷】Bulb Switcher
题目:There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every third bulb (turning on if it's off or turni
2015-12-19 16:50:27
9126
原创 【LeetCode从零单刷】Convert Sorted List to Binary Search Tree
题目:Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.解答:将一段有序序列转换为平衡二叉树,重要是递归。即中点作为根节点,小于部分作为左子树递归,大于部分作为右子树递归。这里的单链表给 “找中点” 造成了难题,
2015-11-28 21:42:54
971
原创 【LeetCode从零单刷】Reverse Bits
题目:Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as001
2015-11-28 21:19:28
1590
原创 【LeetCode从零单刷】Merge Sorted Array
题目:Given two sorted integer arrays nums1 and nums2, merge nums2 intonums1 as one sorted array.Note:You may assume that nums1 has enough space (size that is greater or equal tom + n) to hol
2015-11-28 21:07:10
1340
1
原创 【LeetCode从零单刷】Kth Largest Element in an Array
题目:Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.For example,Given [3,2,1,5,6,4] and k = 2, retur
2015-11-28 20:55:39
1449
1
原创 【LeetCode从零单刷】Minimum Depth of Binary Tree
题目:Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.解答:非常无聊的一题。需要注意的是:叶子节点是自身不为 N
2015-11-28 20:24:35
1398
1
原创 【LeetCode从零单刷】Perfect Squares
题目:Given a positive integer n, find the least number of perfect square numbers (for example,1, 4, 9, 16, ...) which sum to n.For example, given n = 12, return 3 because12 = 4 + 4 + 4; given
2015-11-28 19:38:52
2156
1
原创 C/C++ 实现 atoi 函数
将一段字符串转换为整数数字,最基本的方法就是使用 atoi 函数。如果让我们自己实现一段 atoi 函数,需要注意的细节比较多。原始版本首先想到的就是字符类型之间的差值。可以直接使用字符相减得到差值。 int myAtoi(char* pstr){ int ans = pstr[0] - '0'; return ans;}看起来好像很简单,但是答案就是这样么?
2015-11-16 15:00:34
3747
原创 【LeetCode从零单刷】Different Ways to Add Parentheses
题目:Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. The valid operators are+, - and *.Example
2015-11-15 22:20:07
934
原创 【LeetCode从零单刷】Intersection of Two Linked Lists
题目:Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists: A: a1 → a2 ↘
2015-11-13 17:54:49
1433
原创 【LeetCode从零单刷】Factorial Trailing Zeroes
题目:Given an integer n, return the number of trailing zeroes in n!.Note: Your solution should be in logarithmic time complexity.解答:n 的阶乘末尾有多少个 0?其实也就是询问结果是10的多少倍数。10 = 2 * 5,因此对每个乘数进行因式分解就好。
2015-11-05 19:07:33
912
原创 【LeetCode从零单刷】Longest Increasing Subsequence
题目:Given 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 increasing subsequence is [2, 3, 7, 101],
2015-11-05 16:45:31
3201
原创 【LeetCode从零单刷】Longest Consecutive Sequence
题目:Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given [100, 4, 200, 1, 3, 2],The longest consecutive elements sequence is [1,
2015-11-04 10:07:34
1499
原创 【LeetCode从零单刷】Search in Rotated Sorted Array I & II
I 题目:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are given a target value to search. If found in the array re
2015-11-02 23:18:12
1533
原创 【LeetCode从零单刷】Game of Life
题目:According to the Wikipedia's article: "The Game of Life, also known simply asLife, is a cellular automaton devised by the British mathematician John Horton Conway in 1970."Given a board w
2015-11-02 21:53:00
1512
原创 【LeetCode从零单刷】Remove Duplicates from Sorted Array I & II
I 题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonce and return the new length.Do not allocate extra space for another array, you must do this in plac
2015-11-02 21:29:36
1428
原创 【LeetCode从零单刷】House Robber
题目:You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacen
2015-11-02 21:03:07
1614
原创 【LeetCode从零单刷】Binary Tree Level Order Traversal I & II
题目:Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree {3,9,20,#,#,15,7}, 3 / \ 9
2015-11-01 10:53:39
810
原创 【LeetCode从零单刷】H-index I & II
题目:Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index.According to the definition of h-index on Wikip
2015-11-01 10:25:25
954
原创 【LeetCode从零单刷】Set Matrix Zeroes
题目:Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.Follow up:Did you use extra space?A straight forward solution using O(mn) space is probabl
2015-11-01 09:38:57
1589
原创 【LeetCode从零单刷】Combinations & Combination Sum 系列
题目:Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.For example,If n = 4 and k = 2, a solution is:[ [2,4], [3,4], [2,3], [1,2], [1,3],
2015-10-31 22:35:41
2688
原创 【LeetCode从零单刷】Search a 2D Matrix I & II
题目:Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from left to right.The first intege
2015-10-30 11:10:10
1271
1
原创 【LeetCode从零单刷】Kth Smallest Element in a BST
题目:Given a binary search tree, write a function kthSmallest to find the kth smallest element in it.Note: You may assume k is always valid, 1 ≤ k ≤ BST's total elements.Follow up:Wh
2015-10-30 10:36:37
1544
1
原创 【LeetCode从零单刷】Symmetric Tree
题目:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ 2 2 / \ / \3 4 4 3
2015-10-29 22:02:12
1268
2
原创 C++从零实现BP神经网络
BP(backward propogation)神经网络实现过程中的一些学习资料、心得,以及最终的源码实现,力求通俗、易懂
2015-10-27 22:50:31
30623
36
原创 Andrew Ng Machine Learning 专题【Large Scale Machine Learning】
此文是斯坦福大学,机器学习界 superstar — Andrew Ng 所开设的 Coursera 课程:Machine Learning 的课程笔记。力求简洁,仅代表本人观点,不足之处希望大家探讨。 课程网址:https://www.coursera.org/learn/machine-learning/home/welcome
2015-10-25 11:48:36
2422
原创 Andrew Ng Machine Learning 专题【Recommender Systems】
此文是斯坦福大学,机器学习界 superstar — Andrew Ng 所开设的 Coursera 课程:Machine Learning 的课程笔记。力求简洁,仅代表本人观点,不足之处希望大家探讨。 课程网址:https://www.coursera.org/learn/machine-learning/home/welcomeWeek 9 前半部分 Anomaly Detection:htt
2015-10-22 22:40:49
3005
原创 Andrew Ng Machine Learning 专题【Anomaly Detection】
此文是斯坦福大学,机器学习界 superstar — Andrew Ng 所开设的 Coursera 课程:Machine Learning 的课程笔记。力求简洁,仅代表本人观点,不足之处希望大家探讨。 课程网址:https://www.coursera.org/learn/machine-learning/home/welcomeWeek 9 后半部分 Recommender Systems:敬
2015-10-22 15:42:01
2760
原创 Andrew Ng Machine Learning 专题【PCA】
此文是斯坦福大学,机器学习界 superstar — Andrew Ng 所开设的 Coursera 课程:Machine Learning 的课程笔记。力求简洁,仅代表本人观点,不足之处希望大家探讨。 课程网址:https://www.coursera.org/learn/machine-learning/home/welcomeWeek 8 前半部分 K-Means:http://blog.c
2015-10-15 16:32:35
3283
原创 【LeetCode从零单刷】Balanced Binary Tree
题目:Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node ne
2015-10-14 21:18:57
1476
原创 【LeetCode从零单刷】Find Peak Element
题目:A peak element is an element that is greater than its neighbors.Given an input array where num[i] ≠ num[i+1], find a peak element and return its index.The array may contain multiple peaks
2015-10-14 20:53:05
1463
原创 【LeetCode从零单刷】Container With Most Water
题目:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and
2015-10-13 23:35:59
755
原创 【LeetCode从零单刷】Rotate Image
题目:You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?解答:一开始想的很复杂,希望找到一个通式应对所有角度的旋转。所有的细节写在《【图像处
2015-10-13 22:13:56
1605
原创 【LeetCode从零单刷】Spiral Matrix II
题目:Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.For example,Given n = 3,You should return the following matrix:[ [ 1, 2, 3 ], [ 8, 9
2015-10-13 21:49:18
1364
SPH 流体动画源代码
2014-11-24
邮箱地址列表语法分析(附实验报告)
2013-01-05
邮箱地址列表词法分析(附实验报告)
2013-01-04
邮箱地址列表词法分析(含实验报告)
2013-01-04
Ubuntu系统安装手册
2012-10-02
计算机网络(谢希仁著,第五版)
2012-09-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人