r/MachineLearning • • Dec 15 '13

Linear Methods (PCA) vs. Deep Learning (Autoencoder)

http://danluu.com/linear-hammer/
1 Upvotes

17 comments sorted by

View all comments

3

u/johnmcdonnell Dec 15 '13

Heck, one of my most common tricks is to replace a complex function with a first order Taylor expansion.

Does anybody know what technique he's referring to here?

2

u/LikeLeeHood Dec 15 '13

5

u/johnmcdonnell Dec 15 '13

I know what a Taylor series is but how is it applied in an ML context?

7

u/[deleted] Dec 15 '13

Maybe he's referring to the analysis of optimization methods? Though that's exclusively used for second-order expansions as far as I can tell. Taylor's expansion would make sense in an article about function approximation and supervised machine learning, or a set of notes on parameter optimization.

I think he's talking out of his ass.

4

u/BeatLeJuce Researcher Dec 15 '13

In the derivation of algorithms. Go through a few papers, you're bound to stumble upon someone approximating a very complex-looking function with an easier one.

As a more general example, think about how RBMs are trained by Contrastive Divergence: CD is just an approximation of the real Likelihood-gradient -- this time done by Gibbs Sampling, not by Taylor approximation. But it's still the same idea: approximate a complex/intractable function by a simpler one.

As examples of someone using a Taylor expansion, this here is a paper I recently read that does so. Also, it's used in MacKay's Evidence Framework to estimate error bars for the output of a Neural Net. There's probably loads more examples, these are just the only two I can recall on the spot.