- 博客(15)
- 资源 (1)
- 收藏
- 关注
原创 基于条件知识库(CKB)的对话问答系统--论文阅读笔记
本文是‘’Learning to Extract Conditional Knowledge for Question Answering using Dialogue‘’论文的阅读笔记。最近开始看QA方面的一些论文,刚入门,很多东西都不太懂,感觉很吃力,慢慢坚持吧==传统的基于知识库(KB)的问答系统,有三元组 (Subject, predicate, Object)组成,缺点在于当前面两者相同但
2017-05-28 20:22:36 4069
原创 leetcode题解-15. 3Sum && 16. 3Sum Closest
15,题目:Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note: The solution set must not contain
2017-05-27 17:07:23 975
原创 leetcode题解-162. 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, in that c
2017-05-22 20:03:56 1287
原创 文本分类实战--从TFIDF到深度学习(附代码)
这几周因为在做竞赛所以没怎么看论文刷题写博客,今天抽时间把竞赛用到的东西总结一下。先试水了一个很小众的比赛–文因互联,由AI100举办,参赛队不足20个,赛题类型是文本分类。选择参赛的主要原因是其不像阿里们举办的竞赛那样,分分钟就干一件事就是特征工程和调参,然后数据又多又乱,不适合入门。其次一个原因就是目前我的研究方向就是NLP,之前也做过一个文本分类的东西,所以就参赛了。这里将主要介绍我在比赛中用
2017-05-21 21:55:45 58390 31
原创 leetcode题解-153. Find Minimum in Rotated Sorted Array && 238. Product of Array Except Self
153, 题目:Suppose an array sorted in ascending order 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).Find the minimum element.You may assume no duplica
2017-05-21 16:47:19 848
原创 leetcode题解-11. 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 (i, 0). Find tw
2017-05-15 11:44:09 782
原创 leetcode题解-31. Next Permutation
题目:Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rearrange it as the lowest possible o
2017-05-13 10:31:48 634
原创 leetcode题解-55. Jump Game && 56. Merge Intervals
55, 题目:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Determine if
2017-05-09 20:15:30 811
原创 使用TensorFlow实现RNN模型入门篇2--char-rnn语言建模模型
这是使用tf实现RNN模型的第二篇,上次用很简单的例子实现了一个简单的RNN用于解释其原理,这次我们开始结合NLP尝试构建一个char-rnn的语言建模模型。和CNN的入门篇一样,我们这里也直接来分析一个github上star很多的项目,这样我们不仅可以学习到一些编程的标准规范,还能够开始我们的RNN-NLP之旅。闲话少说,先来介绍一下此次要实现的char-rnn模型。 这个模型是Andr
2017-05-08 22:04:24 14313 5
原创 leetcode题解-54. Spiral Matrix && 59. Spiral Matrix II
54,题目:Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.For example,Given the following matrix:[ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ]]You sh
2017-05-08 09:23:10 855
原创 leetcode题解-73. Set Matrix Zeroes && 74. Search a 2D Matrix
73,题目:Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A straight forward solution using O(mn) sp
2017-05-05 09:51:17 734
原创 leetcode题解-75. Sort Colors && 442. Find All Duplicates in an Array
75, 题目:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.Here, we will use the integer
2017-05-04 22:02:39 1087
原创 leetcode题解-560. Subarray Sum Equals K
题目:Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k.Example 1:Input:nums = [1,1,1], k = 2Output: 2Note:The length of the
2017-05-04 10:39:25 2736
原创 leetcode题解-566. Reshape the Matrix && 495. Teemo Attacking
566,题目:In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data.You're given a matrix represented by a two-d
2017-05-03 14:07:11 1104
原创 leetcode题解-209. Minimum Size Subarray Sum
题目:Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn't one, return 0 instead.For example, given the arr
2017-05-01 19:10:07 887
echarts地图等相关js文件 源码下载
2017-10-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人