bc60fc165e619862490f6a536ba04c571bdf6bf0,pudl/transform/ferc1.py,FERCPlantClassifier,fit,#FERCPlantClassifier#Any#Any#,1048

Before Change


        

        assert (type(self.ngram_min) == int), "ngram_min must be integer"
        assert (self.ngram_min > 1), "ngram_min must be greater than one"
        assert (type(self.ngram_max) == int), "ngram_max must be integer"

        self._plants_df = self._prepare_plants(X)

After Change


                                     self.cossim_df_,
                                     min_sim=self.min_sim)
        // Make the best match indices integers rather than floats w/ NA values.
        years = self.best_of_.report_year.unique()
        self.best_of_[years] = self.best_of_[years].fillna(-1).astype(int)

        return self
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: catalyst-cooperative/pudl
Commit Name: bc60fc165e619862490f6a536ba04c571bdf6bf0
Time: 2018-07-13
Author: zane.selvans@catalyst.coop
File Name: pudl/transform/ferc1.py
Class Name: FERCPlantClassifier
Method Name: fit


Project Name: nilearn/nilearn
Commit Name: 921e25e46e323c89b17dfe62ad3b1b5b2f38ed51
Time: 2013-05-27
Author: philippe.gervais@inria.fr
File Name: nisl/io/tests/test_nifti_region.py
Class Name:
Method Name: test_nifti_labels_masker_2


Project Name: nipy/dipy
Commit Name: 135470a779129f41953dab54527c396a61682284
Time: 2016-10-14
Author: tiwanyan@149-160-235-143.dhcp-bl.indiana.edu
File Name: dipy/segment/tests/test_adjustment.py
Class Name:
Method Name: test_adjustment


Project Name: NifTK/NiftyNet
Commit Name: baecce5a6fbe4576ca8348a93dc56f07e7ba84f6
Time: 2019-06-05
Author: ucabtmv@ucl.ac.uk
File Name: niftynet/contrib/csv_reader/csv_reader.py
Class Name: CSVReader
Method Name: _parse_csv


Project Name: biotite-dev/biotite
Commit Name: c9c407951adfd5c101a1875e2761db98eb1f8fa8
Time: 2020-08-18
Author: patrick.kunzm@gmail.com
File Name: doc/examples/scripts/sequence/quality_control.py
Class Name:
Method Name: