@ Override public double getValueAt ( final int at ) { if ( userMAPAtCutoff . containsKey ( at ) ) { int n = 0 ; double map = 0.0 ; for ( U u : userMAPAtCutoff . get ( at ) . keySet ( ) ) { double uMAP = getValueAt ( u , at ) ; if ( ! Double . isNaN ( uMAP ) ) { map += uMAP ; n ++ ; } } if ( n == 0 ) { map = 0.0 ; } else { map = map / n ; } return map ; } return Double . NaN ; }
Method to return the MAP value at a particular cutoff level .