变量名

特征编码

loan_status

“Fully Paid”: 1, “Charged Off”: 0, “Default”: 0

emp_length

“< 1 year”: 0.5, “1 year”: 1, “2 years”: 2, “3 years”: 3, “4 years”: 4, “5 years”: 5, “6 years”: 6, “7 years”: 7, “8 years”: 8, “9 years”: 9, “10+ years”: 10, np.nan:0

home_ownership

“Own”: 2, ”Mortgage”: 1, ”Rent”: 0

purpose

“credit_card”: 0, “home_improvement”: 1, “debt_consolidation”: 2, “other”: 3, “major_purchase”: 4, “medical”: 5, “small_business”: 6, “car”: 7, “vacation”: 8, “moving”: 9, “house”: 10, “renewable_energy”: 11