Skip to content

Commit a917c12

Browse files
author
AWS
committed
Amazon Fraud Detector Update: This release adds support for ML Explainability to display model variable importance value in Amazon Fraud Detector.
1 parent 5927041 commit a917c12

File tree

2 files changed

+50
-2
lines changed

2 files changed

+50
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Fraud Detector",
4+
"contributor": "",
5+
"description": "This release adds support for ML Explainability to display model variable importance value in Amazon Fraud Detector."
6+
}

services/frauddetector/src/main/resources/codegen-resources/service-2.json

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@
7171
"errors":[
7272
{"shape":"ValidationException"},
7373
{"shape":"InternalServerException"},
74-
{"shape":"AccessDeniedException"}
74+
{"shape":"AccessDeniedException"},
75+
{"shape":"ResourceNotFoundException"}
7576
],
7677
"documentation":"<p>Creates a batch prediction job.</p>"
7778
},
@@ -2248,7 +2249,7 @@
22482249
},
22492250
"eventVariables":{
22502251
"shape":"EventVariableMap",
2251-
"documentation":"<p>Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.</p>"
2252+
"documentation":"<p>Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.</p> <important> <ul> <li> <p>You must provide at least one eventVariable</p> </li> <li> <p>If detectorVersion is associated with a modelVersion, you must provide at least one associated eventVariable</p> </li> </ul> </important> <p>To ensure highest possible fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:</p> <p> <b>For Amazon Fraud Detector trained models:</b> </p> <p>If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.</p> <p> <b>For External models ( for example, imported SageMaker):</b> </p> <p>If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable. </p>"
22522253
},
22532254
"externalModelEndpointDataBlobs":{
22542255
"shape":"ExternalModelEndpointDataBlobMap",
@@ -2633,6 +2634,10 @@
26332634
"type":"string",
26342635
"enum":["DETECTORPL"]
26352636
},
2637+
"ListOfLogitMetrics":{
2638+
"type":"list",
2639+
"member":{"shape":"LogitMetric"}
2640+
},
26362641
"ListOfModelScores":{
26372642
"type":"list",
26382643
"member":{"shape":"ModelScores"}
@@ -2680,6 +2685,29 @@
26802685
}
26812686
}
26822687
},
2688+
"LogitMetric":{
2689+
"type":"structure",
2690+
"required":[
2691+
"variableName",
2692+
"variableType",
2693+
"variableImportance"
2694+
],
2695+
"members":{
2696+
"variableName":{
2697+
"shape":"string",
2698+
"documentation":"<p>The name of the variable.</p>"
2699+
},
2700+
"variableType":{
2701+
"shape":"string",
2702+
"documentation":"<p>The type of variable.</p>"
2703+
},
2704+
"variableImportance":{
2705+
"shape":"float",
2706+
"documentation":"<p>The relative importance of the variable.</p>"
2707+
}
2708+
},
2709+
"documentation":"<p>The logit metric details.</p>"
2710+
},
26832711
"MetricDataPoint":{
26842712
"type":"structure",
26852713
"members":{
@@ -3386,6 +3414,10 @@
33863414
"trainingMetrics":{
33873415
"shape":"TrainingMetrics",
33883416
"documentation":"<p>The training metric details.</p>"
3417+
},
3418+
"variableImportanceMetrics":{
3419+
"shape":"VariableImportanceMetrics",
3420+
"documentation":"<p>The variable importance metrics.</p>"
33893421
}
33903422
},
33913423
"documentation":"<p>The training result details.</p>"
@@ -3800,6 +3832,16 @@
38003832
"max":25,
38013833
"min":1
38023834
},
3835+
"VariableImportanceMetrics":{
3836+
"type":"structure",
3837+
"members":{
3838+
"LogitMetrics":{
3839+
"shape":"ListOfLogitMetrics",
3840+
"documentation":"<p>List of variable metrics.</p>"
3841+
}
3842+
},
3843+
"documentation":"<p>The variable importance metrics details.</p>"
3844+
},
38033845
"VariableList":{
38043846
"type":"list",
38053847
"member":{"shape":"Variable"}

0 commit comments

Comments
 (0)