sktime / sktime/pytorch-forecasting

Expand example logging for multiple logging platforms

Open
#89 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
5k
Forks
912
Avg merge
3d 13h
Merged PRs (30d)
12

Description

Following up on the discussion from issue #79, there is a need to extend the logging capabilities for keeping track of training figures (e.g. showing attention, forecast quantiles, etc.) for loggers beyond tensorboard (e.g. W&B). The self.logger.experiment.add_figure() lines that exist in models.base_model seem to be the route of the issue, as not every logger platform has an add_figure() method for its experiment (or Run in W&B's case) objects.

This is a to-do item for now. Can currently be circumvented (at least in the case of using W&B) by setting log_interval=-1 in the instantiation for TemporalFusionTransformer object.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the discussion in issue #79 and inspect the self.logger.experiment.add_figure() calls in models.base_model. Compare the logger interfaces mentioned in the issue, including TensorBoard and W&B, and determine how figure logging should work across them. Done means training figures such as attention and forecast quantiles can be logged without relying on log_interval=-1.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.