Skip to main content

Functional data forecasting with covariates (FunCast model)

Project description

Python implementation of the FunCast functional data forecasting model.

Paper reference

Sezgin et al. (2025), "Funcast: a forecasting model for functional data using covariates", under review at Journal of Statistical Planning and Inference (JSPI).

Authors : Selman Sezgin (a, b), Julien Jacques (a), Kahina Mokrani (b) and Sylvain Allio (b)

(a) ERIC, Université Lumière Lyon 2, Lyon, France

(b) Orange Research, Belfort, France

Installation

pip install funcast

Quick start

import numpy as np
from funcast import FunCast

n, m1, m2 = 50, 100, 20
t_past   = np.linspace(0, 1, m1)
t_future = np.linspace(1, 1.2, m2)
Y_past   = np.random.randn(n, m1)
Y_future = np.random.randn(n, m2)

model = FunCast(K=8, s=0.5)
model.fit(Y_past, Y_future, t_past, t_future)
Y_pred = model.predict(Y_past)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funcast-0.1.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

funcast-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file funcast-0.1.0.tar.gz.

File metadata

  • Download URL: funcast-0.1.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for funcast-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f71351762ca51a7aa82adc02fb0d1ccd3e8c39fd5bea2008ee3f2c71ed5ddc0d
MD5 65e1eed8ead4b46ca653a695f7136323
BLAKE2b-256 d697cd3f9821bcee1e920fb6c8b8d814d70e38e2ea0c48436b306d1cbb4aed2c

See more details on using hashes here.

File details

Details for the file funcast-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: funcast-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for funcast-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48a6c885429f26223cdb8245538421ccb2fc5d8b3bac6a751b492958ee7ec145
MD5 95967ce949c635a1acb03dd36bc47bee
BLAKE2b-256 4c26fcccbf7a31e6744159bc348ae73ddc05a8c35535e90591e926ff8cb8805d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page