How can I compute the derivatives of cost matrix?

I'm working on a binary classification and I have the results of a call to dbms_data_mining.apply and conpute_roc. I would like to take a point on the ROC curve and generate a cost matrix for use when applying the model. I see that ODMR gives you a cost matrix derived based on these data, but I built this task in PL/SQL and here the calculation on how this matrix is deducted. Can anyone help?


TIA

Hello

This is the calculation of cost derived matrix:

Assume Positive target = a, x = (1 - probability threshold) / probability threshold

(Shown in the Setup dialog box) derived cost matrix

another
a 0 x
Others 1 0

For example, assume that the positive target = 1 value and you select a ROCK point with probability threshold = 0.35, the derived cost matrix will be:

1 others
1 0 1.857
Others 1 0

I hope this helps!

Tags: Business Intelligence

Similar Questions

Maybe you are looking for

  • Slippage of Web site problem

    Hello We use EasyDNNsolutions Rotator for DotNetNuke. When the ratotor is horizontal sliding, the image on the right has half hight. After some time the image "plopp" at normal height. Works fine in the other browsers. Page Microsoft (XBOX.com) has t

  • Why Firefox for android uses 26% CPU on my laptop when I'm not with her?

    When I left Firefox were not yet all slow - pages (about: Home) This will lead to draining the battery unnecessarily. So why use Firefox so many cycles CPU for everything: home, if you're running javascript on a page that I closed? (wired.com)

  • SIM on the 3G module not found on Portege R700

    Hello My configuration: R700-1DP (module 3G: Ericsson F3607GW) with 7 Pro 32bits. My problem is that the SIM card on the 3G module is not detected (by my provider Kit or Wireless Manager). But:-the SIM is OK: try on another PC-3G Module is OK: try an

  • Equium A100 - Infra red connection for mobile phone

    Hello Just, I got my new phone and can't connect my laptop to the phone via an infrared connection. My laptop is the satellite A100-306, phone is Nokia 6275i. Connect via a USB cable, but apparently it is not sold in stores and must be found somewher

  • Firmware pix a 4,040 MG7120

    After updating the firmware on my MG7120 V 4,040 the printer shuts down and restarts it states he was arrested wrongly. I assured that the parameters should never stop. Before this update, everything was good