Finally, I got the answer by reading sci-kit.learn API and by doing more researches. I wrote the code and noticed the answer.
def partialFitChunks(self, chunks):
""" MBKmean partial fit vectorized chunks."""
for e, each_chunk in enumerate(chunks):
if self.verbose:
print 'current chunkID:', e
print each_chunk
print each_chunk.tolist()[:10]
self.kmeans.partial_fit(each_chunk)
if self.verbose:
print 'no. of label:', len(self.kmeans.labels_.tolist() or [])
print 'clustered docs:', self.kmeans.counts_
print 'total docs processed:', sum(self.kmeans.counts_.tolist())
predicted = self.kmeans.predict(each_chunk)
if self.verbose:
predicted_tolist = predicted.tolist()
print 'Total predicted docs:', len(predicted_tolist)
counter = Counter(predicted_tolist)
print 'By Cluster:',sortByIndex(counter.items(), 0, True)