Converting the model to a scoring card
- step 1:
-
create MiningFunctionSettings -->>
ScoringCardSettings ('ScoringCardSettings')
-
we define that we are going to prepare a scoring card
-
step 1a:
-
add logicalData
-
we choose 'german_credit_pd' for PhysicalData of
the data for model building
-
step 1b:
-
add the regression model
-
we choose the regression model we want to convert
into the scoring card: 'MODEL'
-
step 1c:
-
attributeUsageSet: set the target attribute
-
we choose the 'Class' attribute as the target
- step 2:
-
create MiningBuildTask ('ScoringCardBuildTask')
-
we define the action we are going to do: model (card) building
-
step 2a:
-
add buildData
-
we choose 'german_credit_pd' for PhysicalData
of the data for scoring card building
-
step 2b:
-
add functionSettings
-
we add the settings for scoring card building:
'ScoringCardSettings'
-
step 2c:
-
add model ('CARD')
-
we set the name of the output scoring card
- step 3:
-
execute the 'ScoringCardBuildTask' task
If all required objects were set up correctly, then after
executing 'ScoringCardBuildTask' a new scoring card
should appear in the MR repository. The user can browse the card
details by double-clicking the model icon (see the movie).
The Figure below show the content of the MR repository
and models created after carrying out the steps described above.