140f9765f4c4f5165fd546bea30b2c473b9abb10,skll/utilities/join_features.py,,main,#Any#,23

Before Change


    logger = logging.getLogger(__name__)

    // all extensions except .libsvm can be processed
    valid_extensions = [ext for ext in EXT_TO_READER if ext != ".libsvm"]

    // make sure the input file extensions are those we can process
    input_extensions = [os.path.splitext(inf)[1].lower() for inf in args.infile]
    output_extension = os.path.splitext(args.outfile)[1].lower()

After Change


                      "{}").format(input_extension))
        sys.exit(1)

    if output_extension != input_extension:
        logger.error(("Output file must be in the same format as the input "
                      "file.  You specified: {}").format(output_extension))
        sys.exit(1)

    // Read and merge input files
    merged_set = None
    for infile in args.infile:
        reader = EXT_TO_READER[input_extension](infile, quiet=args.quiet,
                                                label_col=args.label_col)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: EducationalTestingService/skll
Commit Name: 140f9765f4c4f5165fd546bea30b2c473b9abb10
Time: 2014-11-07
Author: dblanchard@ets.org
File Name: skll/utilities/join_features.py
Class Name:
Method Name: main


Project Name: astorfi/TensorFlow-World
Commit Name: 496e3d795c1f33010899f34c2e171a76a3d8e75c
Time: 2017-06-14
Author: amirsina.torfi@gmail.com
File Name: codes/2-basics_in_machine_learning/linear_svm/code/linear_SVM.py
Class Name:
Method Name:


Project Name: calico/basenji
Commit Name: 98b1fe8f5c1acccb31c10028bccaa797470279d2
Time: 2019-08-23
Author: drk@calicolabs.com
File Name: bin/basenji_map.py
Class Name:
Method Name: main