Skip to content

Instantly share code, notes, and snippets.

@matrix303
Last active August 6, 2020 03:09
Show Gist options
  • Select an option

  • Save matrix303/4ff0b8ec51ad68431e8ed57bfa1b94cf to your computer and use it in GitHub Desktop.

Select an option

Save matrix303/4ff0b8ec51ad68431e8ed57bfa1b94cf to your computer and use it in GitHub Desktop.
Boruta and Classification #python #DataScience
feat_true, feat_top_rank = boruta_MP(l_mat,l_label,l_title,l_features,nest='auto',top_rank=5)
# TRUE Feat
l_cv = 3,5,6,7
times = 5
for i,feat in enumerate(true_feat_T10_R5_tres100):
l_mat_true_T10_R5_tres100, l_label_true_T10_R5_tres100, l_title_true_T10_R5_tres100, _ = get_data_lists(feat)
# print(feat)
ca_results_True_T10_R5_tres100 = classify_MP([l_mat_true_T10_R5_tres100[i]],[l_label_true_T10_R5_tres100[i]],[l_title_true_T10_R5_tres100[i]],l_cv,times,nest=10,max_depth=6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment