fa2cd0c7f0d382d2bb3726e9cec392962b9e35a0,mushroom/algorithms/batch_td.py,DeepFQI,draw_action,#DeepFQI#Any#,139

Before Change


        else:
            extended_state = self._buffer.get()

            action = super(DeepFQI, self).draw_action(extended_state)

        self._episode_steps += 1

After Change


                for i in xrange(q.size):
                    features = self._extractor.models[i].predict(
                        np.expand_dims(extended_state, axis=0))
                    q[i] = self.approximator.predict(features)
                return np.array(
                    [np.random.choice(np.argwhere(q == np.max(q)).ravel())])
            return self.mdp_info["action_space"].sample()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AIRLab-POLIMI/mushroom
Commit Name: fa2cd0c7f0d382d2bb3726e9cec392962b9e35a0
Time: 2017-09-11
Author: carlo.deramo@gmail.com
File Name: mushroom/algorithms/batch_td.py
Class Name: DeepFQI
Method Name: draw_action


Project Name: automl/auto-sklearn
Commit Name: 3e48bcfabca9fa430135cd1e6a737fc365943391
Time: 2016-05-29
Author: a.domashnev@gmail.com
File Name: autosklearn/estimators.py
Class Name: AutoSklearnClassifier
Method Name: predict_proba


Project Name: automl/SMAC3
Commit Name: 00b4b8369e1b9f090e8dbdc17d9d1867e3e48674
Time: 2016-01-27
Author: springj@informatik.uni-freiburg.de
File Name: smac/smbo/rf_with_instances.py
Class Name: RandomForestWithInstances
Method Name: predict