f691adf486adf424616300901597fe8eb216d97c,AutoML2015/data/data_manager.py,DataManager,__str__,#DataManager#,99

Before Change


            val = val + "\t" + item + " = " + str(self.info[item]) + "\n"
        val = val + "data:\n"
        val = val + "\tX_train = array"  + str(self.data["X_train"].shape) + "\n"
        val = val + "\tY_train = array"  + str(self.data["Y_train"].shape) + "\n"
        val = val + "\tX_valid = array"  + str(self.data["X_valid"].shape) + "\n"
        val = val + "\tX_test = array"  + str(self.data["X_test"].shape) + "\n"
        val = val + "feat_type:\tarray" + str(self.feat_type.shape) + "\n"
        val = val + "feat_idx:\tarray" + str(self.feat_idx.shape) + "\n"
        return val
                
    def loadData (self, filename, verbose=True, replace_missing=True):
        """ Get the data from a text file in one of 3 formats: matrix, sparse, binary_sparse"""

After Change



        for subset in ["X_train", "Y_train", "X_valid", "X_test"]:
            val = val + "\t%s = %s" % (subset, type(self.data[subset])) \
                  + str(self.data[subset].shape) + "\n"
            if isinstance(self.data[subset], scipy.sparse.spmatrix):
                val = val + "\tdensity: %f\n" % \
                            (float(len(self.data[subset].data)) /
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: automl/auto-sklearn
Commit Name: f691adf486adf424616300901597fe8eb216d97c
Time: 2014-12-17
Author: feurerm@informatik.uni-freiburg.de
File Name: AutoML2015/data/data_manager.py
Class Name: DataManager
Method Name: __str__


Project Name: facebook/FAI-PEP
Commit Name: ff1c927d9119cb9a9b56f1e9ea941252aadf1516
Time: 2018-08-13
Author: sf_wind@hotmail.com
File Name: benchmarking/utils/utilities.py
Class Name:
Method Name: getDirectory


Project Name: dPys/PyNets
Commit Name: 5605cfb777a9319319490c3357be491ddae88213
Time: 2018-06-13
Author: dpisner@utexas.edu
File Name: pynets/utils.py
Class Name:
Method Name: individual_tcorr_clustering