GithubHelp home page GithubHelp logo

nnrg / contextskilldrift Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 48.19 MB

A deep neural network architecture for gas classification using metal oxide-based sensors designed to be robust to sensor drift

License: MIT License

Jupyter Notebook 79.17% Python 9.57% Shell 0.02% TeX 11.25%

contextskilldrift's Introduction

A context-based gas sensor classifier

Please see the paper here: https://arxiv.org/abs/2003.07292

The context-based gas classifier processes a sequence of labeled odor samples in order to form a representation of the current sensor context, containing information pertaining to sensor drift. This context vector is used to inform the prediction of the odor label.

Usage

This repository includes three useful files:

  • The main file that starts the training of the network with the GA (main_odor_GA.py)
  • The neural network module that contains the class for the modified Context-Odor Model (mCOM, neural_net.py)
  • The module that reads the batches of data (read_batches.py)

Quick set-up for the GA run

data_available = False by default. If the training data was loaded before, you can change it to True.

trainingTASKs = [1, 2, 3, 4, 5]. This is the list of tasks (batches) that the mCOM will be trained on. It has to be always more than 1 due to the Context module. Context module's, i.e., LSTM cell, memory is reset after each batch. In order to compare mCOM with the Baseline Model, Line-78 (net.resetContextMemory()) can be commented out.

contextskilldrift's People

Contributors

jamiesonwarner avatar

Stargazers

Yao Tian avatar  avatar  avatar

Watchers

Igor Karpov avatar Risto Miikkulainen 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.