06b801033943e72755612117f276751f2ae4d5dc,autosklearn/automl.py,AutoML,fit,#AutoML#Any#Any#Any#Any#Any#Any#,202

Before Change


        setup_logger(os.path.join(self._tmp_dir, "%s.log" % str(logger_name)))
        self._logger = get_logger(logger_name)

        if isinstance(metric, str):
            metric = STRING_TO_METRIC[metric]

        if feat_type is not None and len(feat_type) != X.shape[1]:
            raise ValueError("Array feat_type does not have same number of "
                             "variables as X has features. %d vs %d." %
                             (len(feat_type), X.shape[1]))

After Change


        setup_logger(os.path.join(self._tmp_dir, "%s.log" % str(logger_name)))
        self._logger = get_logger(logger_name)

        metric = get_metric(metric, task)

        if feat_type is not None and len(feat_type) != X.shape[1]:
            raise ValueError("Array feat_type does not have same number of "
                             "variables as X has features. %d vs %d." %
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: automl/auto-sklearn
Commit Name: 06b801033943e72755612117f276751f2ae4d5dc
Time: 2016-03-22
Author: a.domashnev@gmail.com
File Name: autosklearn/automl.py
Class Name: AutoML
Method Name: fit


Project Name: automl/auto-sklearn
Commit Name: dd10df4c914e5e93bd79d36800f60567fb32112a
Time: 2016-04-07
Author: a.domashnev@gmail.com
File Name: autosklearn/data/arff_data_manager.py
Class Name: ARFFDataManager
Method Name: __init__


Project Name: automl/auto-sklearn
Commit Name: 06b801033943e72755612117f276751f2ae4d5dc
Time: 2016-03-22
Author: a.domashnev@gmail.com
File Name: autosklearn/data/xy_data_manager.py
Class Name: XYDataManager
Method Name: __init__