8503569f0ad75fb1e9e962e79306b2e8e127f947,ml/rl/training/ddpg_predictor.py,DDPGPredictor,export_critic,#Any#Any#Any#Any#Any#Any#,294

Before Change


        parameters.extend(new_parameters)

        // Don"t normalize actions, just go from sparse -> dense
        action_dense_matrix, new_parameters = preprocessor.normalize_sparse_matrix(
            input_feature_lengths,
            input_feature_keys,
            input_feature_values,
            action_normalization_parameters,
            "action_norm",
            False,
            False,
            normalize=False,
        )
        parameters.extend(new_parameters)
        state_action_normalized = "state_action_normalized"
        state_action_normalized_dim = "state_action_normalized_dim"
        net.Concat(

After Change


            C2.net().Copy(["input/float_features.values"], [input_feature_values])

        preprocessor = PreprocessorNet(True)
        sorted_features, _ = sort_features_by_normalization(
            state_normalization_parameters
        )
        state_dense_matrix, new_parameters = sparse_to_dense(
            input_feature_lengths,
            input_feature_keys,
            input_feature_values,
            sorted_features,
        )
        parameters.extend(new_parameters)
        state_normalized_dense_matrix, new_parameters = preprocessor.normalize_dense_matrix(
            state_dense_matrix,
            sorted_features,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: facebookresearch/Horizon
Commit Name: 8503569f0ad75fb1e9e962e79306b2e8e127f947
Time: 2018-10-12
Author: jjg@fb.com
File Name: ml/rl/training/ddpg_predictor.py
Class Name: DDPGPredictor
Method Name: export_critic


Project Name: facebookresearch/Horizon
Commit Name: 8503569f0ad75fb1e9e962e79306b2e8e127f947
Time: 2018-10-12
Author: jjg@fb.com
File Name: ml/rl/test/gridworld/gridworld_base.py
Class Name: GridworldBase
Method Name: preprocess_samples_discrete


Project Name: facebookresearch/Horizon
Commit Name: 8503569f0ad75fb1e9e962e79306b2e8e127f947
Time: 2018-10-12
Author: jjg@fb.com
File Name: ml/rl/test/gridworld/gridworld_continuous.py
Class Name: GridworldContinuous
Method Name: preprocess_samples


Project Name: facebookresearch/Horizon
Commit Name: 8503569f0ad75fb1e9e962e79306b2e8e127f947
Time: 2018-10-12
Author: jjg@fb.com
File Name: ml/rl/training/ddpg_predictor.py
Class Name: DDPGPredictor
Method Name: export_critic