56fb5f5ecfdaafc57b67db632004c6272f068e2e,seglearn/pipe.py,SegPipe,_ts_expand,#SegPipe#,272

Before Change



    def _ts_expand(self, X, y = None):
        // if its a record array we need to expand "ts" and "h"
        Nt = self._number_of_segments_per_series(X["ts"])
        ye = []
        if y is not None:
            ye = self._expand_series_variable_to_segments(y, Nt)

After Change



    def _ts_expand(self, X, y = None):
        // if its a record array we need to expand "ts" and "h"
        Xt, Xs = get_ts_data_parts(X)
        Nt = self._number_of_segments_per_series(Xt)
        Xt_new = np.concatenate(Xt)

        ye = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dmbee/seglearn
Commit Name: 56fb5f5ecfdaafc57b67db632004c6272f068e2e
Time: 2018-03-08
Author: david.mo.burns@gmail.com
File Name: seglearn/pipe.py
Class Name: SegPipe
Method Name: _ts_expand


Project Name: dmbee/seglearn
Commit Name: 56fb5f5ecfdaafc57b67db632004c6272f068e2e
Time: 2018-03-08
Author: david.mo.burns@gmail.com
File Name: seglearn/util.py
Class Name:
Method Name: check_ts_data


Project Name: dmbee/seglearn
Commit Name: 56fb5f5ecfdaafc57b67db632004c6272f068e2e
Time: 2018-03-08
Author: david.mo.burns@gmail.com
File Name: seglearn/pipe.py
Class Name: SegPipe
Method Name: score