Comments (3)
You can use the predict method:
prediction, prediction_index_df = network.predict(x, return_index=True)
prediction_df["prediction"] = prediction[:, 0] # pick first prediction after encoding
You can return as prediction also quantiles or even the raw network output by specifying the mode
argument.
from pytorch-forecasting.
That is an excellent question. I've also struggled to figure out the raw predictions.
from pytorch-forecasting.
Perfect, just what I was looking for.
from pytorch-forecasting.
Related Issues (20)
- Is the DeepVAR implementation correct? HOT 1
- Issue while installing pytorch-forecasting through pip HOT 4
- Support for state of the art TSMixer model HOT 1
- Why does NHiTS need the target variable specified in the time_varying_unknown_reals attribute? HOT 1
- Odd values for VAL_MAE & VAL_RMSE for TFT
- RuntimeError on variable Validation Batch Sizes in TemporalFusionTransformer Tutorial HOT 6
- Symbol not found: __ZN3c106detail19maybe_wrap_dim_slowIxEET_S2_S2_b
- How to solve: OSError: [WinError 127] 找不到指定的程序。
- How to set up a training process that can take forecasts from other models
- Issue with TFT.forward() method
- Interpreting DeepAR.predict() HOT 1
- Data leakage problem HOT 2
- Bug of SMAPE when excuting tutorial
- RMSE defined as MSE HOT 1
- rubbish
- Val_loss Calculation with Multiple Validation Sets in Sliding Window Technique and Early Stopping
- How does one initialise a network without `from_dataset`?
- DeepAR with NormalDistributionLoss error on 0 values in target
- How to split the data into train, test, and validation HOT 1
- multi horizon timeseries time_idx
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch-forecasting.