BPL (Bayesian Program Learning) is a MATLAB implementation of the Bayesian Program Learning framework for one-shot concept learning (especially on handwritten characters). The approach treats each concept (e.g. a character) as being generated by a probabilistic program (motor primitives, strokes, spatial relationships), and inference proceeds by fitting those generative programs to a single example, generalizing to new examples, and generating new exemplars. The repository contains code for parsing stroke sequences, fitting motor programs, exemplar generation, classification, re-fitting, and demonstration scripts.

Features

  • Motor program / stroke fitting to interpret character generation
  • One-shot classification (given one example, classify novel ones)
  • Exemplar generation (produce novel variants of a concept)
  • Re-fitting of models (adjust generative programs for new data)
  • Demo scripts illustrating parsing, classification, exemplar generation
  • Support functions for generative priors, optimization, stroke utilities

Project Samples

Project Activity

See All Activity >

Categories

Machine Learning

License

MIT License

Follow BPL

BPL Web Site

Other Useful Business Software
Iris Powered By Generali - Iris puts your customer in control of their identity. Icon
Iris Powered By Generali - Iris puts your customer in control of their identity.

Increase customer and employee retention by offering Onwatch identity protection today.

Iris Identity Protection API sends identity monitoring and alerts data into your existing digital environment – an ideal solution for businesses that are looking to offer their customers identity protection services without having to build a new product or app from scratch.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BPL!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

MATLAB

Related Categories

MATLAB Machine Learning Software

Registered

2025-09-29