GithubHelp home page GithubHelp logo

ibl's Introduction

ibl

This is a Instance-Based Learning (IBL) tool, implementing IB1 and IB2 algorithms. Input data used is always a generated double spiral (with or without noise). Instances are pixels from each spiral class.

  • IB1 store every instance
  • IB2 store only badly classified instances (because the other instances do not distinguish where the concept boundary lies).

After, the trained dataset can be used to test unknown data. As this tools is dealing with pixel position (near or far from each spiral class), we can test any random pixel to check where it belongs to.

Authors

Luiz Eduardo Pizzinatto

&

Bruno Martins Crocomo

Execution

To execute, type in terminal:

python Main.py

First, generate an input data (a double spiral). Parameters are:

  • Noise - random noise in each pixel. Zero is a perfet double spiral
  • Points per class - how many pixels each class should have.
  • Minimum distance - minimum distance between each pixel inside each class

Then, train a new dataset with IB1 or IB2 algorithms. Are shown only those instances used in the created training dataset (IB1: all instances, IB2: only badly trained ones).

Also, you can test unseen data against this training dataset with the last button. This process check every pixel and mark its result class in the last image. As this process can be slow, step value is used to step pixel during check.

Examples

Generating a double spiral with zero noise, 75 instances per class and 5 pixels as minimum distance, choosing IB1 as training algorithm, give this: ib1 no noise

And with same parameters, but selecting IB2 algorithm: ib2 no noise

Using some noise and IB1: ib1 with noise

Using some noise and IB2: ib1 with noise

Infos

  • Euclidean distance measure is used in both IBL implementations.

ibl's People

Contributors

pizzinatto22 avatar

Watchers

James Cloos avatar Bruno Martins Crocomo avatar

Forkers

brunocrocomo

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.