You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but always got the same error TypeError("init() missing 1 required positional argument: 'estimator'") although it seems to me that the estimator has been provided. How should RFE be used?
Than you in advance
The text was updated successfully, but these errors were encountered:
it's a bug. RFE is not part of the unit-testing and I only tested with the popular algos in sklearn. i will try to fix it. the issue is that the algo uses another python object in its argument so i need to unwrap the python object inside the julia structure. thanks for raising this issue. by the way, Adaboost() is a julia algo so the better way is to use the sklearn adaboost using skoperator("AdaBoostClassifier") or skoperator("AdaBoostRegressor") and use this estimator to the RFE. i'll update here if I fix the issue.
Thank you for answer and considering this work, I am in a project where we aim at comparing many combination of feature reduction + ML combinations so it would help us a lot. Kindest regards
I apologize but I am new to Julia. i am trying to perform recursive feature elimination (RFE) in a pipeline:
ada = Adaboost()
disc = CatNumDiscriminator()
pt = PrunedTree()
rfe=SKPreprocessor("RFE",Dict(:estimator=>ada));
pvote = disc |> ((catf |> ohe) + (numf|>rfe)) |> pt
but always got the same error TypeError("init() missing 1 required positional argument: 'estimator'") although it seems to me that the estimator has been provided. How should RFE be used?
Than you in advance
The text was updated successfully, but these errors were encountered: