Skip to content

bob measure pure python

Hi @bob,

Following our renovation efforts for Bob, shall we make an effort to port this package to be pure python?

The benefits would be:

  • Pure python is more convenient (no platform-dependent) than having a compiled one
  • More readable code. Hence, more people would be willing to contribute
  • We would get rid of a blitz dependency (that will die at some point)

The drawbacks:

  • We would lose the C++ API (does anyone need that?)
  • Extra work

Follow bellow all the functions that would need to be ported.

  • bob::measure::farfrr
  • bob::measure::precision_recall
  • bob::measure::f_score
  • bob::measure::correctlyClassifiedPositives
  • bob::measure::correctlyClassifiedNegatives
  • bob::measure::minimizingThreshold
  • bob::measure::eerThreshold
  • bob::measure::eerRocch
  • bob::measure::minWeightedErrorRateThreshold
  • bob::measure::minHterThreshold
  • bob::measure::farThreshold
  • bob::measure::frrThreshold
  • bob::measure::log_values
  • bob::measure::meaningfulThresholds(
  • bob::measure::roc
  • bob::measure::precision_recall_curve
  • bob::measure::rocc
  • hbob::measure::rocch2eer
  • bob::measure::roc_for_far
  • bob::measure::ppndf
  • bob::measure::det
  • bob::measure::epc

Thanks