6ecea4f289c368c96dd504f9822bcf58d1a7def3,pimp/evaluator/fanova.py,fANOVA,plot_result,#fANOVA#Any#Any#,112

Before Change


            param = list(self.evaluated_parameter_importance.keys())[i]
            outfile_name = os.path.join(name, param.replace(os.sep, "_") + ".png")
            vis.plot_marginal(self.cs.get_idx_by_hyperparameter_name(param), log_scale=False, show=False)
            fig = plt.gcf()
            fig.savefig(outfile_name)
            plt.close("all")
            plt.clf()
            outfile_name = os.path.join(name, param.replace(os.sep, "_") + "_log.png")

After Change


                    vis.plot_marginal(self.cs.get_idx_by_hyperparameter_name(param), log_scale=mode[0], show=False, incumbents=self.incumbents)
                except TypeError:
                    self.logger.debug("Plotting incumbents not supported by fanova < 2.0.12")
                    vis.plot_marginal(self.cs.get_idx_by_hyperparameter_name(param), log_scale=mode[0], show=False)
                fig = plt.gcf()
                fig.savefig(outfile_name)
                plt.close("all")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: automl/ParameterImportance
Commit Name: 6ecea4f289c368c96dd504f9822bcf58d1a7def3
Time: 2019-03-26
Author: jo.ma@posteo.de
File Name: pimp/evaluator/fanova.py
Class Name: fANOVA
Method Name: plot_result


Project Name: scikit-learn/scikit-learn
Commit Name: 45a6ef7b722811ff1dfdc76652a144190c9e0ef8
Time: 2020-06-15
Author: madhura@predictivehire.com
File Name: examples/inspection/plot_partial_dependence.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: c1b6a1c39fdd4661930280c6098de55359c5a078
Time: 2017-11-24
Author: anntzer.lee@gmail.com
File Name: examples/animation/animation_demo.py
Class Name:
Method Name: