Skip to main content

Entscheidungen mit Entscheidungsbäumen automatisieren

3 Aufgaben

10 Min.

Visible to: All users
Anfänger Pega Platform 8.4 Case Management Deutsch
Prüfen Sie die Version, um sicherzustellen, dass Sie mit dem richtigen Inhalt arbeiten, oder schließen Sie die neueste Version ab.

Szenario

Ein Unternehmen führt eine Anwendung ein, um die Bearbeitung von Kreditanträgen zu vereinfachen. Der Kunde stellt einen Kreditantrag und gibt seinen Bonitätswert, den gewünschten Kreditbetrag und das Land ein, in dem er lebt. Konfigurieren Sie einen Entscheidungsbaum und einen Deklarationsausdruck, sodass der Zinssatz automatisch auf Basis der vom Kunden gemachten Angaben zu Bonitätswert, Kreditbetrag und Land bestimmt wird. Bei dieser Challenge gehen wir davon aus, dass sich der Kreditbetrag nicht auf den Zinssatz auswirkt, wenn der Kunde „Kanada“ als Land eingibt. Verwenden Sie die Werte aus der folgenden Tabelle:

  Land Bonitätswert > Kreditbetrag > Zurück
wenn Kanada 800   .0200
wenn Kanada 700   .0275
wenn Kanada 200   .0425
wenn   800 50000 .0225
wenn   800 0 .0200
wenn   700 50000 .0325
wenn   700 0 .0275
wenn   200 50000 .045
wenn   200 0 .0425
otherwise       .07

In der folgenden Tabelle finden Sie die Anmeldedaten, die Sie zur Durchführung der Challenge benötigen.

Rolle Benutzer ID Kennwort
Application Developer author@loans pega123!

Sie müssen zum Abschließen dieser Challenge Ihre eigene Pega-Instanz starten.

Die Initialisierung kann bis zu 5 Minuten dauern, bitte haben Sie Geduld.

Challenge-Schritte

Genaue Übungsschritte

1 Configure the Borrower risk adjustment decision tree

  1. From the navigation pane of Dev Studio, click App.
  2. Right-click LoanRequest and click Create > Decision > Decision Tree.
  3. In the Label field, enter Borrower risk adjustment tree.
  4. Click Create and open to create the decision tree.
  5. Click <click here to add a condition> to add a condition.
    Click to add a condition link when configuring a decision tree
  6. In the first empty field, enter or select .Country.
  7. Keep the operator value as =.
  8. In the second empty field, enter Canada.
  9. Click the return drop-down and select continue. An indented, nested condition is displayed.
    Condition if Country = Canada then continue
    Hinweis: If the conditions do not display, save and refresh the decision tree.
  10. Click the nested condition and repeat steps 6-9 to specify the condition if .CreditScore > 800 then return .0200.
    First nested condition, if Credit Score is greater than 800 then return .0200
  11. With the nested condition selected, click Add Row twice to add two additional nested conditions.
    Add row button
  12. Repeat steps 6-9 to define the following conditions:
    Nested conditions if the country is Canada
  13. Select the first top-level condition and click Add Row three times to add three additional top-level conditions.
  14. Repeat steps 6-12 to define the following conditions:
    Credit score and loan amount nested conditions
  15. In the otherwise row, enter the default return value of .07.
  16. Click Save to save the decision tree.

2 Configure the Loan rate declare expression

  1. From the navigation pane, right-click LoanRequest and click Create > Decision > Declare Expression.
  2. In the Target Property field, enter or select .LoanRate.
    Declare expression for Loan rate property
  3. Click Create and open.
  4. In the Build Expressions section, in the Value of drop-down, select Result of Decision Tree.
  5. In the empty field to the right, enter or select BorrowerRiskAdjustmentTree.
    Loan rate declare expression set by BorrowerRiskAdjustmentTree
  6. Click Save.

3 Confirm your work

  1. In the header of Dev Studio, click Create > New > Loan Request to create a new Loan Request case instance.
  2. In the Loan amount field, enter 5000.
  3. In the Credit score field, enter 600.
  4. In the Country drop-down, select Canada.
  5. Click Submit.
  6. Verify that the Loan rate is 4.25%.
    Verify loan rate is 4.25% with loan amount $5000
  7. Create an additional Loan Request case instance.
  8. In the Loan amount field, enter 50000.
  9. In the Credit score field, enter 600.
  10. In the Country drop-down, select Canada.
  11. Click Submit.
  12. Verify that the Loan rate is 4.25%.
    Verify loan rate is 4.25% with loan amount $50000
  13. Optional: Create additional case instances and enter different Credit score, Loan amount, and Country values. Verify that the Loan rate is consistent with the values specified in the Borrower risk adjustment decision tree.


In der folgenden Mission verfügbar:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Fanden Sie diesen Inhalt hilfreich?

Möchten Sie uns dabei helfen, diesen Inhalt zu verbessern?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice