Code Monkey home page Code Monkey logo

sam's Introduction

SAM

This Python library is an implementation of an explainable neural network that is based on Sparse Associative Memory (SAM)

Sparse Associative Memory Neural Network

A SAM neural network is capable of performing the following standard machine learning functions:

  • Unsupervised clustering - SAM learns generalised representations of data that are essentially clusters of similar raw data
  • Supervised Classification - Include labels or classes in the data and SAM will associate all similar new data with those classes
  • Temporal Prediction - SAM is capable of learning the sequences of generalisations and given a partial sequence, SAM can recall (predict) the rest of the sequence
  • Anomaly Detection - SAM learns by measuring the similarity of incoming data to existing learned generalisations. A significant drop in similarity indicates the presence of an anomaly

SAM is specifically designed to learn from Sparse Distributed Representations (SDR) of data. SDRs encode complex numeric and categorical composite data as large sparsely populated binary vectors which have near infinite capacity. These encodings are capable of representing the semantic similarity between things by ensuring there is an overlap of bits in both vectors

Encoders

SAM implements three encoders:

  • Numeric - capable of encoding numeric int / float data in either linear or log scale. It ensures that numbers close together on the numeric line have a level of similarity
  • Category - capable of encoding either strings with no semantic similarity or a list of semantically similar strings in a list

Sparse Distributed Representation

Neural Graph

Spatial Pooler

SAM Fabric

sam's People

Contributors

sjhancock avatar stephen-hancock avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.