82095cb65129040687b2ec85ea36c22c2debbcd2,Python/phate/phate.py,PHATE,transform,#PHATE#,556

Before Change


            raise NotFittedError("This PHATE instance is not fitted yet. Call "
                                 ""fit" with appropriate arguments before "
                                 "using this method.")
        elif X is not None and not np.all(X == self.X):
            // fit to external data
            warnings.warn("Pre-fit PHATE cannot be used to transform a "
                          "new data matrix. Please fit PHATE to the new"

After Change


            raise NotFittedError("This PHATE instance is not fitted yet. Call "
                                 ""fit" with appropriate arguments before "
                                 "using this method.")
        elif X is not None and not (X != self.X).sum() == 0:
            // fit to external data
            warnings.warn("Pre-fit PHATE cannot be used to transform a "
                          "new data matrix. Please fit PHATE to the new"
                          " data by running "fit" with the new data.",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: KrishnaswamyLab/PHATE
Commit Name: 82095cb65129040687b2ec85ea36c22c2debbcd2
Time: 2018-05-31
Author: scottgigante@gmail.com
File Name: Python/phate/phate.py
Class Name: PHATE
Method Name: transform


Project Name: KrishnaswamyLab/PHATE
Commit Name: 82095cb65129040687b2ec85ea36c22c2debbcd2
Time: 2018-05-31
Author: scottgigante@gmail.com
File Name: Python/phate/phate.py
Class Name: PHATE
Method Name: fit


Project Name: danforthcenter/plantcv
Commit Name: 9dbe3f07cbf9a3d211bad1f7fc48fb7fab4cefcc
Time: 2019-08-22
Author: haleyschuhl@gmail.com
File Name: plantcv/plantcv/morphology/segment_insertion_angle.py
Class Name:
Method Name: segment_insertion_angle