seismometer._api.plot_leadtime_enc

seismometer._api.plot_leadtime_enc(score=None, ref_time=None, target_event=None)

Displays the amount of time that a high prediction gives before an event of interest.

Parameters:
  • score (Optional[str], optional) – The name of the score column to use, by default None; uses sg.output.

  • ref_time (Optional[str], optional) – The reference time used in the visualization, by default None; uses sg.predict_time.

  • target_event (Optional[str], optional) – The name of the target column to use, by default None; uses sg.target.