摘要:
Exercise:Softmax Regression习题的链接:Exercise:Softmax RegressionsoftmaxCost.mfunction [cost, grad] = softmaxCost(theta, numClasses, inputSize, lambda, dat... 阅读全文
摘要:
Exercise:PCA and Whitening习题链接:Exercise:PCA and Whiteningpca_gen.m%%================================================================%% Step 0a: Load d... 阅读全文
摘要:
Exercise:PCA in 2D习题的链接:Exercise:PCA in 2Dpca_2d.mclose all%%================================================================%% Step 0: Load data% We... 阅读全文
摘要:
Two Sum II - Input array is sortedGiven an array of integers that is alreadysorted in ascending order, find two numbers such that they add up to a spe... 阅读全文
摘要:
Binary Search Tree IteratorImplement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.Callin... 阅读全文
摘要:
Missing RangesGiven a sorted integer array where the range of elements are [lower, upper] inclusive, return its missing ranges.For example, given [0, ... 阅读全文
摘要:
Exercise:Vectorization习题的链接:Exercise:Vectorization注意点:MNIST图片的像素点已经经过归一化。如果再使用Exercise:Sparse Autoencoder中的sampleIMAGES.m进行归一化,将使得训练得到的可视化权值如下图:更改trai... 阅读全文
摘要:
Exercise:Sparse Autoencoder习题的链接:Exercise:Sparse Autoencoder注意点:1、训练样本像素值需要归一化。因为输出层的激活函数是logistic函数,值域(0,1),如果训练样本每个像素点没有进行归一化,那将无法进行自编码。2、训练阶段,向量化实现... 阅读全文
摘要:
(一)Autoencoders and Sparsity章节公式错误:s2 应为 s3。意为从第2层(隐藏层)i节点到输出层j节点的误差加权和。(二)Support functions for loading MNIST in Matlab文件名错误% Change the filenames if... 阅读全文
摘要:
Factorial Trailing ZeroesGiven an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.Cred... 阅读全文