Coder Social home page Coder Social logo

vkhamesi / ocpdet Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 2.0 695 KB

📦 A Python package for online changepoint detection, implementing state-of-the-art algorithms and a novel approach based on neural networks.

Home Page: https://pypi.org/project/ocpdet/

License: BSD 2-Clause "Simplified" License

Python 100.00%
changepoint-detection deep-learning package change-detection change-point machine-learning python science time-series distribution-shift

ocpdet's Introduction

Hello there 👋

I'm a Ph.D. student in Statistics and Machine Learning at Imperial College London working on distribution shift detection in multivariate sequential data. Here is a brief recap of my journey:

  • 📦 Amazon Science - Data Scientist - Representation Learning, Recommender Systems, Statistical Machine Learning, Natural Language Processing (1 year)
  • 🔬 Imperial College London - M.Sc. in Statistics - Research Master Thesis on Convolutional Neural Networks for Online Changepoint Detection (1 year)
  • 🔎 Research Project on Machine Learning for Selection and Ranking, applied to Portfolio Optimisation - Awarded First Prize by Google, HSBC, Société Générale, Sia Partners (1 year)
  • 🎓 École Centrale de Lyon - French Engineering Grandes Écoles - Major in Computer Science, Applied Mathematics, Machine Learning (2 years)
  • 📚 Lycée Janson de Sailly - Classe Préparatoire aux Grandes Écoles MPSI/MP - Mathematics, Physics, Computer Science (2 years)

ocpdet's People

Contributors

vkhamesi avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

aesmin hedgefair

ocpdet's Issues

TwoSample using sliding windows for X if N=1 ?!

I reviewed the TwoSample class.

I fail to understand why you would loop thru all the iterations of sliding windows of the vector X in your process_batch function:

When printing where you collect the test-statistics you seem to compare sliding windows of N=1 ?!.
That does not make sense, even though the changepoint detection seems to work, besides it is very slow run time due to the permutations.

Can you mabye comment on this, what is the statistical reasoning behind it? I was looking into refactoring this to make it faster an leaner.

while self.t < len(X):
        Dkn = []
        for k in range(1, self.t):
                x, y = X[tau:k], X[k:self.t]
                # Different syntax for each Scipy test
                print(f"X[{tau}:{k}] vs X[{k}:{self.t}]")
X[0:1] vs X[1:2]
X[0:1] vs X[1:3]
X[0:2] vs X[2:3]
X[0:1] vs X[1:4]
X[0:2] vs X[2:4]
X[0:3] vs X[3:4]
X[0:1] vs X[1:5]
X[0:2] vs X[2:5]
X[0:3] vs X[3:5]
X[0:4] vs X[4:5]
X[0:1] vs X[1:6]
X[0:2] vs X[2:6]
X[0:3] vs X[3:6]
X[0:4] vs X[4:6]

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.