上一页 1 ··· 170 171 172 173 174 175 176 177 178 ··· 274 下一页
摘要: Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible stri 阅读全文
posted @ 2018-03-14 22:08 bonelee 阅读(423) 评论(0) 推荐(0)
摘要: from:http://blog.csdn.net/xbinworld/article/details/44901865 需要的背景知识 要学习RBM需要的一些基本的统计学习基础,包括贝叶斯定理,随机采样方法(Gibbs sampling)等。这些可以翻阅我之前写的一些博文可以看到相关的介绍,在本文 阅读全文
posted @ 2018-03-14 10:43 bonelee 阅读(1370) 评论(2) 推荐(0)
摘要: 1.初识Auto Encoder1986 年Rumelhart 提出自动编码器的概念,并将其用于高维复杂数据处理,促进了神经网络的发展。自编码神经网络是一种无监督学习算法,它使用了反向传播算法,并让目标值等于输入值,比如 。图1是一个自编码神经网络的示例。 自动编码器(autoencoder) 是神 阅读全文
posted @ 2018-03-14 10:21 bonelee 阅读(6031) 评论(1) 推荐(0)
摘要: 自动编码器是一种有三层的神经网络:输入层、隐藏层(编码层)和解码层。该网络的目的是重构其输入,使其隐藏层学习到该输入的良好表征。 自动编码器的目标是学习函数 h(x)≈x。换句话说,它要学习一个近似的恒等函数,使得输出 x^ 近似等于输入 x。自动编码器属于神经网络家族,但它们也和 PCA(主成分分 阅读全文
posted @ 2018-03-14 10:13 bonelee 阅读(3148) 评论(2) 推荐(0)
摘要: Invert a binary tree. to 解法1: 本质是输的先序遍历 解法2,上述DFS的迭代解法: 解法3,使用BFS: 阅读全文
posted @ 2018-03-13 23:27 bonelee 阅读(203) 评论(0) 推荐(0)
摘要: 拿来主义: 解释如下: timestamp转换为datetime 要把timestamp转换为datetime,使用datetime提供的fromtimestamp()方法: 注意到timestamp是一个浮点数,它没有时区的概念,而datetime是有时区的。上述转换是在timestamp和本地时 阅读全文
posted @ 2018-03-13 12:09 bonelee 阅读(2071) 评论(0) 推荐(0)
摘要: Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Note: The input array will only contain 0 and 1. The length 阅读全文
posted @ 2018-03-12 23:20 bonelee 阅读(189) 评论(0) 推荐(0)
摘要: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l 阅读全文
posted @ 2018-03-12 22:43 bonelee 阅读(233) 评论(0) 推荐(0)
摘要: Given two integers L and R, find the count of numbers in the range [L, R] (inclusive) having a prime number of set bits in their binary representation 阅读全文
posted @ 2018-03-11 22:48 bonelee 阅读(416) 评论(0) 推荐(0)
摘要: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime comple 阅读全文
posted @ 2018-03-11 22:08 bonelee 阅读(185) 评论(0) 推荐(0)
上一页 1 ··· 170 171 172 173 174 175 176 177 178 ··· 274 下一页