Skip to content

Commit 5127056

Browse files
authored
Merge pull request #214 from winedarksea/dev
0.6.5
2 parents 39401fc + 8f727d4 commit 5127056

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1008
-515
lines changed

TODO.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@
1212
* The most recent data will generally be the most important
1313
* Forecasts are desired for the future immediately following the most recent data.
1414

15-
# 0.6.4 🔜🔜🔜
16-
* adjusted n_jobs back to minus 1 for multivariatemotif
17-
* fixed bug with plot_validations not working with some frequencies
18-
* force_validation added to import_template
19-
* model_list now enforced in new generations
20-
* added NeuralForecast
15+
# 0.6.5 🏮🏮🏮
16+
* horizontal and mosaic upgrades
17+
* bug fixes and template updates
2118

2219
### Unstable Upstream Pacakges (those that are frequently broken by maintainers)
2320
* Pytorch-Forecasting

autots/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from autots.models.cassandra import Cassandra
2727

2828

29-
__version__ = '0.6.4'
29+
__version__ = '0.6.5'
3030

3131
TransformTS = GeneralTransformer
3232

autots/evaluator/auto_model.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
generalize_horizontal,
1919
horizontal_aliases,
2020
parse_horizontal,
21+
is_mosaic,
2122
)
2223
from autots.tools.shaping import infer_frequency
2324
from autots.models.model_list import (
@@ -1459,13 +1460,7 @@ def TemplateWizard(
14591460
],
14601461
traceback: bool = False,
14611462
current_model_file: str = None,
1462-
mosaic_list=[
1463-
'mosaic-window',
1464-
'mosaic',
1465-
'mosaic_crosshair',
1466-
"mosaic_window",
1467-
"mosaic-crosshair",
1468-
],
1463+
mosaic_used=None,
14691464
force_gc: bool = False,
14701465
):
14711466
"""
@@ -1506,6 +1501,8 @@ def TemplateWizard(
15061501
template_result = TemplateEvalObject(
15071502
per_series_metrics=[],
15081503
)
1504+
if mosaic_used is None:
1505+
mosaic_used = is_mosaic(ensemble)
15091506
template_result.model_count = model_count
15101507
if isinstance(template, pd.Series):
15111508
template = template.to_frame()
@@ -1725,7 +1722,7 @@ def virtual_memory():
17251722
template_result.per_timestamp_smape = pd.concat(
17261723
[template_result.per_timestamp_smape, cur_smape], axis=0
17271724
)
1728-
if any([x in mosaic_list for x in ensemble]):
1725+
if mosaic_used:
17291726
template_result.full_mae_errors.extend([model_error.full_mae_errors])
17301727
template_result.squared_errors.extend([model_error.squared_errors])
17311728
template_result.full_pl_errors.extend(

0 commit comments

Comments
 (0)