extract selected features

Forums Feature preprocessor questions extract selected features

  • Author
    Posts
  • #2850
    jloke
    Member

    Hello, when using select_or_exclude_top_k_features_FP, how can I get the information of the features that were chosen?
    I do see current_FP_info_to_save = get_current_info_to_save(fp) but have been unable to retrieve the information that way.
    The following is a snippet of this code:

    the_feature_preprocessors{2} = select_or_exclude_top_k_features_FP;
    the_feature_preprocessors{2}.num_features_to_use = 15;
    the_cross_validator=standard_resample_CV(ds, the_classifier, the_feature_preprocessors);
    DECODING_RESULTS = the_cross_validator.run_cv_decoding;
    the_feature_preprocessors{2}.save_extra_info = 1;
    current_FP_info_to_save = the_feature_preprocessors{2}.get_current_info_to_save;

    Thank you in advance.

    #4849
    MarColnaghi
    Participant

    Hello!
    Were you able to solve this issue? I’m having the same problem and I would love some help to tackle it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.