An Empirical Study of Frequent Code Edit Patterns In Machine Learning Systems

Refactoring Type : Extract Variable | Total : 10 | Precision : 100.0% | True Positives :10 | Evaluated : 10 | Not Evaluated : 766

Project RefactoringType RefactoringLink CommitLink TrueRefactoring? Description File
keras-team/keras Extract Variable RefactoringLinkCommitLinkYes Extract Variable session_has_key : Any in method package function(inputs Any, outputs Any, updates Any) : void from class org.keras.backend.tensorflow_backend.PyDummyClass3 keras/backend/tensorflow_backend.py
keras-team/keras Extract Variable RefactoringLinkCommitLinkYes Extract Variable function_has_key : Any in method package function(inputs Any, outputs Any, updates Any) : void from class org.keras.backend.tensorflow_backend.PyDummyClass3 keras/backend/tensorflow_backend.py
keras-team/keras Extract Variable RefactoringLinkCommitLinkYes Extract Variable zero_expr_shape : Any in method package Switch(condition Any, then_expression Any, else_expression Any) : void from class org.keras.backend.tensorflow_backend.PyDummyClass3 keras/backend/tensorflow_backend.py
keras-team/keras Extract Variable RefactoringLinkCommitLinkYes Extract Variable tmp : Any in method package ctc_label_dense_to_sparse(labels Any, label_lengths Any) : void from class org.keras.backend.tensorflow_backend.PyDummyClass3 keras/backend/tensorflow_backend.py
keras-team/keras Extract Variable RefactoringLinkCommitLinkYes Extract Variable indices : Any in method package ctc_label_dense_to_sparse(labels Any, label_lengths Any) : void from class org.keras.backend.tensorflow_backend.PyDummyClass3 keras/backend/tensorflow_backend.py
keras-team/keras Extract Variable RefactoringLinkCommitLinkYes Extract Variable label_shape : Any in method package ctc_label_dense_to_sparse(labels Any, label_lengths Any) : void from class org.keras.backend.tensorflow_backend.PyDummyClass3 keras/backend/tensorflow_backend.py
keras-team/keras Extract Variable RefactoringLinkCommitLinkYes Extract Variable trained : Any in method package _old_normalize_batch_in_training(x Any, gamma Any, beta Any, reduction_axes Any, epsilon Any) : void from class org.keras.backend.theano_backend.PyDummyClass1 keras/backend/theano_backend.py
keras-team/keras Extract Variable RefactoringLinkCommitLinkYes Extract Variable fieldnames : Union<Any[],String[]> in method package on_epoch_end(self CSVLogger, epoch Any, logs Any) : void from class org.keras.callbacks.CSVLogger keras/callbacks.py
rail-berkeley/softlearning Extract Variable RefactoringLinkCommitLinkYes Extract Variable algorithm_params : Any in method package get_variant_spec(universe Any, domain Any, task Any, policy Any, algorithm Any) : void from class org.examples.development.variants.PyDummyClass1 examples/development/variants.py
YerevaNN/mimic3-benchmarks Extract Variable RefactoringLinkCommitLinkYes Extract Variable name : Any in method package read_example(self DecompensationReader, index Any) : void from class org.mimic3benchmark.readers.DecompensationReader mimic3benchmark/readers.py