Skip to content

Commit fa56437

Browse files
Formatting score definitions and running binary classification to test scoring services on an example notebook
1 parent c68cb8b commit fa56437

31 files changed

+9170
-7847
lines changed
Binary file not shown.
Binary file not shown.

examples/data/hmeqModels/DecisionTreeClassifier/ModelProperties.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,19 @@
22
"name": "DecisionTreeClassifier",
33
"description": "Description for the DecisionTreeClassifier model.",
44
"scoreCodeType": "python",
5-
"trainTable": "",
5+
"trainTable": "cas-shared-default/Public/DecisionTreeClassifier_train_data",
66
"trainCodeType": "Python",
7-
"algorithm": "",
7+
"algorithm": "DecisionTreeClassifier",
88
"function": "Classification",
99
"targetVariable": "BAD",
1010
"targetEvent": "1",
11-
"targetLevel": "BINARY",
11+
"targetLevel": "Binary",
1212
"eventProbVar": "P_1",
1313
"modeler": "sasdemo",
1414
"tool": "Python 3",
15-
"toolVersion": "3.8.16",
16-
"properties": []
15+
"toolVersion": "3.11.7",
16+
"properties": [],
17+
"eventPercentage": "0.20182166826462",
18+
"selectionStatistic": "_RASE_",
19+
"selectionStatisticValue": "0.33514616799162"
1720
}

examples/data/hmeqModels/DecisionTreeClassifier/dmcas_fitstat.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,14 @@
222222
"_MCE_": 0.88710450623202,
223223
"_ASE_": 0.11232295391947,
224224
"_MCLL_": 0.99896429012045,
225-
"_KS_": null,
225+
"_KS_": 1.0,
226226
"_KSPostCutoff_": null,
227227
"_DIV_": 4172.0,
228228
"_TAU_": null,
229229
"_KSCut_": null,
230-
"_C_": null,
231-
"_PartInd_": null
230+
"_C_": 0.85770092470509,
231+
"_PartInd_": null,
232+
"_KS2_": 0.71540184941018
232233
},
233234
"rowNumber": 2,
234235
"header": null
@@ -243,14 +244,15 @@
243244
"_DataRole_": "TEST",
244245
"_MCE_": 0.99328859060402,
245246
"_ASE_": 0.10439243746467,
246-
"_MCLL_": 0.18029189766592,
247-
"_KS_": null,
247+
"_MCLL_": 0.1674139049754,
248+
"_KS_": 1.0,
248249
"_KSPostCutoff_": null,
249250
"_DIV_": 1788.0,
250251
"_TAU_": null,
251252
"_KSCut_": null,
252-
"_C_": null,
253-
"_PartInd_": null
253+
"_C_": 0.83803076656035,
254+
"_PartInd_": null,
255+
"_KS2_": 0.6760615331207
254256
},
255257
"rowNumber": 3,
256258
"header": null

0 commit comments

Comments
 (0)