Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def output(self):
- - return luigi.LocalTarget(
- - path='./data/predictions/{:%Y-%m-%d}_{}.csv'
- + return S3Target(
- + path='s3://your-bucket/data/predictions/{:%Y-%m-%d}_{}.csv'
- .format(self.date, self.model_name)
- )
Add Comment
Please, Sign In to add comment