3ce4fd552a89c6fd5e479ad3713418b036337ff6,mushroom_rl/algorithms/value/batch_td/fqi.py,FQI,fit,#FQI#,52

Before Change



        
        if self._boosted:
            if self._target is None:
                self._prediction = 0.
                self._next_q = 0.
                self._idx = 0
            fit = self._fit_boosted
        else:
            fit = self._fit

After Change


                self._target = reward
            else:
                q = self.approximator.predict(next_state)
                if np.any(absorbing):
                    q *= 1 - absorbing.reshape(-1, 1)

                max_q = np.max(q, axis=1)
                self._target = reward + self.mdp_info.gamma * max_q

            self.approximator.fit(state, action, self._target, **self._fit_params)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 3ce4fd552a89c6fd5e479ad3713418b036337ff6
Time: 2021-01-08
Author: carlo.deramo@gmail.com
File Name: mushroom_rl/algorithms/value/batch_td/fqi.py
Class Name: FQI
Method Name: fit


Project Name: mariogeiger/se3cnn
Commit Name: a78d8d153d2354b86a0e40b41fe39c1741447c76
Time: 2019-07-01
Author: blondegeek@gmail.com
File Name: se3cnn/point_utils.py
Class Name:
Method Name: neighbor_feature_matrix


Project Name: modAL-python/modAL
Commit Name: 8a21bc14380cd31d7b514701cf3fc5829f27f3f4
Time: 2018-08-13
Author: theodore.danka@gmail.com
File Name: modAL/batch.py
Class Name:
Method Name: ranked_batch


Project Name: scikit-learn-contrib/DESlib
Commit Name: cd1a5446ce793d09f28d021c466a279301eb51f0
Time: 2018-04-01
Author: rafaelmenelau@gmail.com
File Name: deslib/des/meta_des.py
Class Name: METADES
Method Name: select