ac50e56fb49145114d6dfd88318f75dcf6764491,pyemma/coordinates/clustering/regspace.py,RegularSpaceClustering,_estimate,#RegularSpaceClustering#Any#,126
Before Change
from ._ext import regspace, MaxCentersReachedException
self._inst = regspace.Regspace_f(self.dmin, self.max_centers, self.metric, iterable.ndim)
try:
with iterable.iterator(return_trajindex=False, stride=self.stride,
chunk=self.chunksize, skip=self.skip) as it:
for X in it:
used_frames += len(X)
self._inst.cluster(X.astype(np.float32, order="C", copy=False),
After Change
used_frames = 0
from ._ext import regspace, MaxCentersReachedException
self._inst = regspace.Regspace_f(self.dmin, self.max_centers, self.metric, iterable.ndim)
it = iterable.iterator(return_trajindex=False, stride=self.stride,
chunk=self.chunksize, skip=self.skip)
try:
with it:
for X in it:
used_frames += len(X)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: markovmodel/PyEMMA
Commit Name: ac50e56fb49145114d6dfd88318f75dcf6764491
Time: 2017-11-13
Author: m.scherer@fu-berlin.de
File Name: pyemma/coordinates/clustering/regspace.py
Class Name: RegularSpaceClustering
Method Name: _estimate
Project Name: allenai/allennlp
Commit Name: 675733b63e41cccbabf1d95ff2e90585bf33efba
Time: 2018-01-30
Author: joelgrus@gmail.com
File Name: scripts/write_srl_predictions_to_conll_format.py
Class Name:
Method Name: main
Project Name: markovmodel/PyEMMA
Commit Name: f038b3242c40ed122785b6996d7abe46cc05f39c
Time: 2017-10-28
Author: m.scherer@fu-berlin.de
File Name: pyemma/coordinates/transform/pca.py
Class Name: PCA
Method Name: _estimate