Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Docstring BaseTimeSeriesMetrics PRTS/prts/base/time_series_metrics.py #25

Open
13 tasks
ryoherisson opened this issue Dec 27, 2020 · 0 comments
Open
13 tasks
Assignees

Comments

@ryoherisson
Copy link
Contributor

Summary

Write docstring in each function in BaseTimeSeriesMetrics.

Format:

"""Description
  Args:
      args1: type
          Description
      args2: type
          Description
  Returns:
      type: Description
"""

Goal

Write docstrings of BaseTImeSeriesMetrics

Todo

Write docstring of

  • BaseTImeSeriesMetrics class
  • init
  • score
  • _udf_gamma
  • _gamma_select
  • _gamma_function
  • _compute_omega_reward
  • _omega_function
  • _delta_function
  • _delta_select
  • _udf_delta
  • _shift
  • _prepare_data

Deadline

2020 / 12 / 30

Parent issue

If the parent issue exists, post a link here.

References

If there are any reference links, they are described here.

Notes

Example:

"""The function of selecting the gamma value according to the parameters.
  Args:
      gamma: str
          - 'one': the value 1
          - 'reciprocal';: a reciprocal of the overlap
          - 'udf_gamma': user defined gamma
      overlap: int
          overlap between real and pred
  Returns:
      float: the selected gamma
"""
@ryoherisson ryoherisson added the documentation Improvements or additions to documentation label Dec 27, 2020
@ryoherisson ryoherisson self-assigned this Dec 27, 2020
@ryoherisson ryoherisson added enhancement New feature or request and removed documentation Improvements or additions to documentation enhancement New feature or request labels Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant