Coder Social home page Coder Social logo

intelligent-control-lab / mekf_mame Goto Github PK

View Code? Open in Web Editor NEW
24.0 5.0 2.0 2.03 MB

Modified Extended Kalman Filter with generalized exponential Moving Average and dynamic Multi-Epoch update strategy (MEKF_MAME)

License: MIT License

Python 100.00%
adaptive-algorithm optimization-algorithms extended-kalman-filter exponential-moving-average

mekf_mame's Introduction

MEKFEMA-DME

Modified Extended Kalman Filter with generalized Exponential Moving Average and Dynamic Multi-Epoch update strategy (MEKFEMA-DME)

Pytorch implementation source coder for paper Robust Online Model Adaptation by Extended Kalman Filter with Exponential Moving Average and Dynamic Multi-Epoch Strategy.

In this paper, inspired by Extended Kalman Filter (EKF), a base adaptation algorithm Modified EKF with forgetting factor (MEKFλ) is introduced first. Then using exponential moving average (EMA) methods, this paper proposes EMA filtering to the base EKFλ in order to increase the convergence rate. In order to effectively utilize the samples in online adaptation, this paper proposes a dynamic multi-epoch update strategy to discriminate the “hard” samples from “easy” samples, and sets different weights for them. With all these extensions, this paper proposes a robust online adaptation algorithm: MEKF with Exponential Moving Average and Dynamic Multi-Epoch update strategy (MEKFEMA-DME).

Requirements

  • Python 3.6
  • pytorch >=1.1.0
  • pip install -r requirements.txt

How to use it

1 . Offline Neural Network Training

python train.py

2 . Online Adaptation

python adapt.py

You can online adapt the offline trained model with several optimizers, including SGD, Adam, MEKFλ, MEKFEMA-DME.

mekf_mame's People

Contributors

sliu2019 avatar walleclipse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.