Toggle Menu
Prev Up Next

# `langchain_experimental.rl_chain.metrics`.MetricsTrackerAverage

class langchain_experimental.rl_chain.metrics.MetricsTrackerAverage(step: int)

  Metrics Tracker Average.

  Attributes

  `score` |

  Methods

  `__init__`(step) |
  `on_decision`() |
  `on_feedback`(score) |
  `to_pandas`() |

  Parameters

    step (int) –

  __init__(step: int)
    Parameters

      step (int) –

  on_decision() → None
    Return type

      None

  on_feedback(score: float) → None
    Parameters

      score (float) –

    Return type

      None

  to_pandas() → pd.DataFrame
    Return type

      pd.DataFrame