Repository for stuff related to machine learning. Focused around last.fm and Neural Networks.
There are some commands in the cmd/
folder. They do the following:
Wrapper for the load package.
Start with ./b run load
.
Loads the tag statistics fetched with load and displays them using bars.
Start with ./b run stat
.
Play-around command for using the ffnn package. Can generate images or graphs.
Generates images to image-<number>.png
Start with ./b run testnn
.
Should at some point use the tags loaded from last.fm to generate a user profile with ffnn.
Start with ./b run fmnn
.
This repository is comprised of a few packages:
A simple ncurses-like CLI for displaying a set of (string, float) tuples and scrolling through them.
Simplistic Feed-Forward Neural Network.
A last.fm tracks and tags scraper.
- Get last.fm API keys
- Run once:
./b run load
- Open up
config.json
, fill in apikey, secret and last.fm username - Run again:
./b run load
This will take some time.
When finished, open up tracks-{your username}.json
.
Warning: this file will be big.
These packages are available for your pleasure. If you find them particularly interesting or for some other reason want to contact me, feel free!
c ät cfs.im
GNU GPLv3.