Giter Site home page Giter Site logo

sampling-input-tsetlin-machine's Introduction

Sampling-Input-Tsetlin-Machine

A Binarization technique that uses the value of each input as a parameter that defines an unfair coin flip as its input, for each epoch.

Example:

For a grayscale image, each pixel gray value works as an unfair coin flip, based in the range of values a pixel can have. Pseudocode for how this works for one pixel:

def coinflip_pixel(pixel):
  r=random.randint(0,255)
  return r>pixel

With multiple epochs, the average value for an input will approach it's value, in the the normalized input space. This average can then again be mapped to it's original input space.

Video example of this method with baboon.png :

https://youtu.be/t5Rt4CBOeDc

How the implementation with Tstetlin machine looks like

FTTs

To be tested.

Based on the assumption that the tsetlin machine can average an input.

Best result so far: 87.8 % average accuracy over the last 100 epochs, on CIFAR10 color images of the automobile - cat pair. It used CTM with clauses = 4000, T = 75, s = 10.0, mask = (32, 32)

sampling-input-tsetlin-machine's People

Contributors

isoporhode avatar captnpoffen avatar

Stargazers

 avatar Ole-Christoffer Granmo avatar

Watchers

Ole-Christoffer Granmo avatar  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.