12. Create Feature List
Create a feature list¶
A feature list is an essential component in machine learning, comprising a collection of features that are used to train models. Let's compile a feature list using the features we've created.
For those in an enterprise setting, explore FeatureByte's Feature Ideation which adopts an agentic approach to ideate features tailored to your use case.
In [1]:
Copied!
import featurebyte as fb
import pandas as pd
# Set your profile to the tutorial environment
fb.use_profile("tutorial")
catalog_name = "Credit Default Dataset SDK Tutorial"
catalog = fb.Catalog.activate(catalog_name)
import featurebyte as fb
import pandas as pd
# Set your profile to the tutorial environment
fb.use_profile("tutorial")
catalog_name = "Credit Default Dataset SDK Tutorial"
catalog = fb.Catalog.activate(catalog_name)
16:43:56 | WARNING | Service endpoint is inaccessible: http://featurebyte-server:8088/ 16:43:56 | INFO | Using profile: tutorial 16:43:56 | INFO | Using configuration file at: /Users/gxav/.featurebyte/config.yaml 16:43:56 | INFO | Active profile: tutorial (https://tutorials.featurebyte.com/api/v1) 16:43:56 | INFO | SDK version: 2.1.0.dev113 16:43:56 | INFO | No catalog activated. 16:43:56 | INFO | Catalog activated: Credit Default Dataset SDK Tutorial 16:11:44 | WARNING | Remote SDK version (1.1.0.dev7) is different from local (1.1.0.dev1). Update local SDK to avoid unexpected behavior. 16:11:44 | INFO | No catalog activated. 16:11:44 | INFO | Catalog activated: Grocery Dataset Tutorial
List all features we created so far¶
In [2]:
Copied!
catalog.list_features()
catalog.list_features()
Out[2]:
id | name | dtype | readiness | online_enabled | tables | primary_tables | entities | primary_entities | created_at | |
---|---|---|---|---|---|---|---|---|---|---|
0 | 67c2c8a968cceb0fcfc634cf | CLIENT_Consumer_installments_records_AMT_PAYME... | OBJECT | DRAFT | False | [CONSUMER_LOAN_STATUS, CONSUMER_INSTALLMENTS] | [CONSUMER_INSTALLMENTS] | [Client] | [Client] | 2025-03-01T08:43:25.680000 |
1 | 67c2c8a968cceb0fcfc634d0 | CLIENT_Count_of_Consumer_installments_records_... | OBJECT | DRAFT | False | [CONSUMER_LOAN_STATUS, CONSUMER_INSTALLMENTS] | [CONSUMER_INSTALLMENTS] | [Client] | [Client] | 2025-03-01T08:43:25.254000 |
2 | 67c2c8a968cceb0fcfc634ce | CLIENT_Temporal_Mean_of_Sums_of_Consumer_insta... | FLOAT | DRAFT | False | [CONSUMER_LOAN_STATUS, CONSUMER_INSTALLMENTS] | [CONSUMER_INSTALLMENTS] | [Client] | [Client] | 2025-03-01T08:43:24.835000 |
3 | 67c2c8a968cceb0fcfc634d1 | CLIENT_Avg_of_Late_Status_Consumer_installment... | FLOAT | DRAFT | False | [CONSUMER_LOAN_STATUS, CONSUMER_INSTALLMENTS] | [CONSUMER_INSTALLMENTS] | [Client] | [Client] | 2025-03-01T08:43:24.373000 |
4 | 67c2c8a968cceb0fcfc634c8 | CLIENT_Avg_of_Consumer_installments_records_AM... | FLOAT | DRAFT | False | [CONSUMER_LOAN_STATUS, CONSUMER_INSTALLMENTS] | [CONSUMER_INSTALLMENTS] | [Client] | [Client] | 2025-03-01T08:43:23.967000 |
5 | 67c2c8a968cceb0fcfc634c7 | CLIENT_Min_of_Consumer_installments_records_AM... | FLOAT | DRAFT | False | [CONSUMER_LOAN_STATUS, CONSUMER_INSTALLMENTS] | [CONSUMER_INSTALLMENTS] | [Client] | [Client] | 2025-03-01T08:43:23.555000 |
6 | 67c2c8a968cceb0fcfc634cb | CLIENT_Min_of_Consumer_installments_records_Co... | FLOAT | DRAFT | False | [CONSUMER_LOAN_STATUS, CONSUMER_INSTALLMENTS] | [CONSUMER_INSTALLMENTS] | [Client] | [Client] | 2025-03-01T08:43:23.148000 |
7 | 67c2c8a968cceb0fcfc634ca | CLIENT_Max_of_Consumer_installments_records_Co... | FLOAT | DRAFT | False | [CONSUMER_LOAN_STATUS, CONSUMER_INSTALLMENTS] | [CONSUMER_INSTALLMENTS] | [Client] | [Client] | 2025-03-01T08:43:22.709000 |
8 | 67c2c8a968cceb0fcfc634c9 | CLIENT_Max_of_Consumer_installments_records_Pa... | FLOAT | DRAFT | False | [CONSUMER_LOAN_STATUS, CONSUMER_INSTALLMENTS] | [CONSUMER_INSTALLMENTS] | [Client] | [Client] | 2025-03-01T08:43:22.281000 |
9 | 67c2c8898599e1bb9553d1ad | CLIENT_Max_of_Consumer_Loan_terminations_Consu... | FLOAT | DRAFT | False | [CONSUMER_LOAN_STATUS] | [CONSUMER_LOAN_STATUS] | [Client] | [Client] | 2025-03-01T08:42:56.973000 |
10 | 67c2c8898599e1bb9553d1ac | CLIENT_Consumer_Loan_GOODS_CATEGORY_with_Lowes... | VARCHAR | DRAFT | False | [CONSUMER_LOAN_STATUS] | [CONSUMER_LOAN_STATUS] | [Client] | [Client] | 2025-03-01T08:42:51.380000 |
11 | 67c2c85b2bf6ba54be64a566 | CLIENT_Approved_Status_Prior_Applications_AMT_... | OBJECT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:12.123000 |
12 | 67c2c85b2bf6ba54be64a561 | CLIENT_Avg_of_Approved_Status_Prior_Applicatio... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:11.739000 |
13 | 67c2c85b2bf6ba54be64a565 | CLIENT_Avg_of_Approved_Status_Prior_Applicatio... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:11.372000 |
14 | 67c2c85b2bf6ba54be64a557 | CLIENT_Avg_of_Prior_Applications_CNT_PAYMENTs_... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:11.011000 |
15 | 67c2c85b2bf6ba54be64a56a | CLIENT_Count_of_Cash_loans_Contract_type_Prior... | OBJECT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:10.665000 |
16 | 67c2c85b2bf6ba54be64a559 | CLIENT_Count_of_Prior_Applications_by_Prior_Ap... | OBJECT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:10.267000 |
17 | 67c2c85b2bf6ba54be64a567 | CLIENT_Latest_Refused_Status_Cash_loans_Contra... | VARCHAR | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:09.920000 |
18 | 67c2c85b2bf6ba54be64a570 | CLIENT_Max_of_Time_between_2_Approved_Status_P... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:09.528000 |
19 | 67c2c85b2bf6ba54be64a56f | CLIENT_Max_of_Time_between_2_Prior_Application... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:09.096000 |
20 | 67c2c85b2bf6ba54be64a568 | CLIENT_Latest_Revolving_loans_Contract_type_Pr... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:08.684000 |
21 | 67c2c85b2bf6ba54be64a55f | CLIENT_Min_of_Approved_Status_Cash_loans_Contr... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:08.319000 |
22 | 67c2c85b2bf6ba54be64a562 | CLIENT_Max_of_Approved_Status_Prior_Applicatio... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:07.900000 |
23 | 67c2c85b2bf6ba54be64a569 | CLIENT_Min_of_Cash_loans_Contract_type_Prior_A... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:07.543000 |
24 | 67c2c85b2bf6ba54be64a55a | CLIENT_Max_of_Prior_Applications_AMT_CREDIT_To... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:07.177000 |
25 | 67c2c85b2bf6ba54be64a55b | CLIENT_Max_of_Prior_Applications_Application-C... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:06.802000 |
26 | 67c2c85b2bf6ba54be64a558 | CLIENT_Max_of_Prior_Applications_CNT_PAYMENTs_... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:06.420000 |
27 | 67c2c85b2bf6ba54be64a55c | CLIENT_Pct_of_Prior_Applications_is_Refused_St... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:06.067000 |
28 | 67c2c85b2bf6ba54be64a55d | CLIENT_Pct_of_Prior_Applications_is_Refused_St... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:05.696000 |
29 | 67c2c85b2bf6ba54be64a56d | CLIENT_Sum_of_Approved_Status_Prior_Applicatio... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:05.303000 |
30 | 67c2c85b2bf6ba54be64a56c | CLIENT_Time_Since_Latest_Prior_Application_DEC... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:04.845000 |
31 | 67c2c85b2bf6ba54be64a56e | CLIENT_vs_OVERALL_Count_of_Approved_Status_Cas... | FLOAT | DRAFT | False | [PRIOR_APPLICATIONS] | [PRIOR_APPLICATIONS] | [Client] | [Client] | 2025-03-01T08:42:04.475000 |
32 | 67c2c82e3bb5b209f32ea35d | NEW_APPLICATION_AMT_ANNUITY | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:24.718000 |
33 | 67c2c82e3bb5b209f32ea365 | NEW_APPLICATION_AMT_ANNUITY_To_AMT_CREDIT | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:24.406000 |
34 | 67c2c82e3bb5b209f32ea367 | NEW_APPLICATION_AMT_ANNUITY_To_AMT_GOODS_VALUE | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:24.079000 |
35 | 67c2c82e3bb5b209f32ea35c | NEW_APPLICATION_AMT_CREDIT | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:23.759000 |
36 | 67c2c82e3bb5b209f32ea366 | NEW_APPLICATION_AMT_GOODS_VALUE_To_AMT_CREDIT | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:23.446000 |
37 | 67c2c82e3bb5b209f32ea364 | NEW_APPLICATION_AMT_REQ_CREDIT_BUREAU_QRT | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:23.058000 |
38 | 67c2c82e3bb5b209f32ea357 | NEW_APPLICATION_CODE_GENDER | VARCHAR | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:22.708000 |
39 | 67c2c82e3bb5b209f32ea368 | NEW_APPLICATION_Credit-Goods_Gap | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:22.383000 |
40 | 67c2c82e3bb5b209f32ea35f | NEW_APPLICATION_DAYS_EMPLOYED | INT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:22.027000 |
41 | 67c2c82e3bb5b209f32ea361 | NEW_APPLICATION_DAYS_LAST_PHONE_CHANGE | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:21.673000 |
42 | 67c2c82e3bb5b209f32ea360 | NEW_APPLICATION_DAYS_REGISTRATION | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:21.359000 |
43 | 67c2c82e3bb5b209f32ea359 | NEW_APPLICATION_EDUCATION_TYPE | VARCHAR | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:21.044000 |
44 | 67c2c82e3bb5b209f32ea363 | NEW_APPLICATION_FLAG_DOCUMENT_3 | INT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:20.733000 |
45 | 67c2c82e3bb5b209f32ea362 | NEW_APPLICATION_FLOORSMAX_MEDI | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:20.416000 |
46 | 67c2c82e3bb5b209f32ea358 | NEW_APPLICATION_INCOME_TYPE | VARCHAR | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:20.107000 |
47 | 67c2c82e3bb5b209f32ea35a | NEW_APPLICATION_OCCUPATION_TYPE | VARCHAR | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:19.809000 |
48 | 67c2c82e3bb5b209f32ea35b | NEW_APPLICATION_ORGANIZATION_TYPE | VARCHAR | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:19.486000 |
49 | 67c2c82e3bb5b209f32ea35e | NEW_APPLICATION_REGION_POPULATION_RELATIVE | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:19.168000 |
50 | 67c2c82e3bb5b209f32ea36a | NEW_APPLICATION_Time_To_BIRTHDATE | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-03-01T08:41:18.811000 |
Get features from catalog¶
In [3]:
Copied!
new_application_amt_annuity = catalog.get_feature("NEW_APPLICATION_AMT_ANNUITY")
new_application_amt_annuity_to_amt_credit = catalog.get_feature("NEW_APPLICATION_AMT_ANNUITY_To_AMT_CREDIT")
new_application_amt_annuity_to_amt_goods_value = catalog.get_feature("NEW_APPLICATION_AMT_ANNUITY_To_AMT_GOODS_VALUE")
new_application_amt_credit = catalog.get_feature("NEW_APPLICATION_AMT_CREDIT")
new_application_amt_goods_value_to_amt_credit = catalog.get_feature("NEW_APPLICATION_AMT_GOODS_VALUE_To_AMT_CREDIT")
new_application_amt_req_credit_bureau_qrt = catalog.get_feature("NEW_APPLICATION_AMT_REQ_CREDIT_BUREAU_QRT")
new_application_code_gender = catalog.get_feature("NEW_APPLICATION_CODE_GENDER")
new_application_credit_goods_gap = catalog.get_feature("NEW_APPLICATION_Credit-Goods_Gap")
new_application_days_employed = catalog.get_feature("NEW_APPLICATION_DAYS_EMPLOYED")
new_application_days_last_phone_change = catalog.get_feature("NEW_APPLICATION_DAYS_LAST_PHONE_CHANGE")
new_application_days_registration = catalog.get_feature("NEW_APPLICATION_DAYS_REGISTRATION")
new_application_education_type = catalog.get_feature("NEW_APPLICATION_EDUCATION_TYPE")
new_application_flag_document_3 = catalog.get_feature("NEW_APPLICATION_FLAG_DOCUMENT_3")
new_application_floorsmax_medi = catalog.get_feature("NEW_APPLICATION_FLOORSMAX_MEDI")
new_application_income_type = catalog.get_feature("NEW_APPLICATION_INCOME_TYPE")
new_application_occupation_type = catalog.get_feature("NEW_APPLICATION_OCCUPATION_TYPE")
new_application_organization_type = catalog.get_feature("NEW_APPLICATION_ORGANIZATION_TYPE")
new_application_region_population_relative = catalog.get_feature("NEW_APPLICATION_REGION_POPULATION_RELATIVE")
new_application_time_to_birthdate = catalog.get_feature("NEW_APPLICATION_Time_To_BIRTHDATE")
client_max_of_consumer_loan_terminations_consumer_loan_amt_annuitys_104w = catalog.get_feature(
"CLIENT_Max_of_Consumer_Loan_terminations_Consumer_Loan_AMT_ANNUITYs_104w"
)
client_consumer_loan_goods_category_with_lowest_sum_of_active_consumer_loans_amt_credits = catalog.get_feature(
"CLIENT_Consumer_Loan_GOODS_CATEGORY_with_Lowest_sum_of_active_Consumer_Loans_AMT_CREDITs"
)
client_avg_of_consumer_installments_records_amt_payments_24cmo = catalog.get_feature(
"CLIENT_Avg_of_Consumer_installments_records_AMT_PAYMENTs_24cMo"
)
client_avg_of_late_status_consumer_installments_records_amt_payments_24cmo = catalog.get_feature(
"CLIENT_Avg_of_Late_Status_Consumer_installments_records_AMT_PAYMENTs_24cMo"
)
client_consumer_installments_records_amt_payments_by_consumer_installments_record_installment_status_6cmo = catalog.get_feature(
"CLIENT_Consumer_installments_records_AMT_PAYMENTs_by_Consumer_installments_record_INSTALLMENT_STATUS_6cMo"
)
client_count_of_consumer_installments_records_by_consumer_loan_yield_group_24cmo = catalog.get_feature(
"CLIENT_Count_of_Consumer_installments_records_by_Consumer_Loan_YIELD_GROUP_24cMo"
)
client_min_of_consumer_installments_records_amt_payments_12cmo = catalog.get_feature(
"CLIENT_Min_of_Consumer_installments_records_AMT_PAYMENTs_12cMo"
)
client_min_of_consumer_installments_records_consumer_loan_amt_credit_to_amt_applications_24cmo = catalog.get_feature(
"CLIENT_Min_of_Consumer_installments_records_Consumer_Loan_AMT_CREDIT_To_AMT_APPLICATIONs_24cMo"
)
client_max_of_consumer_installments_records_consumer_loan_amt_applications_24cmo = catalog.get_feature(
"CLIENT_Max_of_Consumer_installments_records_Consumer_Loan_AMT_APPLICATIONs_24cMo"
)
client_max_of_consumer_installments_records_payment_delays_24cmo = catalog.get_feature(
"CLIENT_Max_of_Consumer_installments_records_Payment_Delays_24cMo"
)
client_temporal_mean_of_sums_of_consumer_installments_records_consumer_loan_amt_annuitys_24cmo = catalog.get_feature(
"CLIENT_Temporal_Mean_of_Sums_of_Consumer_installments_records_Consumer_Loan_AMT_ANNUITYs_24cMo"
)
client_approved_status_prior_applications_amt_credits_by_prior_application_yield_group_104w = catalog.get_feature(
"CLIENT_Approved_Status_Prior_Applications_AMT_CREDITs_by_Prior_Application_YIELD_GROUP_104w"
)
client_avg_of_approved_status_prior_applications_amt_annuitys_104w = catalog.get_feature(
"CLIENT_Avg_of_Approved_Status_Prior_Applications_AMT_ANNUITYs_104w"
)
client_avg_of_approved_status_prior_applications_cnt_payments_104w = catalog.get_feature(
"CLIENT_Avg_of_Approved_Status_Prior_Applications_CNT_PAYMENTs_104w"
)
client_avg_of_prior_applications_cnt_payments_104w = catalog.get_feature(
"CLIENT_Avg_of_Prior_Applications_CNT_PAYMENTs_104w"
)
client_count_of_cash_loans_contract_type_prior_applications_by_prior_application_yield_group_104w = catalog.get_feature(
"CLIENT_Count_of_Cash_loans_Contract_type_Prior_Applications_by_Prior_Application_YIELD_GROUP_104w"
)
client_count_of_prior_applications_by_prior_application_yield_group_104w = catalog.get_feature(
"CLIENT_Count_of_Prior_Applications_by_Prior_Application_YIELD_GROUP_104w"
)
client_latest_refused_status_cash_loans_contract_type_prior_application_yield_group_104w = catalog.get_feature(
"CLIENT_Latest_Refused_Status_Cash_loans_Contract_type_Prior_Application_YIELD_GROUP_104w"
)
client_max_of_time_between_2_approved_status_prior_applications_for_the_client_104w = catalog.get_feature(
"CLIENT_Max_of_Time_between_2_Approved_Status_Prior_Applications_for_the_Client_104w"
)
client_max_of_time_between_2_prior_applications_for_the_client_104w = catalog.get_feature(
"CLIENT_Max_of_Time_between_2_Prior_Applications_for_the_Client_104w"
)
client_latest_revolving_loans_contract_type_prior_application_amt_application_104w = catalog.get_feature(
"CLIENT_Latest_Revolving_loans_Contract_type_Prior_Application_AMT_APPLICATION_104w"
)
client_min_of_approved_status_cash_loans_contract_type_prior_applications_amt_annuity_to_amt_credits_104w = catalog.get_feature(
"CLIENT_Min_of_Approved_Status_Cash_loans_Contract_type_Prior_Applications_AMT_ANNUITY_To_AMT_CREDITs_104w"
)
client_max_of_approved_status_prior_applications_amt_annuitys_104w = catalog.get_feature(
"CLIENT_Max_of_Approved_Status_Prior_Applications_AMT_ANNUITYs_104w"
)
client_min_of_cash_loans_contract_type_prior_applications_cnt_payments_104w = catalog.get_feature(
"CLIENT_Min_of_Cash_loans_Contract_type_Prior_Applications_CNT_PAYMENTs_104w"
)
client_max_of_prior_applications_amt_credit_to_amt_applications_104w = catalog.get_feature(
"CLIENT_Max_of_Prior_Applications_AMT_CREDIT_To_AMT_APPLICATIONs_104w"
)
client_max_of_prior_applications_application_credit_gaps_104w = catalog.get_feature(
"CLIENT_Max_of_Prior_Applications_Application-Credit_Gaps_104w"
)
client_max_of_prior_applications_cnt_payments_104w = catalog.get_feature(
"CLIENT_Max_of_Prior_Applications_CNT_PAYMENTs_104w"
)
client_pct_of_prior_applications_is_refused_status_52w = catalog.get_feature(
"CLIENT_Pct_of_Prior_Applications_is_Refused_Status_52w"
)
client_pct_of_prior_applications_is_refused_status_cash_loans_contract_type_104w = catalog.get_feature(
"CLIENT_Pct_of_Prior_Applications_is_Refused_Status_Cash_loans_Contract_type_104w"
)
client_sum_of_approved_status_prior_applications_amt_annuitys_to_sum_of_approved_status_prior_applications_amt_credits_104w = catalog.get_feature(
"CLIENT_Sum_of_Approved_Status_Prior_Applications_AMT_ANNUITYs_To_Sum_of_Approved_Status_Prior_Applications_AMT_CREDITs_104w"
)
client_time_since_latest_prior_application_decision_date_104w = catalog.get_feature(
"CLIENT_Time_Since_Latest_Prior_Application_DECISION_DATE_104w"
)
client_vs_overall_count_of_approved_status_cash_loans_contract_type_prior_applications_by_prior_application_product_combination_104w = catalog.get_feature(
"CLIENT_vs_OVERALL_Count_of_Approved_Status_Cash_loans_Contract_type_Prior_Applications_by_Prior_Application_PRODUCT_COMBINATION_104w"
)
new_application_amt_annuity = catalog.get_feature("NEW_APPLICATION_AMT_ANNUITY")
new_application_amt_annuity_to_amt_credit = catalog.get_feature("NEW_APPLICATION_AMT_ANNUITY_To_AMT_CREDIT")
new_application_amt_annuity_to_amt_goods_value = catalog.get_feature("NEW_APPLICATION_AMT_ANNUITY_To_AMT_GOODS_VALUE")
new_application_amt_credit = catalog.get_feature("NEW_APPLICATION_AMT_CREDIT")
new_application_amt_goods_value_to_amt_credit = catalog.get_feature("NEW_APPLICATION_AMT_GOODS_VALUE_To_AMT_CREDIT")
new_application_amt_req_credit_bureau_qrt = catalog.get_feature("NEW_APPLICATION_AMT_REQ_CREDIT_BUREAU_QRT")
new_application_code_gender = catalog.get_feature("NEW_APPLICATION_CODE_GENDER")
new_application_credit_goods_gap = catalog.get_feature("NEW_APPLICATION_Credit-Goods_Gap")
new_application_days_employed = catalog.get_feature("NEW_APPLICATION_DAYS_EMPLOYED")
new_application_days_last_phone_change = catalog.get_feature("NEW_APPLICATION_DAYS_LAST_PHONE_CHANGE")
new_application_days_registration = catalog.get_feature("NEW_APPLICATION_DAYS_REGISTRATION")
new_application_education_type = catalog.get_feature("NEW_APPLICATION_EDUCATION_TYPE")
new_application_flag_document_3 = catalog.get_feature("NEW_APPLICATION_FLAG_DOCUMENT_3")
new_application_floorsmax_medi = catalog.get_feature("NEW_APPLICATION_FLOORSMAX_MEDI")
new_application_income_type = catalog.get_feature("NEW_APPLICATION_INCOME_TYPE")
new_application_occupation_type = catalog.get_feature("NEW_APPLICATION_OCCUPATION_TYPE")
new_application_organization_type = catalog.get_feature("NEW_APPLICATION_ORGANIZATION_TYPE")
new_application_region_population_relative = catalog.get_feature("NEW_APPLICATION_REGION_POPULATION_RELATIVE")
new_application_time_to_birthdate = catalog.get_feature("NEW_APPLICATION_Time_To_BIRTHDATE")
client_max_of_consumer_loan_terminations_consumer_loan_amt_annuitys_104w = catalog.get_feature(
"CLIENT_Max_of_Consumer_Loan_terminations_Consumer_Loan_AMT_ANNUITYs_104w"
)
client_consumer_loan_goods_category_with_lowest_sum_of_active_consumer_loans_amt_credits = catalog.get_feature(
"CLIENT_Consumer_Loan_GOODS_CATEGORY_with_Lowest_sum_of_active_Consumer_Loans_AMT_CREDITs"
)
client_avg_of_consumer_installments_records_amt_payments_24cmo = catalog.get_feature(
"CLIENT_Avg_of_Consumer_installments_records_AMT_PAYMENTs_24cMo"
)
client_avg_of_late_status_consumer_installments_records_amt_payments_24cmo = catalog.get_feature(
"CLIENT_Avg_of_Late_Status_Consumer_installments_records_AMT_PAYMENTs_24cMo"
)
client_consumer_installments_records_amt_payments_by_consumer_installments_record_installment_status_6cmo = catalog.get_feature(
"CLIENT_Consumer_installments_records_AMT_PAYMENTs_by_Consumer_installments_record_INSTALLMENT_STATUS_6cMo"
)
client_count_of_consumer_installments_records_by_consumer_loan_yield_group_24cmo = catalog.get_feature(
"CLIENT_Count_of_Consumer_installments_records_by_Consumer_Loan_YIELD_GROUP_24cMo"
)
client_min_of_consumer_installments_records_amt_payments_12cmo = catalog.get_feature(
"CLIENT_Min_of_Consumer_installments_records_AMT_PAYMENTs_12cMo"
)
client_min_of_consumer_installments_records_consumer_loan_amt_credit_to_amt_applications_24cmo = catalog.get_feature(
"CLIENT_Min_of_Consumer_installments_records_Consumer_Loan_AMT_CREDIT_To_AMT_APPLICATIONs_24cMo"
)
client_max_of_consumer_installments_records_consumer_loan_amt_applications_24cmo = catalog.get_feature(
"CLIENT_Max_of_Consumer_installments_records_Consumer_Loan_AMT_APPLICATIONs_24cMo"
)
client_max_of_consumer_installments_records_payment_delays_24cmo = catalog.get_feature(
"CLIENT_Max_of_Consumer_installments_records_Payment_Delays_24cMo"
)
client_temporal_mean_of_sums_of_consumer_installments_records_consumer_loan_amt_annuitys_24cmo = catalog.get_feature(
"CLIENT_Temporal_Mean_of_Sums_of_Consumer_installments_records_Consumer_Loan_AMT_ANNUITYs_24cMo"
)
client_approved_status_prior_applications_amt_credits_by_prior_application_yield_group_104w = catalog.get_feature(
"CLIENT_Approved_Status_Prior_Applications_AMT_CREDITs_by_Prior_Application_YIELD_GROUP_104w"
)
client_avg_of_approved_status_prior_applications_amt_annuitys_104w = catalog.get_feature(
"CLIENT_Avg_of_Approved_Status_Prior_Applications_AMT_ANNUITYs_104w"
)
client_avg_of_approved_status_prior_applications_cnt_payments_104w = catalog.get_feature(
"CLIENT_Avg_of_Approved_Status_Prior_Applications_CNT_PAYMENTs_104w"
)
client_avg_of_prior_applications_cnt_payments_104w = catalog.get_feature(
"CLIENT_Avg_of_Prior_Applications_CNT_PAYMENTs_104w"
)
client_count_of_cash_loans_contract_type_prior_applications_by_prior_application_yield_group_104w = catalog.get_feature(
"CLIENT_Count_of_Cash_loans_Contract_type_Prior_Applications_by_Prior_Application_YIELD_GROUP_104w"
)
client_count_of_prior_applications_by_prior_application_yield_group_104w = catalog.get_feature(
"CLIENT_Count_of_Prior_Applications_by_Prior_Application_YIELD_GROUP_104w"
)
client_latest_refused_status_cash_loans_contract_type_prior_application_yield_group_104w = catalog.get_feature(
"CLIENT_Latest_Refused_Status_Cash_loans_Contract_type_Prior_Application_YIELD_GROUP_104w"
)
client_max_of_time_between_2_approved_status_prior_applications_for_the_client_104w = catalog.get_feature(
"CLIENT_Max_of_Time_between_2_Approved_Status_Prior_Applications_for_the_Client_104w"
)
client_max_of_time_between_2_prior_applications_for_the_client_104w = catalog.get_feature(
"CLIENT_Max_of_Time_between_2_Prior_Applications_for_the_Client_104w"
)
client_latest_revolving_loans_contract_type_prior_application_amt_application_104w = catalog.get_feature(
"CLIENT_Latest_Revolving_loans_Contract_type_Prior_Application_AMT_APPLICATION_104w"
)
client_min_of_approved_status_cash_loans_contract_type_prior_applications_amt_annuity_to_amt_credits_104w = catalog.get_feature(
"CLIENT_Min_of_Approved_Status_Cash_loans_Contract_type_Prior_Applications_AMT_ANNUITY_To_AMT_CREDITs_104w"
)
client_max_of_approved_status_prior_applications_amt_annuitys_104w = catalog.get_feature(
"CLIENT_Max_of_Approved_Status_Prior_Applications_AMT_ANNUITYs_104w"
)
client_min_of_cash_loans_contract_type_prior_applications_cnt_payments_104w = catalog.get_feature(
"CLIENT_Min_of_Cash_loans_Contract_type_Prior_Applications_CNT_PAYMENTs_104w"
)
client_max_of_prior_applications_amt_credit_to_amt_applications_104w = catalog.get_feature(
"CLIENT_Max_of_Prior_Applications_AMT_CREDIT_To_AMT_APPLICATIONs_104w"
)
client_max_of_prior_applications_application_credit_gaps_104w = catalog.get_feature(
"CLIENT_Max_of_Prior_Applications_Application-Credit_Gaps_104w"
)
client_max_of_prior_applications_cnt_payments_104w = catalog.get_feature(
"CLIENT_Max_of_Prior_Applications_CNT_PAYMENTs_104w"
)
client_pct_of_prior_applications_is_refused_status_52w = catalog.get_feature(
"CLIENT_Pct_of_Prior_Applications_is_Refused_Status_52w"
)
client_pct_of_prior_applications_is_refused_status_cash_loans_contract_type_104w = catalog.get_feature(
"CLIENT_Pct_of_Prior_Applications_is_Refused_Status_Cash_loans_Contract_type_104w"
)
client_sum_of_approved_status_prior_applications_amt_annuitys_to_sum_of_approved_status_prior_applications_amt_credits_104w = catalog.get_feature(
"CLIENT_Sum_of_Approved_Status_Prior_Applications_AMT_ANNUITYs_To_Sum_of_Approved_Status_Prior_Applications_AMT_CREDITs_104w"
)
client_time_since_latest_prior_application_decision_date_104w = catalog.get_feature(
"CLIENT_Time_Since_Latest_Prior_Application_DECISION_DATE_104w"
)
client_vs_overall_count_of_approved_status_cash_loans_contract_type_prior_applications_by_prior_application_product_combination_104w = catalog.get_feature(
"CLIENT_vs_OVERALL_Count_of_Approved_Status_Cash_loans_Contract_type_Prior_Applications_by_Prior_Application_PRODUCT_COMBINATION_104w"
)
Create feature list¶
In [4]:
Copied!
simple_feature_list = fb.FeatureList(
[
new_application_amt_annuity,
new_application_amt_annuity_to_amt_credit,
new_application_amt_annuity_to_amt_goods_value,
new_application_amt_credit,
new_application_amt_goods_value_to_amt_credit,
new_application_amt_req_credit_bureau_qrt,
new_application_code_gender,
new_application_credit_goods_gap,
new_application_days_employed,
new_application_days_last_phone_change,
new_application_days_registration,
new_application_education_type,
new_application_flag_document_3,
new_application_floorsmax_medi,
new_application_income_type,
new_application_occupation_type,
new_application_organization_type,
new_application_region_population_relative,
new_application_time_to_birthdate,
client_max_of_consumer_loan_terminations_consumer_loan_amt_annuitys_104w,
client_consumer_loan_goods_category_with_lowest_sum_of_active_consumer_loans_amt_credits,
client_avg_of_consumer_installments_records_amt_payments_24cmo,
client_avg_of_late_status_consumer_installments_records_amt_payments_24cmo,
client_consumer_installments_records_amt_payments_by_consumer_installments_record_installment_status_6cmo,
client_count_of_consumer_installments_records_by_consumer_loan_yield_group_24cmo,
client_min_of_consumer_installments_records_amt_payments_12cmo,
client_min_of_consumer_installments_records_consumer_loan_amt_credit_to_amt_applications_24cmo,
client_max_of_consumer_installments_records_consumer_loan_amt_applications_24cmo,
client_max_of_consumer_installments_records_payment_delays_24cmo,
client_temporal_mean_of_sums_of_consumer_installments_records_consumer_loan_amt_annuitys_24cmo,
client_approved_status_prior_applications_amt_credits_by_prior_application_yield_group_104w,
client_avg_of_approved_status_prior_applications_amt_annuitys_104w,
client_avg_of_approved_status_prior_applications_cnt_payments_104w,
client_avg_of_prior_applications_cnt_payments_104w,
client_count_of_cash_loans_contract_type_prior_applications_by_prior_application_yield_group_104w,
client_count_of_prior_applications_by_prior_application_yield_group_104w,
client_latest_refused_status_cash_loans_contract_type_prior_application_yield_group_104w,
client_max_of_time_between_2_approved_status_prior_applications_for_the_client_104w,
client_max_of_time_between_2_prior_applications_for_the_client_104w,
client_latest_revolving_loans_contract_type_prior_application_amt_application_104w,
client_min_of_approved_status_cash_loans_contract_type_prior_applications_amt_annuity_to_amt_credits_104w,
client_max_of_approved_status_prior_applications_amt_annuitys_104w,
client_min_of_cash_loans_contract_type_prior_applications_cnt_payments_104w,
client_max_of_prior_applications_amt_credit_to_amt_applications_104w,
client_max_of_prior_applications_application_credit_gaps_104w,
client_max_of_prior_applications_cnt_payments_104w,
client_pct_of_prior_applications_is_refused_status_52w,
client_pct_of_prior_applications_is_refused_status_cash_loans_contract_type_104w,
client_sum_of_approved_status_prior_applications_amt_annuitys_to_sum_of_approved_status_prior_applications_amt_credits_104w,
client_time_since_latest_prior_application_decision_date_104w,
client_vs_overall_count_of_approved_status_cash_loans_contract_type_prior_applications_by_prior_application_product_combination_104w,
],
name="51 features for Credit Default",
)
simple_feature_list = fb.FeatureList(
[
new_application_amt_annuity,
new_application_amt_annuity_to_amt_credit,
new_application_amt_annuity_to_amt_goods_value,
new_application_amt_credit,
new_application_amt_goods_value_to_amt_credit,
new_application_amt_req_credit_bureau_qrt,
new_application_code_gender,
new_application_credit_goods_gap,
new_application_days_employed,
new_application_days_last_phone_change,
new_application_days_registration,
new_application_education_type,
new_application_flag_document_3,
new_application_floorsmax_medi,
new_application_income_type,
new_application_occupation_type,
new_application_organization_type,
new_application_region_population_relative,
new_application_time_to_birthdate,
client_max_of_consumer_loan_terminations_consumer_loan_amt_annuitys_104w,
client_consumer_loan_goods_category_with_lowest_sum_of_active_consumer_loans_amt_credits,
client_avg_of_consumer_installments_records_amt_payments_24cmo,
client_avg_of_late_status_consumer_installments_records_amt_payments_24cmo,
client_consumer_installments_records_amt_payments_by_consumer_installments_record_installment_status_6cmo,
client_count_of_consumer_installments_records_by_consumer_loan_yield_group_24cmo,
client_min_of_consumer_installments_records_amt_payments_12cmo,
client_min_of_consumer_installments_records_consumer_loan_amt_credit_to_amt_applications_24cmo,
client_max_of_consumer_installments_records_consumer_loan_amt_applications_24cmo,
client_max_of_consumer_installments_records_payment_delays_24cmo,
client_temporal_mean_of_sums_of_consumer_installments_records_consumer_loan_amt_annuitys_24cmo,
client_approved_status_prior_applications_amt_credits_by_prior_application_yield_group_104w,
client_avg_of_approved_status_prior_applications_amt_annuitys_104w,
client_avg_of_approved_status_prior_applications_cnt_payments_104w,
client_avg_of_prior_applications_cnt_payments_104w,
client_count_of_cash_loans_contract_type_prior_applications_by_prior_application_yield_group_104w,
client_count_of_prior_applications_by_prior_application_yield_group_104w,
client_latest_refused_status_cash_loans_contract_type_prior_application_yield_group_104w,
client_max_of_time_between_2_approved_status_prior_applications_for_the_client_104w,
client_max_of_time_between_2_prior_applications_for_the_client_104w,
client_latest_revolving_loans_contract_type_prior_application_amt_application_104w,
client_min_of_approved_status_cash_loans_contract_type_prior_applications_amt_annuity_to_amt_credits_104w,
client_max_of_approved_status_prior_applications_amt_annuitys_104w,
client_min_of_cash_loans_contract_type_prior_applications_cnt_payments_104w,
client_max_of_prior_applications_amt_credit_to_amt_applications_104w,
client_max_of_prior_applications_application_credit_gaps_104w,
client_max_of_prior_applications_cnt_payments_104w,
client_pct_of_prior_applications_is_refused_status_52w,
client_pct_of_prior_applications_is_refused_status_cash_loans_contract_type_104w,
client_sum_of_approved_status_prior_applications_amt_annuitys_to_sum_of_approved_status_prior_applications_amt_credits_104w,
client_time_since_latest_prior_application_decision_date_104w,
client_vs_overall_count_of_approved_status_cash_loans_contract_type_prior_applications_by_prior_application_product_combination_104w,
],
name="51 features for Credit Default",
)
Save feature list¶
In [5]:
Copied!
# Save feature list
simple_feature_list.save()
# Add description
simple_feature_list.update_description("Simple feature list for Credit Default")
# Save feature list
simple_feature_list.save()
# Add description
simple_feature_list.update_description("Simple feature list for Credit Default")
Done! |████████████████████████████████████████| 100% in 6.1s (0.17%/s) Done! |████████████████████████████████████████| 100% in 6.1s (0.17%/s) Loading Feature(s) |████████████████████████████████████████| 51/51 [100%] in 0. Done! |████████████████████████████████████████| 100% in 6.1s (0.17%/s) Done! |████████████████████████████████████████| 100% in 6.1s (0.17%/s) Loading Feature(s) |████████████████████████████████████████| 9/9 [100%] in 0.4s