Hub
Pricing About
WorkflowWorkflow

LSTM - Time Series Forecasting

Time SeriesDeep learningForecastingLSTMRNN
+1
adrianto_wijaya profile image
Draft Latest edits on 
May 19, 2025 12:11 PM
Drag & drop
Like
Download workflow
Workflow preview

Supervised Learning Problem

This is a simple example workflow for multivariant time series analysis using an LSTM based recurrent neural network and implemented via the KNIME Deep Learning - Keras Integration. It is based on the bike demand prediction dataset from Kaggle and trains a model to predict the demand in the next hour based on the demand and the other features in the last 10 hours.

  • RNN architecture type = many-to-one

  • target column = "cnt'

  • features column = all column (except "timestamp"

  • timestamp column = "timestamp"

notes:

this workflow is expanded version of "Multivariate Time Series Analysis with an RNN" from Community Hub with these environment specification:

  • rewrite on: May 2025

  • KNIME version: 5.4

The Dataset

London Bike Sharing dataset have purpose is to try predict the future bike shares.


Metadata:

"timestamp" - timestamp field for grouping the data
"cnt" - the count of a new bike shares
"t1" - real temperature in C
"t2" - temperature in C "feels like"
"hum" - humidity in percentage
"wind_speed" - wind speed in km/h
"weather_code" - category of the weather
"is_holiday" - boolean field - 1 holiday / 0 non holiday
"is_weekend" - boolean field - 1 if the day is weekend
"season" - category field meteorological seasons:

 

“Season” category description:

·       0 =  spring ;

·       1 = summer;

·       2 = fall;

·       3 = winter.

"weather_code" category description:

·       1 = Clear ; mostly clear but have some values with haze/fog/patches of fog/ fog in vicinity

·       2 = scattered clouds / few clouds

·       3 = Broken clouds

·       4 = Cloudy

·       7 = Rain/ light Rain shower/ Light rain

·       10 = rain with thunderstorm

·       26 = snowfall

94 = Freezing Fog

External resources

  • London Bike Sharing Dataset
  • Multivariate Time Series Analysis with an RNN - Training
  • Understanding LSTM Networks
  • Multivariate Time Series Analysis: LSTMs & Codeless
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.4.4
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.4

    knime
  • Go to item
    KNIME Data GenerationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime
  • Go to item
    KNIME Deep Learning - Keras IntegrationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.1

    knime
  • Go to item
    KNIME JavaScript ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime
  • Go to item
    KNIME Math Expression (JEP)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime
  • Go to item
    KNIME PlotlyTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime
  • Go to item
    KNIME ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.4

    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits