C : \ U s e r s \ b j p d \ A n a c o n d a 3 \ p y t h o n . e x e   D : \ p r o j e c t s \ o c c a m \ p y o c c a m \ t e s t _ s t e p _ b y _ s t e p . p y   
 
 P y O c c a m   0 . 1 . 2   l o a d e d   s u c c e s s f u l l y 
 
 P y O c c a m   0 . 1 . 2   l o a d e d .   T y p e   p y o c c a m . h e l p ( )   f o r   u s a g e . 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 S T E P - B Y - S T E P   H A N G   D I A G N O S T I C 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 [ 1 / 5 ]   I m p o r t i n g   p y o c c a m . . .   O K 
 
 [ 2 / 5 ]   C r e a t i n g   m a n a g e r . . .   O K 
 
 [ 3 / 5 ]   L o a d i n g   d a t a . . .   O K 
 
 [ 4 / 5 ]   C a l l i n g   g e n e r a t e _ f i t _ r e p o r t ( ) . . .   
 
 
 
 C o n f u s i o n   M a t r i x   f o r   t h e   M o d e l   I V : A p Z   w i t h   d e f a u l t   ( ' n e g a t i v e ' )   s t a t e   ( a f t e r   r e b i n n i n g )   Z = 0 . 
 
 C o n f u s i o n   M a t r i x   f o r   F i t   R u l e   ( T r a i n i n g ) 
 
 , A c t u a l , | , R u l e 
 
 , , | , Z = 0 , , Z = n o t 0 
 
 , Z = 0 , | , T N = , 1 7 9 . 0 0 0 , F P = , 4 2 . 0 0 0 , A N = , 2 2 1 . 0 0 0 
 
 , Z = n o t 0 , | , F N = , 9 8 . 0 0 0 , T P = , 1 0 5 . 0 0 0 , A P = , 2 0 3 . 0 0 0 
 
 , , | , R N = , 2 7 7 . 0 0 0 , R P = , 1 4 7 . 0 0 0 , # c o r r e c t = , 2 8 4 . 0 0 0 
 
 
 
 , A d d i t i o n a l   S t a t i s t i c s   ( T r a i n i n g ) 
 
 , S t a t i s t i c , D e f i n i t i o n , V a l u e 
 
 , % c o r r e c t , c o r r e c t   /   s a m p l e   s i z e , 0 . 6 7 0 
 
 , S e n s i t i v i t y   ( a k a   R e c a l l ) ,   ( T P   /   A P ) , 0 . 5 1 7 
 
 , S p e c i f i c i t y , ( T N   /   A N ) , 0 . 8 1 0 
 
 , P r e c i s i o n , ( T P   /   R P ) , 0 . 7 1 4 
 
 , N e g a t i v e   P r e d i c t i v e   V a l u e , ( T N   /   R N ) , 0 . 6 4 6 
 
 , > F 1   s c o r e , ( p r e c i s i o n   *   s e n s i t i v i t y )   /   ( p r e c i s i o n   +   s e n s i t i v i t y ) , 0 . 6 0 0 
 
 
 
 O K 
 
         R e p o r t   l e n g t h :   1 9 2 8   c h a r a c t e r s 
 
         '  R e p o r t   d o e s   N O T   c o n t a i n   ' C o n f u s i o n   M a t r i x ' 
 
         '  R e p o r t   c o n t a i n s   ' [ C M   D E B U G ] '   m e s s a g e s 
 
             [ C M   D E B U G ]   c l a s s T a r g e t = ' 0 ' ,   d v _ c a r d = 2 
 
             [ C M   D E B U G ]       d v _ l a b e l [ 0 ] = ' 1 ' 
 
             [ C M   D E B U G ]       d v _ l a b e l [ 1 ] = ' 0 ' 
 
             [ C M   D E B U G ]   M A T C H   f o u n d   a t   i = 1 ,   c h e c k T a r g e t = t r u e 
 
 [ 5 / 5 ]   C a l l i n g   g e t _ c o n f u s i o n _ m a t r i x ( ) . . .   O K 
 
         '  S u c c e s s ! 
 
             T N = 1 0 5 ,   F P = 9 8 ,   F N = 4 2 ,   T P = 1 7 9 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 T E S T   C O M P L E T E 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 [ C M   D E B U G ]   c l a s s T a r g e t = ' 0 ' ,   d v _ c a r d = 2 
 
 [ C M   D E B U G ]       d v _ l a b e l [ 0 ] = ' 1 ' 
 
 [ C M   D E B U G ]       d v _ l a b e l [ 1 ] = ' 0 ' 
 
 [ C M   D E B U G ]   M A T C H   f o u n d   a t   i = 1 ,   c h e c k T a r g e t = t r u e 
 
 [ C M   p e r s i s t e d ]   T N = 1 0 5   F P = 9 8   F N = 4 2   T P = 1 7 9 
 
 
 
 P r o c e s s   f i n i s h e d   w i t h   e x i t   c o d e   0 
 
 