• Taylor Robie's avatar
    Move evaluation to .evaluate() (#5413) · c494582f
    Taylor Robie authored
    * move evaluation from numpy to tensorflow
    
    fix syntax error
    
    don't use sigmoid to convert logits. there is too much precision loss.
    
    WIP: add logit metrics
    
    continue refactor of NCF evaluation
    
    fix syntax error
    
    fix bugs in eval loss calculation
    
    fix eval loss reweighting
    
    remove numpy based metric calculations
    
    fix logging hooks
    
    fix sigmoid to softmax bug
    
    fix comment
    
    catch rare PIPE error and address some PR comments
    
    * fix metric test and address PR comments
    
    * delint and fix python2
    
    * fix test and address PR comments
    
    * extend eval to TPUs
    c494582f
data_preprocessing.py 25.9 KB