Question: how does the rfe measures the importance of the variable?
Answer: RFE is a wrapper-type feature selection algorithm. ... This process is repeated until a specified number of features remains. When the full model is created, a measure of variable importance is computed that ranks the predictors from most important to least.