e626254b74ecb6dc71396c1b35237b53a5e35163,oddt/datasets.py,pdbbind,__init__,#pdbbind#,22

Before Change


                        if not isfile(f):
                            continue
                        self._set_ids[pdbind_set].append(pdbid)
                        self._set_act[pdbind_set].append(float(row[3]))
                    self.sets[pdbind_set] = dict(zip(self._set_ids[pdbind_set],
                                                     self._set_act[pdbind_set]))
            if len(self.sets) == 0:

After Change


                                            "INDEX_%s_data.%i" % (pdbind_set, version))

                if os.path.isfile(csv_file):
                    data = pd.read_csv(csv_file,
                                       sep="\s+",
                                       usecols=[0, 1, 2, 3],
                                       names=["pdbid",
                                              "resolution",
                                              "release_year",
                                              "act"],
                                       comment="//")
                    self._set_ids[pdbind_set] = data["pdbid"].tolist()
                    self._set_act[pdbind_set] = data["act"].tolist()
                    self.sets[pdbind_set] = dict(zip(self._set_ids[pdbind_set],
                                                     self._set_act[pdbind_set]))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: oddt/oddt
Commit Name: e626254b74ecb6dc71396c1b35237b53a5e35163
Time: 2017-08-23
Author: maciek@wojcikowski.pl
File Name: oddt/datasets.py
Class Name: pdbbind
Method Name: __init__


Project Name: danforthcenter/plantcv
Commit Name: 21e6d8d6a5452ca96cecb00f8a9083de14a947c4
Time: 2019-10-23
Author: haleyschuhl@gmail.com
File Name: plantcv/plantcv/hyperspectral/analyze_spectral.py
Class Name:
Method Name: analyze_spectral


Project Name: rasbt/mlxtend
Commit Name: cec517350d259a4f49a58a769db784c248cfffa8
Time: 2021-01-08
Author: mail@sebastianraschka.com
File Name: mlxtend/evaluate/accuracy.py
Class Name:
Method Name: accuracy_score