-
Notifications
You must be signed in to change notification settings - Fork 0
gislifreyr/ModMeUp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ModMeUp - simple demonstration application for the use of Pearson correlation coefficient for movie ratings and recommendations. To run the application for the first time, you need to initialize a database for use with the application. To do this simply follow these two simple steps: 1. Create a new empty database: user@host:~/ModMeUp$ sqlite3 modmeup.db < tables.sql 2. Optionally load it with the MovieLens100k database: user@host:~/ModMeUp$ python ./dbload.py modmeup.db 3. Run the application prompt: user@host:~/ModMeUp$ python prompt.py -- Now if you feel like playing around with the data, we've bundled a handy little unit test tool which allows you to make sure certain core aspects of the system are still "according to spec" after your changes, if in doubt. To run this test tool, you need to make an initially empty test-database: 1. Create a new empty database named test.db: user@host:~/ModMeUp$ sqlite3 test.db < tables.sql 2. Run the test.py tool on the new test database: user@host:~/ModMeUp$ python test.py * If you named your test database something else than "test.db", simply add the filename as an argument to test.py, like so: user@host:~/ModMeUp$ python test.py mytestdb.db ** If you just want the easy way to test -- run test.sh .. It does everything for you, cleans up, initializes db, and runs the tests! user@host:~/ModMeUp$ ./test.sh
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published