Giter VIP home page Giter VIP logo

newma's Introduction

NEWMA

A new method for scalable model-free online change-point detection.

This repository contains the code for NEWMA: a new method for scalable model-free online change-point detection, Nicolas Keriven, Damien Garreau, Iacopo Poli.

To cite this work

@ARTICLE{9078835, 
author={N. {Keriven} and D. {Garreau} and I. {Poli}}, 
journal={IEEE Transactions on Signal Processing}, 
title={NEWMA: a new method for scalable model-free online change-point detection}, 
year={2020}, 
volume={}, 
number={}, 
pages={1-1},} 

Code

Requirements

The code is written for Python 3.
You can install the Python modules required by running pip install -r requirements.txt inside the folder.

Installing the onlinecp package

You can install the onlinecp Python package by running pip install ./ from the root folder of this repository.

Access to Optical Processing Units

To request access to LightOn Cloud and try our photonic co-processor, please visit: https://cloud.lighton.ai/

For researchers, we also have a LightOn Cloud for Research program, please visit https://cloud.lighton.ai/lighton-research/ for more information.

Figures in the paper

You can generate data for the figures in the paper as follows:

  • run test_dim.py and test_B_runningtime.py for Figure 4a
  • run test_adaptive_vs_fixed.py for Figure 4b
  • run test_algos_synthetic_data.sh for Figure 4c
  • run test_algos_vad.sh for Figure 4d

The scripts to generate the plots from data are in plots and they have the same name prepended by plot_. Look at plots/README.md for info on how to run them.

Code for old version of the paper (v1)

The code for the older version of our paper is in code_v1. The subdirectory contains its README.md.

newma's People

Contributors

iacolippo avatar nkeriven 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  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  avatar  avatar  avatar  avatar  avatar

newma's Issues

NEWMA statistic initial spike

Is it expected that the NEWMA statistic always spikes initially regardless of the number of change points? I've been running many tests using your example, and it always seems to have a similar distribution.

For example using a data stream with gd.stream_GMM(d=15, nb_change=10, n=1000):
image

Same thing if there are zero change points (still using a GMM as above but no changes):
image

I even tried just 1-D noise:
mu, sigma = 0, 0.1
X = np.random.normal(mu, sigma, 10000).reshape(-1,1)
And it still gives the same characteristic spike before settling:
image

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.