Skip to content
Maximum Noise Entropy (Logistic Regression) in C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Maximum Noise Entropy (Logistic Regression) in C

This code is an implementation of Maximum Noise Entropy ( in C. This is equivalent to a (up to) second-order logistic regression but in a neural context. The code allows for fitting a low rank matrix for the second-order model, but the fit is non-convex and thus not recommended at this point.

It is recommended that you use a OpenBLAS ( to speed up the matrix operations. If you do not wish to use OpenBLAS, comment out this line: "extern "C" void openblas_set_num_threads(int num_threads);". There are some other operations that have been parallelized using OpenMP so it is recommended that you also compile with OpenMP to decrease runtime.

For now, the conjugate gradient descent algorithm is a modified version based on Numerical Recipes in C ( In the future, I plan to switch over to the GNU Scientific Library conjugate gradient algorithm.

Most other information about this code can be found in its comments. I will update this in the future to provide more thorough instructions once the code has reached full funcitonality.

You can’t perform that action at this time.