33851dea0f6c75ca1e685037393ea7160506b53a,auto_ml/predictor.py,Predictor,_prepare_for_training,#Predictor#Any#,207

Before Change


                print("These were the bad values")
                print(bad_vals)
                indices_to_delete = set(indices_to_delete)
                X = [row for idx, row in enumerate(X) if idx not in indices_to_delete]

        return X, y

After Change


            print("We encountered a number of missing values for this output column")
            print("Specifically, here is the output column:")
            print(self.output_column)
            print("And here is the number of missing (nan, None, etc.) values for this column:")
            print(bad_rows.shape[0])
            print("We will remove these values, and continue with training on the cleaned dataset")
        X_df = X_df.dropna(subset=[self.output_column])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ClimbsRocks/auto_ml
Commit Name: 33851dea0f6c75ca1e685037393ea7160506b53a
Time: 2016-10-08
Author: climbsbytes@gmail.com
File Name: auto_ml/predictor.py
Class Name: Predictor
Method Name: _prepare_for_training


Project Name: asyml/texar
Commit Name: 42efaa53edce9b84a98fef1fce24502e6d2ba941
Time: 2017-12-08
Author: shore@pku.edu.cn
File Name: examples/transformer.py
Class Name:
Method Name:


Project Name: AlexEMG/DeepLabCut
Commit Name: ef59c0f5b64e5a3e76790855795a6393c5858963
Time: 2020-05-27
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/generate_training_dataset/multiple_individuals_labeling_toolbox.py
Class Name: MainFrame
Method Name: browseDir