weka511 / learn

Experiments in machine learning
GNU General Public License v3.0
0 stars 0 forks source link

learn

Experiments in machine learning

General

File Remarks
ae.py Simple autoencoder tutorial
gibbs.py A generic Gibbs sampler, based on gibbs.py
hopfield.py Hopfield network
learn.bib Bibliography
learn.wpr Project file for Wing IDE

Imported from elsewhere

File Remarks
bayes1.py Simple demo for pymc3-Code from Estimating Probabilities with Bayesian Modeling in Python
gibbs.py Bayesian Inference: Gibbs Sampling
mhast.py Bayesian Inference: Metropolis-Hastings
naive.py Code from How to Develop a Naive Bayes Classifier from Scratch in Python
UGMM.py CAVI code snarfed from Zhiya Zuo

Keras and Tensorflow explorations

File Remarks
LeNet5.py LeNet-5 CNN in keras
losses.R Plot loss and accuracy for Training and Validation data from logfiles
tf1.py Tensorflow Tutorial
tf2.py Modification of tf1 to use Convolutional layer

Pytorch Learnings

File Remarks
torch-nn.py train

Variational Inference

Programs written to understand Variational Inference, based on the following references:

Free Energy

Programs based on A tutorial on the free-energy framework for modelling perception and learning, by Rafal Bogacz

File Remarks
feex1.py Exercise 1--posterior probabilities
feex2.py Exercise 2--most likely size
feex3.py Exercise 3--neural implementation
feex5.py Exercise 5--learn variance