时间:2016-03-28 12:56:39 星期一 题目编号:[2016-03-28][POJ][1458][Common Subsequence] 题目大意:最长公共序列 #include #include #include using namespace std;typedef long lo... ...
分类:
其他好文 时间:
2016-04-01 23:17:16
阅读次数:
234
【题目】 Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. For example: Given the below binary tree, 1 / ...
分类:
其他好文 时间:
2016-04-01 20:34:19
阅读次数:
131
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport"content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable= ...
分类:
Web程序 时间:
2016-04-01 20:23:13
阅读次数:
163
Maximum Product Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest product.
For example, given the array [2,3,-2,4],
the contiguous s...
分类:
编程语言 时间:
2016-03-31 17:02:53
阅读次数:
206
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 i ...
分类:
其他好文 时间:
2016-03-31 09:30:48
阅读次数:
142
Given an array of integers, find two non-overlapping subarrays which have the largest sum.The number in each subarray should be contiguous.Return the ...
分类:
其他好文 时间:
2016-03-30 14:34:53
阅读次数:
173
第6章 逻辑回归与最大熵模型
逻辑回归(logistic regression)是统计学习中的经典分类方法。最大嫡是概率模型学习的一个准则将其推广到分类问题得到最大熵模型(maximum entropy model)。逻辑回归模型与最大熵模型都属于对数线性模型。
6.1 逻辑回归模型
定义6.1(逻辑分布):设X是连续随机变量,X服从逻辑斯谛分布是指
X具有下列分布函数和密度函...
分类:
其他好文 时间:
2016-03-30 13:13:41
阅读次数:
225
Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Example 1: Given ...
分类:
编程语言 时间:
2016-03-30 12:56:33
阅读次数:
249
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. Example Given 4 points: (1,2), (3,6), (0,0), (1,3) ...
分类:
其他好文 时间:
2016-03-30 07:05:45
阅读次数:
150