<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setInitialCenters(self, centers, weights):
 """ Set initial centers. Should be set before calling trainOn. """

        self._model = StreamingKMeansModel(centers, weights)
        return self