798f945eadec05362ce8687cc83793fc8eab4d73,tslearn/svm.py,TimeSeriesSVC,fit,#TimeSeriesSVC#Any#Any#Any#,199

Before Change


        self._X_fit = X
        self.classes_ = numpy.unique(y)

        _, sz, d = X.shape
        sklearn_X = _prepare_ts_datasets_sklearn(X)

        gamma = self.gamma

After Change



    def fit(self, X, y, sample_weight=None):
        if self.kernel in self.variable_length_kernels:
            X, y = check_X_y(X, y, allow_nd=True, force_all_finite=False)
        else:
            X, y = check_X_y(X, y, allow_nd=True)
        X = check_dims(X, X_fit=None)
        X = to_time_series_dataset(X)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: rtavenar/tslearn
Commit Name: 798f945eadec05362ce8687cc83793fc8eab4d73
Time: 2019-08-20
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/svm.py
Class Name: TimeSeriesSVC
Method Name: fit


Project Name: rtavenar/tslearn
Commit Name: 798f945eadec05362ce8687cc83793fc8eab4d73
Time: 2019-08-20
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/svm.py
Class Name: TimeSeriesSVC
Method Name: fit


Project Name: IBM/AIF360
Commit Name: 326b0e218db6a0d8396e9e0a7443ec41590a1785
Time: 2020-02-19
Author: hoffman.sc@gmail.com
File Name: aif360/sklearn/metrics/metrics.py
Class Name:
Method Name: consistency_score


Project Name: rtavenar/tslearn
Commit Name: 798f945eadec05362ce8687cc83793fc8eab4d73
Time: 2019-08-20
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/svm.py
Class Name: TimeSeriesSVR
Method Name: fit