Last answered:

16 Dec 2019

Posted on:

15 Dec 2019

0

Optimizers

Hello,
I am stuck on a case study and I will be so thankful if you can help.
I am building an algorithm for predicting one output of a chemical plant with 4 inputs and 3 neurons in the hidden layer, I have to use [Broyden–Fletcher–Goldfarb–Shanno (BFGS) optimization algorithm], but I can't find it in tensorflow. I know that There is  TensorFlow SciPy Optimizer interface which can be used for an access to optimizers like the BFGS, but I don't know how to use it. Can you please tell me how to import other additional optimizers in tensorflow?
Thank you in advance.
Waiting for your reply.
Kind Regards.

1 answers ( 0 marked as helpful)
Instructor
Posted on:

16 Dec 2019

0
Hi Hady, Thanks for reaching out! What you are suggesting is a good option for new optimizers. However, I found that there is an already available optimizer you can employ: tfp.optimizer.bfgs_minimize. It is a part of the tensorflow-probability package. I'd suggest installing it and trying out the built-in optimizers. Best, Iliya

Submit an answer