Coder Social home page Coder Social logo

cadop / seg1d Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 2.0 48.39 MB

Automated segmentation of one-dimensional (1D) data

Home Page: https://cadop.github.io/seg1d/

License: MIT License

Python 94.60% TeX 5.40%
clustering motion-capture python segmentation time-series-analysis

seg1d's Introduction

Hi there ๐Ÿ‘‹

seg1d's People

Contributors

cadop avatar trallard avatar

Stargazers

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

Watchers

 avatar

seg1d's Issues

[Joss Review] Automatic dependency installation

At the moment all dependencies need to be installed manually, because the package itself is imported in the setup.py file.

The easiest fix would be to remove this import and maintain the package version at two different places. If you want to avoid this, a set of other solutions (e.g. bumpversion) exist.

I would argue that the convenience of installing the package with a single command is very important.

[Joss Review] Tests

To my understanding, the package is tested using doctest only. I could consider that a good starting point, but the currently included test can be considered happy-path regression/integration tests. Considering that some of the implemented functions have several inputs and possible execution branches, a more elaborate suite of unittests would be nice.

I would not consider this an exclusion criteria for the review, but I personally would not feel comfortable using the current package in any project of relevance given the current state of testing.

[Joss review] Building the docs

There are a couple of issues with the docs:

Dependencie doumentation:

  • numpydoc is required, but not documented in the README
  • matplotlib is required, but not documented (btw. matplotlib is also required for the examples, but is not documented there as well)

After trying a couple of things, I was still not able to build the docs or run the doctests. In a clean conda env (Py 3.8) the autodoc-process-signature extension threw a number of errors:

...
WARNING: error while formatting signature for seg1d.algorithm.get_peaks: Handler <function process_numba_docstring at 0x7febb2fbcca0> for event 'autodoc-process-signature' threw an exception
WARNING: error while formatting signature for seg1d.algorithm.resample: Handler <function process_numba_docstring at 0x7febb2fbcca0> for event 'autodoc-process-signature' threw an exception
WARNING: error while formatting signature for seg1d.algorithm.rolling_corr: Handler <function process_numba_docstring at 0x7febb2fbcca0> for event 'autodoc-process-signature' threw an exception
WARNING: error while formatting signature for seg1d.algorithm.uniques: Handler <function process_numba_docstring at 0x7febb2fbcca0> for event 'autodoc-process-signature' threw an exception
WARNING: error while formatting signature for seg1d.optimized_funcs.rcor: Handler <function process_numba_docstring at 0x7febb2fbcca0> for event 'autodoc-process-signature' threw an exception
WARNING: error while formatting signature for seg1d.optimized_funcs.vcor: Handler <function process_numba_docstring at 0x7febb2fbcca0> for event 'autodoc-process-signature' threw an exception

Extension error:
Handler <function process_numba_docstring at 0x7febb2fbcca0> for event 'autodoc-process-signature' threw an exception

[Joss Review] Comparison to tslearn/seglearn

Even though I havn't checked out all functionality of the seg1d, a certain overlap in features with rather popular libraries like tslearn adn seglearn is undeniable. tslearn, seglearn and potentially other packages should be mentioned as related work in the paper.

Further it would great if the standout features of seg1d in comparison with other packages could be highlighted. When and why should I use seg1d over tslearn, sklearn, or seglearn directly?

For example, tslearn implements cross correlation based clustering and various method for time series segmentation.

Resolve Documentation Location

Currently the website uses one of githubs default documentation locations, which is on master/docs. It is possible to put on its own branch, but this was more difficult to develop with. Need to look into it again.

[Joss Review] Author List

The paper contains multiple authors, but according to the git history only a single author contributed to the software project. I would be nice if the role and work of the other authors could be highlighted in the paper

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.