Skip to content

Commit

Permalink
Add docs for the reampling example. (microsoft#1285)
Browse files Browse the repository at this point in the history
* Update features_sample.py

* Update features_sample.py
  • Loading branch information
you-n-g authored Sep 14, 2022
1 parent 7c64ea5 commit e762548
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/benchmarks/LightGBM/features_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@


class Resample1minProcessor(InstProcessor):
"""This processor tries to resample the data. It will reasmple the data from 1min freq to day freq by selecting a specific miniute"""

def __init__(self, hour: int, minute: int, **kwargs):
self.hour = hour
self.minute = minute
Expand Down

0 comments on commit e762548

Please sign in to comment.