e5dd8162e2db914d011e4bb0a12b132ed29f02fc,skater/core/global_interpretation/interpretable_models/brlc.py,BRLC,discretizer,#BRLC#,69

Before Change


                                                 labels=q_labels, duplicates="drop", precision=precision)

            // Drop the column which has been discretized
            new_X = new_X.drop([column_name], axis=1)
            // explicitly convert the labels column to "str" type
            new_X = new_X.astype(dtype={"{}_q_label".format(column_name): "str"})
        return new_X

After Change


                                                 labels=q_labels, duplicates="drop", precision=precision)

            // Drop the continuous feature column which has been discritized
            new_X = new_X.drop([column_name], axis=1) if self.__drop_features else new_X
            // explicitly convert the labels column to "str" type
            new_X = new_X.astype(dtype={"{}_q_label".format(column_name): "str"})
        return new_X
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: datascienceinc/Skater
Commit Name: e5dd8162e2db914d011e4bb0a12b132ed29f02fc
Time: 2018-02-26
Author: pramitchoudhary@ip-172-30-0-2.us-west-2.compute.internal
File Name: skater/core/global_interpretation/interpretable_models/brlc.py
Class Name: BRLC
Method Name: discretizer


Project Name: bulik/ldsc
Commit Name: dbd9858c3a3b9ec61ed1ab91be43002458135606
Time: 2015-03-13
Author: bbuliksullivan@gmail.com
File Name: munge_sumstats.py
Class Name:
Method Name: parse_dat


Project Name: zegami/image-similarity-clustering
Commit Name: cd5029045f015d58cc4cc74fc22136205d245f05
Time: 2020-03-20
Author: douglawrence0010@gmail.com
File Name: tsne_new.py
Class Name:
Method Name: tsne