02a646f12b968a7822b0d1b59beae5bc0c78b171,pimp/evaluator/fanova.py,fANOVA,__init__,#fANOVA#Any#Any#Any#Any#,16

Before Change


        self.logger = self.name
        // This way the instance features in X are ignored and a new forest is constructed
        // TODO figure out if an already trained forest from the model can be reused!
        self.evaluator = fanova_pyrfr(X=model.X[:, :model.X.shape[1] - len(model.instance_features[0])],
                                      Y=model.y, cs=cs)

    def plot_result(self, name=None):

After Change


        self.name = "fANOVA"
        self.logger = self.name
        // This way the instance features in X are ignored and a new forest is constructed
        self._preprocess(self.X)
        self.evaluator = fanova_pyrfr(X=self.X, Y=self.y.flatten(), config_space=cs, config_on_hypercube=True)

    def _preprocess(self, X):
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: automl/ParameterImportance
Commit Name: 02a646f12b968a7822b0d1b59beae5bc0c78b171
Time: 2017-04-24
Author: biedenka@informatik.uni-freiburg.de
File Name: pimp/evaluator/fanova.py
Class Name: fANOVA
Method Name: __init__


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 92e4a3be4beda3e39ae87ecf2af359584e5cbd16
Time: 2017-08-26
Author: carlo.deramo@gmail.com
File Name: PyPi/approximators/regressor.py
Class Name: Regressor
Method Name: _preprocess_fit


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 92e4a3be4beda3e39ae87ecf2af359584e5cbd16
Time: 2017-08-26
Author: carlo.deramo@gmail.com
File Name: PyPi/approximators/regressor.py
Class Name: Regressor
Method Name: _preprocess_predict