1b342820a03d7b822ad8e40b9248256235086dda,seglearn/pipe.py,SegPipe,transform,#SegPipe#Any#Any#,60
Before Change
X = self._check_data(X)
X = self.feed.transform(X)
X, y = self._ts_expand(X, y)
return self.est.transform(X, y), y
def predict(self, X, y):
check_is_fitted(self, "N_train")
After Change
X = self.feed.transform(X)
X, y = self._ts_expand(X, y)
self.N_test = len(X)
X = self.est.transform(X)
return X, y
def predict(self, X, y):
"""
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: dmbee/seglearn
Commit Name: 1b342820a03d7b822ad8e40b9248256235086dda
Time: 2018-03-07
Author: david.mo.burns@gmail.com
File Name: seglearn/pipe.py
Class Name: SegPipe
Method Name: transform
Project Name: uber/petastorm
Commit Name: 8fe78d3095afef1a7aa98359f32672bad23f7e17
Time: 2018-11-14
Author: robbieg@uber.com
File Name: examples/mnist/pytorch_example.py
Class Name:
Method Name: _transform_row
Project Name: pyannote/pyannote-audio
Commit Name: 49f1e6fb96f8bb27e4a03c673aa6fdb25f859650
Time: 2016-12-18
Author: bredin@limsi.fr
File Name: pyannote/audio/embedding/aggregation.py
Class Name: SequenceEmbeddingAggregation
Method Name: postprocess_sequence