7c45898c4364b827c9a86addf6ed24659e975d36,pyramid/arima/arima.py,ARIMA,fit,#ARIMA#Any#Any#,159

Before Change


            include a constant or trend. If provided, these variables are
            used as additional features in the regression operation.
        
        y = check_array(y, ensure_2d=False, force_all_finite=False, copy=True, dtype=DTYPE)

        // if exog was included, check the array...
        if exogenous is not None:
            exogenous = check_array(exogenous, ensure_2d=True, force_all_finite=False,

After Change


            include a constant or trend. If provided, these variables are
            used as additional features in the regression operation.
        
        y = column_or_1d(check_array(y, ensure_2d=False, force_all_finite=False, copy=True, dtype=DTYPE))
        n_samples = y.shape[0]

        // if exog was included, check the array...
        if exogenous is not None:
            exogenous = check_array(exogenous, ensure_2d=True, force_all_finite=False,
                                    copy=False, dtype=DTYPE)

        // determine the CV args, if any
        cv = self.out_of_sample_size
        scoring = get_callable(self.scoring, VALID_SCORING)
        cv = max(min(cv, n_samples), 0)  // don"t allow negative, don"t allow > n_samples

        def _fit_wrapper():
            // these might change depending on which one
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tgsmith61591/pmdarima
Commit Name: 7c45898c4364b827c9a86addf6ed24659e975d36
Time: 2017-06-06
Author: tgsmith61591@gmail.com
File Name: pyramid/arima/arima.py
Class Name: ARIMA
Method Name: fit


Project Name: lmcinnes/pynndescent
Commit Name: 1e47ab8d01ad941eb1c6c9f6281aa05adb6772de
Time: 2018-04-28
Author: leland.mcinnes@gmail.com
File Name: pynndescent/pynndescent_.py
Class Name: NNDescent
Method Name: __init__


Project Name: scikit-learn/scikit-learn
Commit Name: 8666f570e4850db81a8a6d233e483769679d8dc7
Time: 2020-02-01
Author: sebkies@gmail.com
File Name: sklearn/kernel_approximation.py
Class Name: AdditiveChi2Sampler
Method Name: fit