8e864165fad7395bcce5bcef5a9238a1d8f1540d,deepmatcher/data/dataset.py,,split,#Any#Any#Any#Any#Any#Any#Any#Any#,24

Before Change


    pd.DataFrame(train.examples).to_csv(
        os.path.join(path, train_prefix), index=False)
    pd.DataFrame(valid.examples).to_csv(
        os.path.join(path, validation_prefix), index=False)
    pd.DataFrame(test.examples).to_csv(
        os.path.join(path, test_prefix), index=False)

After Change


              pd.DataFrame(test.examples))
    prefixes = (train_prefix, validation_prefix, test_prefix)

    for i in range(len(tables)):
        tables[i].columns = table.columns
        tables[i].to_csv(os.path.join(path, prefixes[i]), index=False)


class MatchingDataset(data.TabularDataset):
    rRepresents dataset with associated metadata.

    Holds all information about one split of a dataset (e.g. training set).
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: anhaidgroup/deepmatcher
Commit Name: 8e864165fad7395bcce5bcef5a9238a1d8f1540d
Time: 2018-04-22
Author: sidharthmsk@gmail.com
File Name: deepmatcher/data/dataset.py
Class Name:
Method Name: split


Project Name: anhaidgroup/deepmatcher
Commit Name: 8e864165fad7395bcce5bcef5a9238a1d8f1540d
Time: 2018-04-22
Author: sidharthmsk@gmail.com
File Name: deepmatcher/data/dataset.py
Class Name:
Method Name: split


Project Name: pantsbuild/pants
Commit Name: 5f54d410357d3df37d48bf121b5f4d60c58928f3
Time: 2015-05-11
Author: zundel@squareup.com
File Name: src/python/pants/backend/project_info/tasks/ide_gen.py
Class Name: IdeGen
Method Name: map_external_jars


Project Name: kubeflow/kubeflow
Commit Name: d5caf230ff50260c1a6565db35edeeddd5d407e6
Time: 2018-02-08
Author: mitake.hitoshi@gmail.com
File Name: build/boilerplate/boilerplate.py
Class Name:
Method Name: get_refs