GithubHelp home page GithubHelp logo

hahnec / multimodal_emg Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 2.46 MB

Multimodal Exponentially Modified Gaussians with Optional Oscillation

Jupyter Notebook 83.72% Python 16.28%
acoustic-features acoustics exponentially-modified-gaussian feature-engineering multimodal regression oscillation oscillations superposition regression-models

multimodal_emg's Introduction

Multimodal Exponentially Modified Gaussians

arXiv paper link

Quick Facts

  • multiple asymmetric Gaussian distributions for the univariate case
  • optional oscillation term for wave approximations
  • based on analytical derivation
  • accepts numpy as well as torch data types

Kick Start

Below is a code excerpt for fitting multi-modal skewed Gaussian distributions:

from multimodal_emg import gaussian_envelope_model, emg_envelope_model, emg_wave_model
from multimodal_emg.regression.derivatives import gaussian_jac, emg_jac, oemg_jac

# multimodal optimization
p_star, result = multimodal_fit(
    data,
    features = [[1, 24, 2, 0],[.5, 48, 3, -1]], # amplitude, location, spread, skew
    components = 2,
    x = x,
    fun = emg_envelope_model,
    jac_fun = emg_jac,
)

print(p_star)

import matplotlib.pyplot as plt
plt.plot(result)
plt.show()

Oscillating Regression

The oscillation regression can be found in the accompanied Jupyter Notebook which yields the below result:

Oscillating Multi-Modal EMG

Citation

@inproceedings{Hahne:2022,
    author = {Christopher Hahne},
    title = {Multimodal Exponentially Modified Gaussian Oscillators},
    booktitle= {2022 IEEE International Ultrasonics Symposium (IUS)},
    address={},
    month={Okt},
    year={2022},
    pages={1-4},
}

Acknowledgment

This research is funded by the Hasler foundation under project number 22027.

multimodal_emg's People

Contributors

hahnec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

shaun95

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.