Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TensorFlow: Does it only have SGD algorithms? or does it also have others like LBFGS

Question about TensorFlow:

I was looking at the video and model on the site, and it appeared to only have SGD as an algorithm for machine learning. I was wondering if other algorithms are also included in tensorflow, such as L-BFGS.

Thank you for your responses.

like image 321
William Derksen Avatar asked Jul 27 '16 20:07

William Derksen


People also ask

Is SGD a machine learning algorithm?

Stochastic gradient descent is a very popular and common algorithm used in various Machine Learning algorithms, most importantly forms the basis of Neural Networks.

Why do we need stochastic approximation to gradient descent?

Why SGD works? The key concept is we don't need to check all the training examples to get an idea about the direction of decreasing slope. By analyzing only one example at a time and following its slope we can reach a point that is very close to the actual minimum.

Is SGD deep learning?

Stochastic gradient descent (SGD) is widely used in deep learning due to its computational efficiency, but a complete understanding of why SGD performs so well remains a major challenge.

Which machine learning algorithms use gradient descent?

Common examples of algorithms with coefficients that can be optimized using gradient descent are Linear Regression and Logistic Regression.


1 Answers

TensorFlow's jargon for the algorithms such as Stochastic Gradient Descent (SGD) is optimizer. Following are the optimizers supported by TensorFlow:

  • GradientDescentOptimizer
  • AdadeltaOptimizer
  • AdagradOptimizer
  • AdamOptimizer
  • FtrlOptimizer
  • MomentumOptimizer
  • RMSPropOptimizer

You can also use the TensorFlow SciPy Optimizer interface which gives you access to optimizers like the L-BFGS.

Further, here and here are all the available TensorFlow optimizers you could use.

like image 134
PseudoAj Avatar answered Sep 21 '22 12:09

PseudoAj