Answers for "calculate vif in python"

0

calculate vif in python

vif = pd.DataFrame()
vif["vif"] = [variance_inflation_factor(X_scaled,i) for i in range(X_scaled.shape[1])]
vif["Features"] = X.columns
vif
Posted by: Guest on May-10-2021

Python Answers by Framework

Browse Popular Code Answers by Language