Skip to content

Commit ba0a687

Browse files
committed
Fix improper call to calculate_model_statistics in binary classification notebook example. Update output files. #169
1 parent 9bd6805 commit ba0a687

19 files changed

+35422
-106430
lines changed
Binary file not shown.
Binary file not shown.

examples/data/hmeqModels/DecisionTreeClassifier/dmcas_fitstat.json

Lines changed: 258 additions & 11821 deletions
Large diffs are not rendered by default.

examples/data/hmeqModels/DecisionTreeClassifier/dmcas_lift.json

Lines changed: 2183 additions & 11821 deletions
Large diffs are not rendered by default.

examples/data/hmeqModels/DecisionTreeClassifier/dmcas_roc.json

Lines changed: 9353 additions & 11824 deletions
Large diffs are not rendered by default.

examples/data/hmeqModels/DecisionTreeClassifier/score_DecisionTreeClassifier.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ def score(LOAN, MORTDUE, VALUE, YOJ, DEROG, DELINQ, CLAGE, NINQ, CLNO, DEBTINC):
1818
with open(Path(settings.pickle_path) / "DecisionTreeClassifier.pickle", "rb") as pickle_model:
1919
model = pickle.load(pickle_model)
2020

21+
22+
2123
try:
2224
if math.isnan(LOAN):
2325
LOAN = 18607.96979865772
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)