PRSD Studio Documentation development version 2.2.3 (29-July-2010)
 SETCUROP  Set current operating point in the ROC object

    [R,IND]=SETCUROP(R,IND)
    [R,IND]=SETCUROP(R,'min',MEASURE)
    [R,IND]=SETCUROP(R,'max',MEASURE)

    [R,IND]=SETCUROP(R,'cost',M) % cost-sensitive optimization

 INPUT
    R         SDROC object
    IND       Index of operating point to be set
    MEASURE   Measure specification (index or name i.e. 'err(apple)')
    M         Cost matrix (R must store confusion matrices i.e. be created with
              'confmat' option)

 OUTPUT
    R         SDROC object with the cur.op.point set
    IND       Index of the selected operating point

 DESCRIPTION
 SETCUROP sets the current operating point in the SDROC object R.  The
 operating point may be specifed by its index IND or based on the related
 performance measure value. Any measure may be maximized or minimized.
 SETCUROP may also perform cost-sensitive optimization. When provided with
 the cost matrix M, SETCUROP selects operating points minimizing
 classifier loss function. To perform cost-sensitive optimization, R
 must contain full confusion matrices ('confmat' option).

 SEE ALSO
 SDROC, SDLOSS, GETCUROP