Technoblog
Sunday, May 25, 2008
netflixData as current directory
>>> from pyflix.datasets import RatedDataset
>>> tr = RatedDataset('../bin/training_set')
>>> from pyflix.algorithms.average import DoubleAverage
>>> a = DoubleAverage(RatedDataset('bin/training_set/'))
>>> a.writePredictions('qualifying.txt', 'mylag_predictions.txt')