roc_curve module

roc_curve.roc_curve(models, settings, passive=True)

This function generates roc curves for algorithms on given models. First, this function will plot the scatters of safety-efficiency graph, then using a convex hull algorithm to generate the roc curves. The results are saved under “results/”.

Parameters
  • models (str) – the names of the model to be tested

  • seetings (dict) – keys are the names of the algorithm to be tested, and values are parameter ranges for this algorithm.

  • passive (bool) – whether the human model is interactive to the robot’s behavior. If is ture, human model will not react to the robot.