@@ -48,17 +48,17 @@ It recursively removes features, training a base model on the remaining features
4848evaluating their importance until the desired number of features is selected.
4949
5050Construct an instance with default hyper-parameters using the syntax
51- `model = RecursiveFeatureElimination(model=...)`. Provide keyword arguments to override
51+ `rfe_model = RecursiveFeatureElimination(model=...)`. Provide keyword arguments to override
5252hyper-parameter defaults.
5353
5454# Training data
55- In MLJ or MLJBase, bind an instance `model ` to data with
55+ In MLJ or MLJBase, bind an instance `rfe_model ` to data with
5656
57- mach = machine(model , X, y)
57+ mach = machine(rfe_model , X, y)
5858
5959OR, if the base model supports weights, as
6060
61- mach = machine(model , X, y, w)
61+ mach = machine(rfe_model , X, y, w)
6262
6363Here:
6464
387387function MMI. training_losses (model:: RFE , rfe_report)
388388 return MMI. training_losses (model. model, rfe_report. model_report)
389389end
390+
391+ # # Pkg Traits
392+ MMI. metadata_pkg .(
393+ (
394+ DeterministicRecursiveFeatureElimination,
395+ ProbabilisticRecursiveFeatureElimination,
396+ ),
397+ package_name = " FeatureSelection" ,
398+ package_uuid = " 33837fe5-dbff-4c9e-8c2f-c5612fe2b8b6" ,
399+ package_url = " https://github.com/JuliaAI/FeatureSelection.jl" ,
400+ is_pure_julia = true ,
401+ package_license = " MIT"
402+ )
0 commit comments