ipex-llm icon indicating copy to clipboard operation
ipex-llm copied to clipboard

fix tf inc metric format

Open y199387 opened this issue 2 years ago • 3 comments

Description

Fix Nano TensorFlow INC metric bug.

related issue https://github.com/intel-analytics/BigDL/issues/5305

3. How to test?

  • [x] Unit test
  • [x] Jenkins http://10.112.231.51:18889/job/BigDL-Chronos-PR-Validation/653/

y199387 avatar Jul 19 '22 07:07 y199387

@zhentaocc could you help review this?

yangw1234 avatar Jul 19 '22 07:07 yangw1234

What's the bug?

zhentaocc avatar Jul 19 '22 07:07 zhentaocc

What's the bug?

According to Keras API doc, y_true should be first and y_pred after. The current code may make the accuracy calculation wrong. https://keras.io/api/metrics/accuracy_metrics/

y199387 avatar Jul 19 '22 07:07 y199387