How can I use octave function minimizers in c++?

1

I have downloaded and built octave library and it works fine . But I cannot call function minimizers like fminunc() , fmingc() etc to minimize my functions for performing logistic regression or using it in neural networks . Can these functions be accessed from c++ ? If yes, then how ?

Saksham

Posted 2016-10-15T09:37:32.517

Reputation: 127

Question was closed 2016-11-14T14:59:37.560

What is the "octave library" you have downloaded and built? Do you mean the octave application or something else? Have you looked at the documentation, specifically ".oct" files which let you link C++ into Octave, and let you call Octave native functions from C++? Are you trying to write a standalone C++ application? Or what? Can you show us some sample code? – Spacedman – 2016-11-14T11:44:00.320

Answers

1

You can use a native library in C++ for optimization. Check out this one : dlib

SHASHANK GUPTA

Posted 2016-10-15T09:37:32.517

Reputation: 2 845

Which function in this library is equivalent to fminunc and fmingc functions of octave ? – Saksham – 2016-10-15T10:26:09.360