Eric Yuan's Blog

Perstando et Praestando

  • About Me

Algorithm

A Simple Deep Network

March 21, 2014 / 37 Comments

During this spring break, I worked on building a simple deep network, which has two parts, sparse autoencoder and softmax regression. The method is exactly the same as the “Building Deep Networks for Classification” part in UFLDL tutorial. For better understanding it, I re-implemented it using C++ and OpenCV.  GENERAL OUTLINE Read dataset (including training data … [Read more…]

Posted in: Algorithm, Machine Learning, OpenCV Tagged: C++, Deep Learning, fine-tune, Machine Learning, MNIST, OpenCV, Softmax, Sparse Autoencoder, UFLDL

[UFLDL Exercise] Convolution and Pooling

March 18, 2014 / 1 Comment

I’m learning Prof. Andrew Ng’s Unsupervised Feature Learning and Deep Learning tutorial, This is the 8th exercise, which is a simple ConvNet with Pooling process. I’ll not go through the detail of the material. More details about this exercise can be found HERE. I’ll try to implement it using C++ and OpenCV if I have time next week.

Posted in: Algorithm, Machine Learning Tagged: ConvNet, Deep Learning, Machine Learning, Pooling, STL-10, UFLDL

Poisson Blending II

March 17, 2014 / 17 Comments

I re-wrote the Poisson Blending code using C++ and OpenCV. About the Algorithm, see my Previous Poisson Blending post. This time, I just used the most stupid way, just solving the Poisson Equation. You can improve it by using advanced methods. About solving discrete Poisson Equation using Jacobi, SOR, Conjugate Gradients, and FFT, read THIS.   In … [Read more…]

Posted in: Algorithm, Maths, OpenCV Tagged: C++, Conjugate Gradients, OpenCV, Poisson blending, Poisson Equation

Softmax Regression (with OpenCV)

March 7, 2014 / 3 Comments

This is the same algorithm with the previous SOFTMAX REGRESSION post. Because I’m going to try to build deeper neural networks for images, so as a review of OpenCV programming, I rewrote the Softmax regression code using OpenCV mat, instead of Armadillo. I used Matlab, Octave, Armadillo a lot these days, it is kind of … [Read more…]

Posted in: Algorithm, Machine Learning, OpenCV Tagged: C++, Deep Learning, Machine Learning, OpenCV, Softmax

[UFLDL Exercise] Implement deep networks for digit classification

March 5, 2014 / 6 Comments

I’m learning Prof. Andrew Ng’s Unsupervised Feature Learning and Deep Learning tutorial, This is the 6th exercise, which is a combination of Sparse Autoencoder and Softmax regression algorithm, and fine-tuning algorithm. It builds a 2-hidden layers sparse autoencoder net and one layer Softmax regression, we first train this network layer by layer, from left to right, then … [Read more…]

Posted in: Algorithm, Machine Learning Tagged: Deep Learning, deep network, Machine Learning, Matlab, MNIST, Softmax, Sparse Autoencoder, UFLDL

[UFLDL Exercise] Self-Taught Learning

March 1, 2014 / 3 Comments

I’m learning Prof. Andrew Ng’s Unsupervised Feature Learning and Deep Learning tutorial, This is the 5th exercise, which is a combination of Sparse Autoencoder and Softmax regression algorithm. It uses the features trained by sparse autoencoder as training input of Softmax regression, and builds a classifier which have more accuracy than regular softmax regression. I’ll not go through … [Read more…]

Posted in: Algorithm, Machine Learning Tagged: Machine Learning, Matlab, Softmax, Sparse Autoencoder, UFLDL

Softmax Regression

February 28, 2014 / 1 Comment

WHAT IS SOFTMAX Softmax regression always as one module in a deep learning network, and most likely to be the last module, the output module. What is it? It is a generalized version of logistic regression. Just like logistic regression, it belongs to supervised learning, and the superiority is, the class label y can be more than … [Read more…]

Posted in: Algorithm, Machine Learning Tagged: Armadillo, C++, Machine Learning, Softmax, Vectorization

[UFLDL Exercise] Softmax Regression

February 27, 2014 / 5 Comments

I’m learning Prof. Andrew Ng’s Unsupervised Feature Learning and Deep Learning tutorial, This is the 4th exercise, which is using Softmax regression to build a classifier and classify MNIST handwritten digits. Just like my other UFLDL exercise posts, I’ll not go through the detail of the material. More details about this exercise can be found HERE. I’ll re-implement Softmax … [Read more…]

Posted in: Algorithm, Machine Learning Tagged: Deep Learning, Machine Learning, Matlab, MNIST, UFLDL

[UFLDL Exercise] PCA and Whitening

February 26, 2014 / 2 Comments

I’m learning Prof. Andrew Ng’s Unsupervised Feature Learning and Deep Learning tutorial, This is part 2 of the 3rd exercise, which is use PCA algorithm in a natural image dataset. Just like my other UFLDL exercise posts, I’ll not go through the detail of the material. More details about this exercise can be found HERE.

Posted in: Algorithm, Machine Learning Tagged: Machine Learning, Matlab, PCA, UFLDL, Whitening, ZCA

[UFLDL Exercise] PCA in 2D

February 26, 2014 / Leave a Comment

I’m learning Prof. Andrew Ng’s Unsupervised Feature Learning and Deep Learning tutorial, This is part 1 of the 3rd exercise, which is use PCA algorithm in a simple 2D dataset. Just like my other UFLDL exercise posts, I’ll not go through the detail of the material. More details about this exercise can be found HERE.

Posted in: Algorithm, Machine Learning, Uncategorized Tagged: Machine Learning, Matlab, PCA, UFLDL, ZCA
« Previous 1 2 3 … 5 Next »

Pages

  • About Me

Categories

  • Algorithm
  • Deep Learning
  • Dynamic Programming
  • Graphics
  • LeetCode
  • Machine Learning
  • Machine Reading Comprehension
  • Maths
  • NLP
  • OpenCV
  • Something else
  • Twaddle
  • Uncategorized
  • Vision

Archives

  • July 2016
  • August 2015
  • June 2015
  • April 2015
  • March 2015
  • October 2014
  • September 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • November 2013
  • October 2013
  • September 2013

Copyright © 2019 Eric Yuan's Blog.

Me WordPress Theme by themehall.com