679e77b78f7ba906cd2e6aa18366fa8facd153db,autosklearn/evaluation/abstract_evaluator.py,AbstractEvaluator,file_output,#AbstractEvaluator#Any#Any#Any#,266

Before Change



        if not np.all(np.isfinite(Y_optimization_pred)):
            return 1.0, "Model predictions for optimization set contains NaNs."
        if Y_valid_pred is not None and \
                not np.all(np.isfinite(Y_valid_pred)):
            return 1.0, "Model predictions for validation set contains NaNs."
        if Y_test_pred is not None and \
                not np.all(np.isfinite(Y_test_pred)):
            return 1.0, "Model predictions for test set contains NaNs."

After Change


        for y, s in [[Y_valid_pred, "validation"],
                  [Y_test_pred, "test"]]:
            if y is not None and not np.all(np.isfinite(y)):
                return 1.0, "Model predictions for %s set contains NaNs." % s

        num_run = str(self.num_run).zfill(5)
        if os.path.exists(self.backend.get_model_dir()):
            self.backend.save_model(self.model, self.num_run, seed)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: automl/auto-sklearn
Commit Name: 679e77b78f7ba906cd2e6aa18366fa8facd153db
Time: 2017-02-11
Author: feurerm@informatik.uni-freiburg.de
File Name: autosklearn/evaluation/abstract_evaluator.py
Class Name: AbstractEvaluator
Method Name: file_output


Project Name: pymc-devs/pymc3
Commit Name: 6c22688a5337598b1f136483731c14a4128fe823
Time: 2013-02-10
Author: jsalvatier@gmail.com
File Name: pymc/MAP.py
Class Name:
Method Name: nan_to_high


Project Name: pymc-devs/pymc3
Commit Name: 9805354d3351e29731f07cf0ce2389db063b3de7
Time: 2013-03-15
Author: jsalvatier@gmail.com
File Name: pymc/tuning/starting.py
Class Name:
Method Name: find_MAP