56fb5f5ecfdaafc57b67db632004c6272f068e2e,seglearn/util.py,,check_ts_data,#Any#,9

Before Change



    """
    if type(X) is np.recarray:
        _check_ts(X["ts"])
    elif type(X) is list or type(X) is np.ndarray:
        _check_ts(X)
    else:

After Change


       Time series data and (optionally) static data created as per ``make_ts_data``

    """
    Xt, Xs = get_ts_data_parts(X)
    if Xs is not None:
        assert len(Xt) == len(Xs)
    N_tvars = np.array([np.row_stack(Xt[i]).shape[1] for i in range(len(Xt))])
    assert len(np.unique(N_tvars)) == 1
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/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: _ts_expand


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