da046f66476c166a4f7bf4210fc1fed563ae9bdc,pmdarima/arima/utils.py,,ndiffs,#Any#Any#Any#Any#,118

Before Change



    // get the test
    testfunc = get_callable(test, VALID_TESTS)(alpha, **kwargs).should_diff
    x = column_or_1d(check_array(x, ensure_2d=False,
                                 force_all_finite=True, dtype=DTYPE))

    // base case, if constant return 0
    d = 0
    if is_constant(x):

After Change



    // get the test
    testfunc = get_callable(test, VALID_TESTS)(alpha, **kwargs).should_diff
    x = check_endog(x, dtype=DTYPE, copy=False)

    // base case, if constant return 0
    d = 0
    if is_constant(x):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tgsmith61591/pmdarima
Commit Name: da046f66476c166a4f7bf4210fc1fed563ae9bdc
Time: 2019-10-28
Author: tgsmith61591@gmail.com
File Name: pmdarima/arima/utils.py
Class Name:
Method Name: ndiffs


Project Name: tgsmith61591/pmdarima
Commit Name: da046f66476c166a4f7bf4210fc1fed563ae9bdc
Time: 2019-10-28
Author: tgsmith61591@gmail.com
File Name: pmdarima/arima/utils.py
Class Name:
Method Name: nsdiffs


Project Name: tgsmith61591/pmdarima
Commit Name: da046f66476c166a4f7bf4210fc1fed563ae9bdc
Time: 2019-10-28
Author: tgsmith61591@gmail.com
File Name: pmdarima/arima/approx.py
Class Name:
Method Name: _regularize