Re: Pyflix, confused about super() call

2008-09-23 Thread Bruno Desthuilliers
process a écrit : Anyone using Pyflix for the Netflix prize. How can it call super to itself in its init-method? You mean : class MovieAverage(Algorithm): def __init__(self, training_set): self._movie_averages = {} this line ? super(MovieAverage,self).__init__(tr

Pyflix, confused about super() call

2008-09-23 Thread process
Anyone using Pyflix for the Netflix prize. How can it call super to itself in its init-method? - #!/usr/bin/env python '''Sample baseline averaging algorithms.''' import numpy as N from pyflix.algorithms import Algorithm class MovieAverage(Algorithm): '''Baseline