Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mrmr_classic() calls mrmr_ensemble() with unexpected argument #9

Open
strixy16 opened this issue Apr 19, 2023 · 0 comments
Open

mrmr_classic() calls mrmr_ensemble() with unexpected argument #9

strixy16 opened this issue Apr 19, 2023 · 0 comments

Comments

@strixy16
Copy link

When trying to run mrmr_classic() as,

mrmr.mrmr_classic(features = originalFeatures, target_features=pdbinOutcomeStatus, solution_length=15, estimator='spearman', feature_types=['float'])

I get the following error

    140 def mrmr_classic(features: pd.DataFrame,
    141                  target_features : list,
    142                  feature_types : list,
   (...)
    146                  estimator : str = 'pearson',
    147                  return_index : bool = False):
--> 149     return mrmr_ensemble(features=features, target_features=target_features, fixed_features= fixed_features,
    150                          feature_types = feature_types, solution_length = solution_length, solution_count = 1, 
    151                          method = method, estimator = estimator, return_index = return_index)

TypeError: mrmr_ensemble() got an unexpected keyword argument 'target_features' 

It also looks like mrmr_classic() calls mrmr_ensemble() with feature_types, but the ensemble function doesn't expect that argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant