Coder Social home page Coder Social logo

libmunin's Introduction

Introduction

Note

This library is in a very early developement stage and far from being usable.

libmunin is a fancy music recommendations library which is based on datamining algorithms of all kind. Bonus: It's able to learn from you! I write it for my bachelor thesis and therefore it's still in developement.

Documentation is build on every commit http://www.readthedocs.org:

http://libmunin.readthedocs.org/en/latest/

Tests are run on every commit via http://travis-ci.org:

https://travis-ci.org/sahib/libmunin

Screenshot of the Demo GUI

demo gui screenshot

The Demo GUI is based on moosecat. Source code is available in the naglfar branch, under moosecat/naglfar/main.py.

Installation

Travis Page

PyPI package link

Number of PyPI downloads

Required externam programs

The moodbar binary is required for gthe mood-analysis. Future versions might implement the mood-analysis themselves, or at least package it along libmunin.

Your distribution might package it or you can compile it from here:

http://pwsp.net/~qbob/moodbar-0.1.2.tar.gz

The moodbar is not strictly required but recommended.

Required Python Modules

All modules are Python3 compatible:

$ sudo pip install -r pip_requirements.txt --use-mirrors

Optional modules and modules useful for Data-Retrieval

$ sudo pip install -r pip_optional_requirements.txt --use-mirrors

libmunin's People

Contributors

sahib 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

libmunin's Issues

Examples don't work

Hello, you examples don't work and i don't now why, please help me
image

WARNING:root:Disabling moodbar attr, no binary found in PATH.
WARNING:root:Disabling bpm attr, no binary found in PATH.
Traceback (most recent call last):
File "/home/yorick/Git/MusicSelectionWeb/venv/lib64/python3.6/site-packages/munin/song.py", line 116, in distance_compute
return self._dist_dict[other_song]
KeyError: <Song(uid=1 values=[(2,), (2,), None, ((321,), (583, 10)), None, None, ['heldentod']], distances=[])>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/yorick/Git/MusicSelectionWeb/Recommendation/Recommendation.py", line 26, in
})] = idx
File "/usr/lib64/python3.6/contextlib.py", line 88, in exit
next(self.gen)
File "/home/yorick/Git/MusicSelectionWeb/venv/lib64/python3.6/site-packages/munin/session.py", line 648, in transaction
self.database.rebuild()
File "/home/yorick/Git/MusicSelectionWeb/venv/lib64/python3.6/site-packages/munin/database.py", line 262, in rebuild
self.rebuild_stupid()
File "/home/yorick/Git/MusicSelectionWeb/venv/lib64/python3.6/site-packages/munin/database.py", line 244, in rebuild_stupid
distance = Song.distance_compute(song_a, song_b)
File "/home/yorick/Git/MusicSelectionWeb/venv/lib64/python3.6/site-packages/munin/song.py", line 128, in distance_compute
distance_dict[key] = distance_func(value_a, value_b)
File "/home/yorick/Git/MusicSelectionWeb/venv/lib64/python3.6/site-packages/munin/distance/init.py", line 37, in call
return self.compute(list_a, list_b)
File "/home/yorick/Git/MusicSelectionWeb/venv/lib64/python3.6/site-packages/munin/distance/init.py", line 41, in compute
lefts = self._provider._lookup(lefts)
File "/home/yorick/Git/MusicSelectionWeb/venv/lib64/python3.6/site-packages/munin/provider/init.py", line 60, in _lookup
return tuple(self._store[:idx] for idx in idx_list)
File "/home/yorick/Git/MusicSelectionWeb/venv/lib64/python3.6/site-packages/munin/provider/init.py", line 60, in
return tuple(self._store[:idx] for idx in idx_list)
File "/home/yorick/Git/MusicSelectionWeb/venv/lib64/python3.6/site-packages/bidict/_base.py", line 410, in getitem
return self._fwdm[key]
TypeError: unhashable type: 'slice'

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.