个人博客:https://luxialan.com

上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: Remove Duplicates from Sorted Array IIFollow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =... 阅读全文
posted @ 2015-03-25 21:20 luxialan 阅读(119) 评论(0) 推荐(0)
摘要: Remove Duplicates from Sorted ArrayGiven a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new lengt... 阅读全文
posted @ 2015-03-25 16:10 luxialan 阅读(117) 评论(0) 推荐(0)
摘要: Binary Tree Preorder TraversalGiven a binary tree, return the preorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 ... 阅读全文
posted @ 2015-03-24 17:04 luxialan 阅读(124) 评论(0) 推荐(0)
摘要: 有了自学算法去提取特征,我们可以进一步扩展模型这个模型是在特征模型的基础上多了一步分类器,这个分类器的引入使得我们可以进一步调整参数。微调(fine-tune)指的的是通过输入有标记的再通过牛顿下降法来调整参数从而减小训练误差什么时候可以使用微调呢?当然是有大量的有标记样本啦。上面这个模型试简单的三... 阅读全文
posted @ 2015-03-20 21:27 luxialan 阅读(213) 评论(0) 推荐(0)
摘要: 要想提高学习类的算法,最简单的方法就是使用更多的数据,但是有标签的数据往往是很难获取的,因此对于无标签的数据的学习,我们有自学习算法和无监督特学习算法。有两类常用的特征学习算法,自学习算法的前提假设是无标签的数据和有标签的数据不一定满足一样的分布,而无监督学习算法的前提假设是两者的分布是一样的。我们... 阅读全文
posted @ 2015-03-20 14:55 luxialan 阅读(201) 评论(0) 推荐(0)
摘要: Remove Duplicates from Sorted ListGiven a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, r... 阅读全文
posted @ 2015-03-03 21:16 luxialan 阅读(108) 评论(0) 推荐(0)
摘要: Partition List TGiven a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You shoul... 阅读全文
posted @ 2015-03-03 21:13 luxialan 阅读(125) 评论(0) 推荐(0)
摘要: Softmax RegressionSoftmax Regression是 Logistic Regression的推广假设我们有训练集Logistic Regression:对于每个特征,标签Softmax Regression:对于每个特征,标签Softmax Regression有一个很特别地... 阅读全文
posted @ 2015-02-28 10:28 luxialan 阅读(189) 评论(0) 推荐(0)
摘要: Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes co... 阅读全文
posted @ 2015-02-17 11:09 luxialan 阅读(114) 评论(0) 推荐(0)
摘要: Gas StationThere are N gas stations along a circular route, where the amount of gas at station i is gas[i].You have a car with an unlimited gas tank a... 阅读全文
posted @ 2015-02-15 11:06 luxialan 阅读(140) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 11 下一页