Coder Social home page Coder Social logo

laplacian_segmentation's People

Contributors

bmcfee avatar dpwe avatar

Stargazers

 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

laplacian_segmentation's Issues

About the label_entropy function in segmenter.py

I am working on the music segmentation problem and I have a few questions about your code when I studied it. It would be great if you could give some pointers.

The function label_entropy in segmenter.py returns the entropy of the "labels" but not the hits calculated inside the function. Is this intended? Then, if it was the "hits" that was intended to be used.
Wouldn`t it always return 1.0 after divided by log(k)? Because of the np.unique function only returns the unique value of an array, it is somewhat effectively the same as range(k) in some sense. Then the next for loop in the function will just fill hits with one count for each bin.

Please let me know if I misunderstood anything or missed some steps you
took in the code. Thank you so much!!!

y_harm and y_perc switched in segmenter.py

Hi!
I was just trying out some of your code and I noticed listening to y_perc and y_harm that they sounded switched. And indeed, in your current documentation of librosa you have them in the reverse order that they appear on line 131 of segmenter.py. Perhaps they got switched in a newer version of librosa?

Anyway, maybe this doesn't matter anymore, but I figured I'd flag it just in case.

Thanks for the great software!
Sincerely,
Chris Tralie

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.