93c5a8952f5a350c78243bc1ffa47b07f5f93721,examples/sentiment_example.py,,main,#,282

Before Change


  test_neg_filepattern = os.path.join(args.input_data_dir, "test/neg/*")
  test_pos_filepattern = os.path.join(args.input_data_dir, "test/pos/*")
  shuffled_train_filebase = os.path.join(transformed_data_dir, "train_shuffled")
  shuffled_test_filebase = os.path.join(transformed_data_dir, "test_shuffled")
  transformed_train_filebase = os.path.join(transformed_data_dir,
                                            "train_transformed")
  transformed_test_filebase = os.path.join(transformed_data_dir,
                                           "test_transformed")

After Change


                        test_neg_filepattern, test_pos_filepattern,
                        working_dir)
  transform_data(working_dir)
  results = train_and_evaluate(working_dir)

  pprint.pprint(results)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: tensorflow/transform
Commit Name: 93c5a8952f5a350c78243bc1ffa47b07f5f93721
Time: 2017-11-22
Author: tf-transform-dev@google.com
File Name: examples/sentiment_example.py
Class Name:
Method Name: main


Project Name: tensorflow/transform
Commit Name: 93c5a8952f5a350c78243bc1ffa47b07f5f93721
Time: 2017-11-22
Author: tf-transform-dev@google.com
File Name: examples/census_example.py
Class Name:
Method Name: main


Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: 47f959868b298ec82852724e4c3bd3c7015ec36b
Time: 2018-09-13
Author: davido262@gmail.com
File Name: molecules/trainer/task.py
Class Name:
Method Name: train_and_evaluate