Code Monkey home page Code Monkey logo

activesearch's Introduction

Active Search

This repo contains python implentations of Efficient Nonmyopic Active Search, ICML 2017 and Efficient Nonmyopic Batch Active Search, NeurIPS 2018.

Active search is an active learning paradigm which seeks to sequentially inspect data so as to discover members of a rare, desired class. The labels are not known a priori but can be revealed by querying a costly labeling oracle. The goal is to design an policy to sequentially query(observe) points to find as many valuable points as possible under a labeling budget. The Bayesian optimal policy for Active Search was derived in Efficient Nonmyopic Active Search, ICML 2017, which automatically and dynamically balances exploration and exploitation consistent with the remaining budget, without relying on a parameter to control this tradeoff.

Below is an example of Efficient Nonmyopic Active Search(ENS) running on a toy 2-d problem with a budget of 300 queries:

Example of ENS running on a toy 2-d problem

For a Matlab implementation of ENS written by Roman Garnett and Shali Jiang, look here. A 3-minute video introducing Efficient Nonmyopic Batch Active search can be found here

Getting Started

This code can run on Unix,MacOS, Windows. Simply clone the repository, install requirements, and run the demo like this:

$ git clone https://github.com/MatthewGleeson/ActiveSearch.git
$ pip install -r requirements.txt
$ python3 scriptToRun.py

Change parameter settings in the script file to try different datasets and policies!

The code has been tested on MacOS High Sierra 10.13.6 with Python 3.6.0.

activesearch's People

Contributors

dependabot[bot] avatar gustavomalkomes avatar matthewgleeson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

kiranvad

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.