← 返回题库
高级

从loans_featured生成最终建模特征集

未完成

示例

输入
solve()
期望输出
入模特征数: 41
特征列: ['loanAmnt', 'term', 'interestRate', 'installment', 'grade', 'subGrade', 'employmentLength', 'homeOwnership', 'annualIncome', 'verificationStatus', 'purpose', 'regionCode', 'dti', 'delinquency_2years', 'ficoRangeLow', 'ficoRangeHigh', 'openAcc', 'pubRec', 'pubRecBankruptcies', 'revolBal', 'revolUtil', 'totalAcc', 'initialListStatus', 'applicationType', 'policyCode', 'credit_history_months', 'issue_year', 'issue_month', 'fico_mid', 'income_to_loan', 'acc_util', 'payment_pressure', 'log_income', 'log_revolBal', 'risk_index', 'loanAmnt_bin_woe', 'dti_bin_woe', 'fico_mid_bin_woe', 'revolUtil_bin_woe', 'grade_woe', 'term_woe']
X_train: (8000, 41), X_test: (2000, 41)
Python 代码 🔒 登录后使用
🔒

登录后即可练习

注册免费账号,在浏览器中直接运行 Python 代码