Skip to content

sphinxteam/GeneralizedLinearModel2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeneralizedLinearModel2017

Codes corresponding to the paper https://arxiv.org/abs/1708.03395

Phase Transitions, Optimal Errors and Optimality of Message-Passing in Generalized Linear Models

by Jean Barbier, Florent Krzakala, Nicolas Macris, Léo Miolane, Lenka Zdeborová

Perceptrondemo.ipynb is a julia demo that solve the variational problem for the replica free energy for the binary Perceptron, and plot the optimal error and generalization error.

MatlabDemo contains a matlab code that runs AMP for the corresponding problem. It contains demos for the Perceptron problem as well as for the Phase Retrivial problem.

KerasDemo.py contains a Keras code running a neural-net with two hidden layer in order to attempt to classify data generated by the "symmetry door rule".