sethah commented on issue #9777: [MX-9588] Add micro averaging strategy for F1 
metric
URL: https://github.com/apache/incubator-mxnet/pull/9777#issuecomment-365664996
 
 
   Obviously, no change is expected since none of the update logic was changed 
here.
   
   **Before**
   ```
   Metric         Data-Ctx  Label-Ctx   Data Size   Batch Size     Output Dim   
  Elapsed Time
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      131072      16             2            
  0.82034
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      131072      64             2            
  0.46931
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      131072      256            2            
  0.35179
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      131072      1024           2            
  0.35274
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      16384       16             2            
  0.10991
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      16384       64             2            
  0.057258
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      16384       256            2            
  0.046497
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      16384       1024           2            
  0.044378
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      2048        16             2            
  0.01292
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      2048        64             2            
  0.0070581
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      2048        256            2            
  0.005384
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      2048        1024           2            
  0.00511
   
------------------------------------------------------------------------------------------
   ```
   
   **After**
   ```
   Metric         Data-Ctx  Label-Ctx   Data Size   Batch Size     Output Dim   
  Elapsed Time
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      131072      16             2            
  0.81942
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      131072      64             2            
  0.46574
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      131072      256            2            
  0.37653
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      131072      1024           2            
  0.32401
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      16384       16             2            
  0.099127
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      16384       64             2            
  0.057564
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      16384       256            2            
  0.044527
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      16384       1024           2            
  0.04604
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      2048        16             2            
  0.012832
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      2048        64             2            
  0.0071719
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      2048        256            2            
  0.0058281
   
------------------------------------------------------------------------------------------
   F1             cpu(0)    cpu(0)      2048        1024           2            
  0.0057449
   
------------------------------------------------------------------------------------------
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to