LoslegenKostenlos loslegen

Estimated value profiling

The strategy table, strat_df, can be used to maximize the estimated portfolio value and minimize expected loss. Extending this table and creating some plots can be very helpful to this end.

The strat_df data frame is loaded and has been enhanced already with the following columns:

Column Description
Num Accepted Loans The number of accepted loans based on the threshold
Avg Loan Amnt The average loan amount of the entire test set
Estimated value The estimated net value of non-defaults minus defaults

Diese Übung ist Teil des Kurses

Credit Risk Modeling in Python

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Print the contents of the strategy df
print(____)
Code bearbeiten und ausführen