Skip to content

Instantly share code, notes, and snippets.

@Sinjhin
Created March 17, 2025 18:24
Show Gist options
  • Save Sinjhin/a983723c81d6b587b60e95257a210b68 to your computer and use it in GitHub Desktop.
Save Sinjhin/a983723c81d6b587b60e95257a210b68 to your computer and use it in GitHub Desktop.
2025-ATO-AI_GraniteWorkshopCorrectedFirstCodeBlock
# Install the tsfm library
! pip install "tsfm_public[notebooks] @ git+https://github.com/ibm-granite/[email protected]" -U
!pip install numpy==1.26.4
!pip install --force-reinstall pandas
# Install the tsfm library
! pip install "tsfm_public[notebooks] @ git+https://github.com/ibm-granite/[email protected]" -U
# Reinstall NumPy
!pip install numpy==1.26.4
# Reinstall pandas
!pip install --force-reinstall pandas
import matplotlib.pyplot as plt
import pandas as pd
from tsfm_public import (
TimeSeriesForecastingPipeline,
TinyTimeMixerForPrediction,
)
from tsfm_public.toolkit.visualization import plot_predictions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment