532096f9f9a96f689ee644cdb3560def98a4c410,auto_ml/predictor.py,Predictor,_get_xgb_feat_importances,#Predictor#Any#,279

Before Change


        print("len(fscore_list)")
        print(len(fscore_list))
        print("len(trained_feature_names)")
        print(len(trained_feature_names))


        // for idx, result_list in fscore.view:

After Change


        print("Here are the feature_importances from the tree-based model:")
        print("The printed list will only contain at most the top 50 features.")
        for feature in sorted_feature_infos[-50:]:
            print(feature[0] + ": " + str(round(feature[1] / sum_of_all_feature_importances, 4)))

    def _print_ml_analytics_results_random_forest(self):
        print("\n\nHere are the results from our " + self.trained_pipeline.named_steps["final_model"].model_name)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ClimbsRocks/auto_ml
Commit Name: 532096f9f9a96f689ee644cdb3560def98a4c410
Time: 2016-08-20
Author: ClimbsBytes@gmail.com
File Name: auto_ml/predictor.py
Class Name: Predictor
Method Name: _get_xgb_feat_importances


Project Name: chartbeat-labs/textacy
Commit Name: 2d73fbbe9ec240ff700f9abeb30f12861044389e
Time: 2019-07-14
Author: burtdewilde@gmail.com
File Name: textacy/ke/sgrank.py
Class Name:
Method Name: sgrank


Project Name: Ghadjeres/DeepBach
Commit Name: caf7f0ae508bd8a5212d0ed5a928ad667c57efd8
Time: 2017-07-12
Author: bohumir.zamecnik@gmail.com
File Name: data_utils.py
Class Name:
Method Name: generator_from_raw_dataset