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)
17:02:35 | INFO | SDK version: 3.2.0.dev66 INFO :featurebyte:SDK version: 3.2.0.dev66 17:02:35 | INFO | No catalog activated. INFO :featurebyte:No catalog activated. 17:02:35 | INFO | Using profile: staging INFO :featurebyte:Using profile: staging 17:02:35 | INFO | Using configuration file at: /Users/gxav/.featurebyte/config.yaml INFO :featurebyte:Using configuration file at: /Users/gxav/.featurebyte/config.yaml 17:02:35 | INFO | Active profile: staging (https://staging.featurebyte.com/api/v1) INFO :featurebyte:Active profile: staging (https://staging.featurebyte.com/api/v1) 17:02:35 | INFO | SDK version: 3.2.0.dev66 INFO :featurebyte:SDK version: 3.2.0.dev66 17:02:35 | INFO | No catalog activated. INFO :featurebyte:No catalog activated. 17:02:35 | INFO | Catalog activated: Credit Default Dataset SDK Tutorial INFO :featurebyte.api.catalog: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 | 68ef6302fc93090edc68216f | CLIENT_Entropy_of_count_of_Installments_by_INS... | FLOAT | DRAFT | False | [INSTALLMENTS_PAYMENTS, PREVIOUS_APPLICATION] | [INSTALLMENTS_PAYMENTS] | [Client] | [Client] | 2025-10-15T09:01:59.469000 |
| 1 | 68ef6301fc93090edc68216a | CLIENT_Installments_AMT_PAYMENTs_by_INSTALLMEN... | OBJECT | DRAFT | False | [INSTALLMENTS_PAYMENTS, PREVIOUS_APPLICATION] | [INSTALLMENTS_PAYMENTS] | [Client] | [Client] | 2025-10-15T09:01:58.962000 |
| 2 | 68ef6301fc93090edc682169 | CLIENT_Installments_AMT_PAYMENTs_by_INSTALLMEN... | OBJECT | DRAFT | False | [INSTALLMENTS_PAYMENTS, PREVIOUS_APPLICATION] | [INSTALLMENTS_PAYMENTS] | [Client] | [Client] | 2025-10-15T09:01:58.474000 |
| 3 | 68ef6302fc93090edc68216d | CLIENT_Installments_AMT_PAYMENTs_by_PriorAppli... | OBJECT | DRAFT | False | [INSTALLMENTS_PAYMENTS, PREVIOUS_APPLICATION] | [INSTALLMENTS_PAYMENTS] | [Client] | [Client] | 2025-10-15T09:01:57.941000 |
| 4 | 68ef6301fc93090edc68216c | CLIENT_Installments_AMT_PAYMENTs_by_PriorAppli... | OBJECT | DRAFT | False | [INSTALLMENTS_PAYMENTS, PREVIOUS_APPLICATION] | [INSTALLMENTS_PAYMENTS] | [Client] | [Client] | 2025-10-15T09:01:57.415000 |
| 5 | 68ef6302fc93090edc68216e | CLIENT_Installments_AMT_PAYMENTs_by_PriorAppli... | OBJECT | DRAFT | False | [INSTALLMENTS_PAYMENTS, PREVIOUS_APPLICATION] | [INSTALLMENTS_PAYMENTS] | [Client] | [Client] | 2025-10-15T09:01:56.870000 |
| 6 | 68ef6301fc93090edc682166 | CLIENT_Min_of_Installments_AMT_PAYMENTs_24cMo | FLOAT | DRAFT | False | [INSTALLMENTS_PAYMENTS, PREVIOUS_APPLICATION] | [INSTALLMENTS_PAYMENTS] | [Client] | [Client] | 2025-10-15T09:01:56.374000 |
| 7 | 68ef6301fc93090edc682167 | CLIENT_Max_of_Installments_Days_Difference_Act... | FLOAT | DRAFT | False | [INSTALLMENTS_PAYMENTS, PREVIOUS_APPLICATION] | [INSTALLMENTS_PAYMENTS] | [Client] | [Client] | 2025-10-15T09:01:55.876000 |
| 8 | 68ef6301fc93090edc682168 | CLIENT_Max_of_Installments_PriorApplication_AM... | FLOAT | DRAFT | False | [INSTALLMENTS_PAYMENTS, PREVIOUS_APPLICATION] | [INSTALLMENTS_PAYMENTS] | [Client] | [Client] | 2025-10-15T09:01:55.338000 |
| 9 | 68ef6301fc93090edc682165 | CLIENT_Min_of_Credit_card_monthly_balance_reco... | FLOAT | DRAFT | False | [CREDIT_CARD_MONTHLY_BALANCE] | [CREDIT_CARD_MONTHLY_BALANCE] | [Client] | [Client] | 2025-10-15T09:01:54.774000 |
| 10 | 68ef6301fc93090edc682164 | CLIENT_Std_of_Credit_card_monthly_balance_reco... | FLOAT | DRAFT | False | [CREDIT_CARD_MONTHLY_BALANCE] | [CREDIT_CARD_MONTHLY_BALANCE] | [Client] | [Client] | 2025-10-15T09:01:54.398000 |
| 11 | 68ef62cca1e605dae4b898e1 | CLIENT_Max_of_Loan_terminations_Loan_PriorAppl... | FLOAT | DRAFT | False | [PREVIOUS_APPLICATION, LOAN_STATUS] | [LOAN_STATUS] | [Client] | [Client] | 2025-10-15T09:01:03.334000 |
| 12 | 68ef62cca1e605dae4b898e0 | CLIENT_Age | INT | DRAFT | False | [CLIENT_PROFILE] | [CLIENT_PROFILE] | [Client] | [Client] | 2025-10-15T09:01:02.510000 |
| 13 | 68ef62cca1e605dae4b898db | CLIENT_FAMILY_STATUS | VARCHAR | DRAFT | False | [CLIENT_PROFILE] | [CLIENT_PROFILE] | [Client] | [Client] | 2025-10-15T09:01:02.094000 |
| 14 | 68ef62cca1e605dae4b898d9 | CLIENT_GENDER | VARCHAR | DRAFT | False | [CLIENT_PROFILE] | [CLIENT_PROFILE] | [Client] | [Client] | 2025-10-15T09:01:01.760000 |
| 15 | 68ef62cca1e605dae4b898da | CLIENT_EDUCATION_TYPE | VARCHAR | DRAFT | False | [CLIENT_PROFILE] | [CLIENT_PROFILE] | [Client] | [Client] | 2025-10-15T09:01:01.429000 |
| 16 | 68ef62cca1e605dae4b898dc | CLIENT_ORGANIZATION_TYPE | VARCHAR | DRAFT | False | [CLIENT_PROFILE] | [CLIENT_PROFILE] | [Client] | [Client] | 2025-10-15T09:01:01.103000 |
| 17 | 68ef62b1a5bd7e011708f30a | CLIENT_Avg_of_BureauReportedCredits_Available_... | FLOAT | DRAFT | False | [BUREAU] | [BUREAU] | [Client] | [Client] | 2025-10-15T09:00:37.584000 |
| 18 | 68ef62b1a5bd7e011708f309 | CLIENT_Avg_of_BureauReportedCredits_Available_... | FLOAT | DRAFT | False | [BUREAU] | [BUREAU] | [Client] | [Client] | 2025-10-15T09:00:37.227000 |
| 19 | 68ef62b1a5bd7e011708f311 | CLIENT_Avg_of_Consumer_credit_Cr_type_BureauRe... | FLOAT | DRAFT | False | [BUREAU] | [BUREAU] | [Client] | [Client] | 2025-10-15T09:00:36.872000 |
| 20 | 68ef62b1a5bd7e011708f313 | CLIENT_Avg_of_Consumer_credit_Cr_type_BureauRe... | FLOAT | DRAFT | False | [BUREAU] | [BUREAU] | [Client] | [Client] | 2025-10-15T09:00:36.503000 |
| 21 | 68ef62b1a5bd7e011708f30c | CLIENT_Max_of_PriorApplications_CNT_PAYMENTs_104w | FLOAT | DRAFT | False | [PREVIOUS_APPLICATION] | [PREVIOUS_APPLICATION] | [Client] | [Client] | 2025-10-15T09:00:36.087000 |
| 22 | 68ef62b1a5bd7e011708f30f | CLIENT_Max_of_Active_Cr_active_BureauReportedC... | FLOAT | DRAFT | False | [BUREAU] | [BUREAU] | [Client] | [Client] | 2025-10-15T09:00:35.731000 |
| 23 | 68ef62b1a5bd7e011708f312 | CLIENT_Max_of_Consumer_credit_Cr_type_BureauRe... | FLOAT | DRAFT | False | [BUREAU] | [BUREAU] | [Client] | [Client] | 2025-10-15T09:00:35.323000 |
| 24 | 68ef62b1a5bd7e011708f30e | CLIENT_PriorApplications_AMT_CREDITs_by_PriorA... | OBJECT | DRAFT | False | [PREVIOUS_APPLICATION] | [PREVIOUS_APPLICATION] | [Client] | [Client] | 2025-10-15T09:00:34.920000 |
| 25 | 68ef62b1a5bd7e011708f30d | CLIENT_PriorApplications_AMT_CREDITs_by_PriorA... | OBJECT | DRAFT | False | [PREVIOUS_APPLICATION] | [PREVIOUS_APPLICATION] | [Client] | [Client] | 2025-10-15T09:00:34.520000 |
| 26 | 68ef62b1a5bd7e011708f30b | CLIENT_Std_of_BureauReportedCredits_Available_... | FLOAT | DRAFT | False | [BUREAU] | [BUREAU] | [Client] | [Client] | 2025-10-15T09:00:34.125000 |
| 27 | 68ef62b1a5bd7e011708f315 | CLIENT_Time_To_Latest_Approved_Contract_status... | FLOAT | DRAFT | False | [PREVIOUS_APPLICATION] | [PREVIOUS_APPLICATION] | [Client] | [Client] | 2025-10-15T09:00:33.709000 |
| 28 | 68ef6292d377ac612c4b4141 | NEW_APPLICATION_AMT_ANNUITY | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:09.321000 |
| 29 | 68ef6292d377ac612c4b414b | NEW_APPLICATION_AMT_ANNUITY_To_AMT_CREDIT | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:08.781000 |
| 30 | 68ef6292d377ac612c4b4142 | NEW_APPLICATION_AMT_GOODS_PRICE | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:08.207000 |
| 31 | 68ef6292d377ac612c4b414c | NEW_APPLICATION_Credit-Goods_Difference | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:07.679000 |
| 32 | 68ef6292d377ac612c4b4144 | NEW_APPLICATION_DAYS_EMPLOYED | INT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:07.076000 |
| 33 | 68ef6292d377ac612c4b4145 | NEW_APPLICATION_DAYS_ID_PUBLISH | INT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:06.440000 |
| 34 | 68ef6292d377ac612c4b4146 | NEW_APPLICATION_EXT_SOURCE_1 | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:05.912000 |
| 35 | 68ef6292d377ac612c4b4147 | NEW_APPLICATION_EXT_SOURCE_2 | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:05.388000 |
| 36 | 68ef6292d377ac612c4b4148 | NEW_APPLICATION_EXT_SOURCE_3 | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:04.859000 |
| 37 | 68ef6292d377ac612c4b414a | NEW_APPLICATION_FLAG_DOCUMENT_3 | INT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:04.329000 |
| 38 | 68ef6292d377ac612c4b4149 | NEW_APPLICATION_FLOORSMAX_MODE | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:03.802000 |
| 39 | 68ef6292d377ac612c4b4143 | NEW_APPLICATION_REGION_POPULATION_RELATIVE | FLOAT | DRAFT | False | [NEW_APPLICATION] | [NEW_APPLICATION] | [New Application] | [New Application] | 2025-10-15T09:00:03.258000 |
Get features from catalog¶
In [3]:
Copied!
new_application_ext_source_2 = catalog.get_feature("NEW_APPLICATION_EXT_SOURCE_2")
new_application_ext_source_3 = catalog.get_feature("NEW_APPLICATION_EXT_SOURCE_3")
new_application_ext_source_1 = catalog.get_feature("NEW_APPLICATION_EXT_SOURCE_1")
new_application_credit_goods_difference = catalog.get_feature("NEW_APPLICATION_Credit-Goods_Difference")
new_application_amt_annuity_to_amt_credit = catalog.get_feature("NEW_APPLICATION_AMT_ANNUITY_To_AMT_CREDIT")
new_application_days_employed = catalog.get_feature("NEW_APPLICATION_DAYS_EMPLOYED")
client_gender = catalog.get_feature("CLIENT_GENDER")
client_max_of_active_cr_active_bureaureportedcredits_amt_credit_sum_debt_to_amt_credit_sums_104w = catalog.get_feature(
"CLIENT_Max_of_Active_Cr_active_BureauReportedCredits_AMT_CREDIT_SUM_DEBT_To_AMT_CREDIT_SUMs_104w"
)
client_education_type = catalog.get_feature("CLIENT_EDUCATION_TYPE")
new_application_amt_annuity = catalog.get_feature("NEW_APPLICATION_AMT_ANNUITY")
client_max_of_priorapplications_cnt_payments_104w = catalog.get_feature(
"CLIENT_Max_of_PriorApplications_CNT_PAYMENTs_104w"
)
client_family_status = catalog.get_feature("CLIENT_FAMILY_STATUS")
client_avg_of_consumer_credit_cr_type_bureaureportedcredits_end_to_update_gaps_104w = catalog.get_feature(
"CLIENT_Avg_of_Consumer_credit_Cr_type_BureauReportedCredits_End_to_Update_Gaps_104w"
)
client_min_of_credit_card_monthly_balance_records_available_credits_6cmo = catalog.get_feature(
"CLIENT_Min_of_Credit_card_monthly_balance_records_Available_Credits_6cMo"
)
client_min_of_installments_amt_payments_24cmo = catalog.get_feature(
"CLIENT_Min_of_Installments_AMT_PAYMENTs_24cMo"
)
client_installments_amt_payments_by_priorapplication_yield_group_24cmo = catalog.get_feature(
"CLIENT_Installments_AMT_PAYMENTs_by_PriorApplication_YIELD_GROUP_24cMo"
)
client_installments_amt_payments_by_priorapplication_client_type_24cmo = catalog.get_feature(
"CLIENT_Installments_AMT_PAYMENTs_by_PriorApplication_CLIENT_TYPE_24cMo"
)
client_avg_of_bureaureportedcredits_available_credits_104w = catalog.get_feature(
"CLIENT_Avg_of_BureauReportedCredits_Available_Credits_104w"
)
client_max_of_loan_terminations_loan_priorapplication_amt_application_to_amt_credits_104w = catalog.get_feature(
"CLIENT_Max_of_Loan_terminations_Loan_PriorApplication_AMT_APPLICATION_To_AMT_CREDITs_104w"
)
client_installments_amt_payments_by_installment_status_12cmo = catalog.get_feature(
"CLIENT_Installments_AMT_PAYMENTs_by_INSTALLMENT_STATUS_12cMo"
)
client_avg_of_bureaureportedcredits_available_credits_26w = catalog.get_feature(
"CLIENT_Avg_of_BureauReportedCredits_Available_Credits_26w"
)
client_priorapplications_amt_credits_by_priorapplication_yield_group_104w = catalog.get_feature(
"CLIENT_PriorApplications_AMT_CREDITs_by_PriorApplication_YIELD_GROUP_104w"
)
new_application_days_id_publish = catalog.get_feature("NEW_APPLICATION_DAYS_ID_PUBLISH")
new_application_amt_goods_price = catalog.get_feature("NEW_APPLICATION_AMT_GOODS_PRICE")
client_organization_type = catalog.get_feature("CLIENT_ORGANIZATION_TYPE")
client_avg_of_consumer_credit_cr_type_bureaureportedcredits_amt_credit_sums_104w = catalog.get_feature(
"CLIENT_Avg_of_Consumer_credit_Cr_type_BureauReportedCredits_AMT_CREDIT_SUMs_104w"
)
new_application_region_population_relative = catalog.get_feature(
"NEW_APPLICATION_REGION_POPULATION_RELATIVE"
)
client_age = catalog.get_feature("CLIENT_Age")
client_installments_amt_payments_by_installment_status_6cmo = catalog.get_feature(
"CLIENT_Installments_AMT_PAYMENTs_by_INSTALLMENT_STATUS_6cMo"
)
client_entropy_of_count_of_installments_by_installment_status_24cmo = catalog.get_feature(
"CLIENT_Entropy_of_count_of_Installments_by_INSTALLMENT_STATUS_24cMo"
)
client_installments_amt_payments_by_priorapplication_payment_type_24cmo = catalog.get_feature(
"CLIENT_Installments_AMT_PAYMENTs_by_PriorApplication_PAYMENT_TYPE_24cMo"
)
client_time_to_latest_approved_contract_status_priorapplication_last_due_1st_version_timestamp_104w = catalog.get_feature(
"CLIENT_Time_To_Latest_Approved_Contract_status_PriorApplication_last_due_1st_version_timestamp_104w"
)
new_application_flag_document_3 = catalog.get_feature("NEW_APPLICATION_FLAG_DOCUMENT_3")
new_application_floorsmax_mode = catalog.get_feature("NEW_APPLICATION_FLOORSMAX_MODE")
client_max_of_installments_days_difference_actual_vs_scheduleds_24cmo = catalog.get_feature(
"CLIENT_Max_of_Installments_Days_Difference_Actual_vs_Scheduleds_24cMo"
)
client_max_of_installments_priorapplication_amt_annuity_to_amt_credits_6cmo = catalog.get_feature(
"CLIENT_Max_of_Installments_PriorApplication_AMT_ANNUITY_To_AMT_CREDITs_6cMo"
)
client_std_of_credit_card_monthly_balance_records_cnt_drawings_atm_currents_24cmo = catalog.get_feature(
"CLIENT_Std_of_Credit_card_monthly_balance_records_CNT_DRAWINGS_ATM_CURRENTs_24cMo"
)
client_priorapplications_amt_credits_by_priorapplication_nflag_insured_on_approval_52w = catalog.get_feature(
"CLIENT_PriorApplications_AMT_CREDITs_by_PriorApplication_NFLAG_INSURED_ON_APPROVAL_52w"
)
client_std_of_bureaureportedcredits_available_credits_26w = catalog.get_feature(
"CLIENT_Std_of_BureauReportedCredits_Available_Credits_26w"
)
client_max_of_consumer_credit_cr_type_bureaureportedcredits_amt_credit_sum_debt_to_amt_credit_sums_52w = catalog.get_feature(
"CLIENT_Max_of_Consumer_credit_Cr_type_BureauReportedCredits_AMT_CREDIT_SUM_DEBT_To_AMT_CREDIT_SUMs_52w"
)
new_application_ext_source_2 = catalog.get_feature("NEW_APPLICATION_EXT_SOURCE_2")
new_application_ext_source_3 = catalog.get_feature("NEW_APPLICATION_EXT_SOURCE_3")
new_application_ext_source_1 = catalog.get_feature("NEW_APPLICATION_EXT_SOURCE_1")
new_application_credit_goods_difference = catalog.get_feature("NEW_APPLICATION_Credit-Goods_Difference")
new_application_amt_annuity_to_amt_credit = catalog.get_feature("NEW_APPLICATION_AMT_ANNUITY_To_AMT_CREDIT")
new_application_days_employed = catalog.get_feature("NEW_APPLICATION_DAYS_EMPLOYED")
client_gender = catalog.get_feature("CLIENT_GENDER")
client_max_of_active_cr_active_bureaureportedcredits_amt_credit_sum_debt_to_amt_credit_sums_104w = catalog.get_feature(
"CLIENT_Max_of_Active_Cr_active_BureauReportedCredits_AMT_CREDIT_SUM_DEBT_To_AMT_CREDIT_SUMs_104w"
)
client_education_type = catalog.get_feature("CLIENT_EDUCATION_TYPE")
new_application_amt_annuity = catalog.get_feature("NEW_APPLICATION_AMT_ANNUITY")
client_max_of_priorapplications_cnt_payments_104w = catalog.get_feature(
"CLIENT_Max_of_PriorApplications_CNT_PAYMENTs_104w"
)
client_family_status = catalog.get_feature("CLIENT_FAMILY_STATUS")
client_avg_of_consumer_credit_cr_type_bureaureportedcredits_end_to_update_gaps_104w = catalog.get_feature(
"CLIENT_Avg_of_Consumer_credit_Cr_type_BureauReportedCredits_End_to_Update_Gaps_104w"
)
client_min_of_credit_card_monthly_balance_records_available_credits_6cmo = catalog.get_feature(
"CLIENT_Min_of_Credit_card_monthly_balance_records_Available_Credits_6cMo"
)
client_min_of_installments_amt_payments_24cmo = catalog.get_feature(
"CLIENT_Min_of_Installments_AMT_PAYMENTs_24cMo"
)
client_installments_amt_payments_by_priorapplication_yield_group_24cmo = catalog.get_feature(
"CLIENT_Installments_AMT_PAYMENTs_by_PriorApplication_YIELD_GROUP_24cMo"
)
client_installments_amt_payments_by_priorapplication_client_type_24cmo = catalog.get_feature(
"CLIENT_Installments_AMT_PAYMENTs_by_PriorApplication_CLIENT_TYPE_24cMo"
)
client_avg_of_bureaureportedcredits_available_credits_104w = catalog.get_feature(
"CLIENT_Avg_of_BureauReportedCredits_Available_Credits_104w"
)
client_max_of_loan_terminations_loan_priorapplication_amt_application_to_amt_credits_104w = catalog.get_feature(
"CLIENT_Max_of_Loan_terminations_Loan_PriorApplication_AMT_APPLICATION_To_AMT_CREDITs_104w"
)
client_installments_amt_payments_by_installment_status_12cmo = catalog.get_feature(
"CLIENT_Installments_AMT_PAYMENTs_by_INSTALLMENT_STATUS_12cMo"
)
client_avg_of_bureaureportedcredits_available_credits_26w = catalog.get_feature(
"CLIENT_Avg_of_BureauReportedCredits_Available_Credits_26w"
)
client_priorapplications_amt_credits_by_priorapplication_yield_group_104w = catalog.get_feature(
"CLIENT_PriorApplications_AMT_CREDITs_by_PriorApplication_YIELD_GROUP_104w"
)
new_application_days_id_publish = catalog.get_feature("NEW_APPLICATION_DAYS_ID_PUBLISH")
new_application_amt_goods_price = catalog.get_feature("NEW_APPLICATION_AMT_GOODS_PRICE")
client_organization_type = catalog.get_feature("CLIENT_ORGANIZATION_TYPE")
client_avg_of_consumer_credit_cr_type_bureaureportedcredits_amt_credit_sums_104w = catalog.get_feature(
"CLIENT_Avg_of_Consumer_credit_Cr_type_BureauReportedCredits_AMT_CREDIT_SUMs_104w"
)
new_application_region_population_relative = catalog.get_feature(
"NEW_APPLICATION_REGION_POPULATION_RELATIVE"
)
client_age = catalog.get_feature("CLIENT_Age")
client_installments_amt_payments_by_installment_status_6cmo = catalog.get_feature(
"CLIENT_Installments_AMT_PAYMENTs_by_INSTALLMENT_STATUS_6cMo"
)
client_entropy_of_count_of_installments_by_installment_status_24cmo = catalog.get_feature(
"CLIENT_Entropy_of_count_of_Installments_by_INSTALLMENT_STATUS_24cMo"
)
client_installments_amt_payments_by_priorapplication_payment_type_24cmo = catalog.get_feature(
"CLIENT_Installments_AMT_PAYMENTs_by_PriorApplication_PAYMENT_TYPE_24cMo"
)
client_time_to_latest_approved_contract_status_priorapplication_last_due_1st_version_timestamp_104w = catalog.get_feature(
"CLIENT_Time_To_Latest_Approved_Contract_status_PriorApplication_last_due_1st_version_timestamp_104w"
)
new_application_flag_document_3 = catalog.get_feature("NEW_APPLICATION_FLAG_DOCUMENT_3")
new_application_floorsmax_mode = catalog.get_feature("NEW_APPLICATION_FLOORSMAX_MODE")
client_max_of_installments_days_difference_actual_vs_scheduleds_24cmo = catalog.get_feature(
"CLIENT_Max_of_Installments_Days_Difference_Actual_vs_Scheduleds_24cMo"
)
client_max_of_installments_priorapplication_amt_annuity_to_amt_credits_6cmo = catalog.get_feature(
"CLIENT_Max_of_Installments_PriorApplication_AMT_ANNUITY_To_AMT_CREDITs_6cMo"
)
client_std_of_credit_card_monthly_balance_records_cnt_drawings_atm_currents_24cmo = catalog.get_feature(
"CLIENT_Std_of_Credit_card_monthly_balance_records_CNT_DRAWINGS_ATM_CURRENTs_24cMo"
)
client_priorapplications_amt_credits_by_priorapplication_nflag_insured_on_approval_52w = catalog.get_feature(
"CLIENT_PriorApplications_AMT_CREDITs_by_PriorApplication_NFLAG_INSURED_ON_APPROVAL_52w"
)
client_std_of_bureaureportedcredits_available_credits_26w = catalog.get_feature(
"CLIENT_Std_of_BureauReportedCredits_Available_Credits_26w"
)
client_max_of_consumer_credit_cr_type_bureaureportedcredits_amt_credit_sum_debt_to_amt_credit_sums_52w = catalog.get_feature(
"CLIENT_Max_of_Consumer_credit_Cr_type_BureauReportedCredits_AMT_CREDIT_SUM_DEBT_To_AMT_CREDIT_SUMs_52w"
)
Create feature list¶
In [4]:
Copied!
simple_feature_list = fb.FeatureList(
[
new_application_ext_source_2,
new_application_ext_source_3,
new_application_ext_source_1,
new_application_credit_goods_difference,
new_application_amt_annuity_to_amt_credit,
new_application_days_employed,
client_gender,
client_max_of_active_cr_active_bureaureportedcredits_amt_credit_sum_debt_to_amt_credit_sums_104w,
client_education_type,
new_application_amt_annuity,
client_max_of_priorapplications_cnt_payments_104w,
client_family_status,
client_avg_of_consumer_credit_cr_type_bureaureportedcredits_end_to_update_gaps_104w,
client_min_of_credit_card_monthly_balance_records_available_credits_6cmo,
client_min_of_installments_amt_payments_24cmo,
client_installments_amt_payments_by_priorapplication_yield_group_24cmo,
client_installments_amt_payments_by_priorapplication_client_type_24cmo,
client_avg_of_bureaureportedcredits_available_credits_104w,
client_max_of_loan_terminations_loan_priorapplication_amt_application_to_amt_credits_104w,
client_installments_amt_payments_by_installment_status_12cmo,
client_avg_of_bureaureportedcredits_available_credits_26w,
client_priorapplications_amt_credits_by_priorapplication_yield_group_104w,
new_application_days_id_publish,
new_application_amt_goods_price,
client_organization_type,
client_avg_of_consumer_credit_cr_type_bureaureportedcredits_amt_credit_sums_104w,
new_application_region_population_relative,
client_age,
client_installments_amt_payments_by_installment_status_6cmo,
client_entropy_of_count_of_installments_by_installment_status_24cmo,
client_installments_amt_payments_by_priorapplication_payment_type_24cmo,
client_time_to_latest_approved_contract_status_priorapplication_last_due_1st_version_timestamp_104w,
new_application_flag_document_3,
new_application_floorsmax_mode,
client_max_of_installments_days_difference_actual_vs_scheduleds_24cmo,
client_max_of_installments_priorapplication_amt_annuity_to_amt_credits_6cmo,
client_std_of_credit_card_monthly_balance_records_cnt_drawings_atm_currents_24cmo,
client_priorapplications_amt_credits_by_priorapplication_nflag_insured_on_approval_52w,
client_std_of_bureaureportedcredits_available_credits_26w,
client_max_of_consumer_credit_cr_type_bureaureportedcredits_amt_credit_sum_debt_to_amt_credit_sums_52w,
],
name="40 features for Credit Default",
)
simple_feature_list = fb.FeatureList(
[
new_application_ext_source_2,
new_application_ext_source_3,
new_application_ext_source_1,
new_application_credit_goods_difference,
new_application_amt_annuity_to_amt_credit,
new_application_days_employed,
client_gender,
client_max_of_active_cr_active_bureaureportedcredits_amt_credit_sum_debt_to_amt_credit_sums_104w,
client_education_type,
new_application_amt_annuity,
client_max_of_priorapplications_cnt_payments_104w,
client_family_status,
client_avg_of_consumer_credit_cr_type_bureaureportedcredits_end_to_update_gaps_104w,
client_min_of_credit_card_monthly_balance_records_available_credits_6cmo,
client_min_of_installments_amt_payments_24cmo,
client_installments_amt_payments_by_priorapplication_yield_group_24cmo,
client_installments_amt_payments_by_priorapplication_client_type_24cmo,
client_avg_of_bureaureportedcredits_available_credits_104w,
client_max_of_loan_terminations_loan_priorapplication_amt_application_to_amt_credits_104w,
client_installments_amt_payments_by_installment_status_12cmo,
client_avg_of_bureaureportedcredits_available_credits_26w,
client_priorapplications_amt_credits_by_priorapplication_yield_group_104w,
new_application_days_id_publish,
new_application_amt_goods_price,
client_organization_type,
client_avg_of_consumer_credit_cr_type_bureaureportedcredits_amt_credit_sums_104w,
new_application_region_population_relative,
client_age,
client_installments_amt_payments_by_installment_status_6cmo,
client_entropy_of_count_of_installments_by_installment_status_24cmo,
client_installments_amt_payments_by_priorapplication_payment_type_24cmo,
client_time_to_latest_approved_contract_status_priorapplication_last_due_1st_version_timestamp_104w,
new_application_flag_document_3,
new_application_floorsmax_mode,
client_max_of_installments_days_difference_actual_vs_scheduleds_24cmo,
client_max_of_installments_priorapplication_amt_annuity_to_amt_credits_6cmo,
client_std_of_credit_card_monthly_balance_records_cnt_drawings_atm_currents_24cmo,
client_priorapplications_amt_credits_by_priorapplication_nflag_insured_on_approval_52w,
client_std_of_bureaureportedcredits_available_credits_26w,
client_max_of_consumer_credit_cr_type_bureaureportedcredits_amt_credit_sum_debt_to_amt_credit_sums_52w,
],
name="40 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) |████████████████████████████████████████| 40/40 [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