-
Notifications
You must be signed in to change notification settings - Fork 80
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🚀 Deployed on https://deploy-preview-722--etna-docs.netlify.app |
Codecov Report
@@ Coverage Diff @@
## master #722 +/- ##
==========================================
- Coverage 83.68% 83.67% -0.01%
==========================================
Files 120 120
Lines 6630 6629 -1
==========================================
- Hits 5548 5547 -1
Misses 1082 1082
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
from etna.datasets import generate_const_df, TSDataset
from etna.models import NaiveModel
from etna.pipeline import Pipeline
from copy import deepcopy
from etna.analysis import plot_forecast
df = generate_const_df(periods=200, start_time="2021-01-01", scale=0, n_segments=2, add_noise=True)
ts = TSDataset.to_dataset(df[["target", "segment", "timestamp"]])
ts = TSDataset(ts, freq="D")
ts, ts_test = ts.train_test_split(test_size=10)
pipe = Pipeline(
model=NaiveModel(),
transforms=[
],
horizon=10
)
pipe.fit(deepcopy(ts))
forecast = pipe.forecast(True)
plot_forecast(
forecast, test_ts=ts_test, train_ts=ts, prediction_intervals=True, n_train_samples=100
) |
iKintosh
approved these changes
Jun 2, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
IMPORTANT: Please do not create a Pull Request without creating an issue first.
Before submitting (must do checklist)
Type of Change
Proposed Changes
sem is used for variation estimation of sample mean, but we're trying to estimate interval for new sampled value so we should standard deviation intead
Related Issue
Closing issues