Skip to content

Commit

Permalink
Now it is properly fixed without messing up fractionals
Browse files Browse the repository at this point in the history
  • Loading branch information
trnnick committed Jul 11, 2018
1 parent bfe8dc2 commit 9063cbd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
@@ -1,7 +1,7 @@
Package: nnfor
Type: Package
Title: Time Series Forecasting with Neural Networks
Version: 0.9.3
Version: 0.9.4
Authors@R: person("Nikolaos", "Kourentzes", email = "nikolaos@kourentzes.com",
role = c("aut", "cre"))
Description: Contains functions to facilitate automatic time series modelling with neural networks.
Expand Down
5 changes: 4 additions & 1 deletion NEWS.md
@@ -1,5 +1,8 @@
# CHANGES IN NNFOR VERSION 0.9.4 (11 JUL 2018)
- Fix for msts time series and allow.det.season argument.

# CHANGES IN NNFOR VERSION 0.9.3 (01 Apr 2018)
- CHanges in how trigonometric seasonal dummies are handled.
- Changes in how trigonometric seasonal dummies are handled.

# CHANGES IN NNFOR VERSION 0.9.2 (11 Dec 2017)
- Documentation fixes.
Expand Down
2 changes: 1 addition & 1 deletion R/mlp.R
Expand Up @@ -578,7 +578,7 @@ ndiffs.net <- function(difforder,y,ff,st){
seas.dum.net <- function(st,difforder,det.type,ff,ff.n,Y,y,allow.det.season){
# Create seasonal dummies for networks

if (if(ff.n > 1){TRUE}else{!any(difforder == max(ff))}
if ((if(ff.n > 1){TRUE}else{!any(difforder == max(ff))})
& frequency(y)>1 & st$season.exist==TRUE & allow.det.season==TRUE){
sdummy <- TRUE
# Set type of seasonal dummies
Expand Down
Binary file modified sync.ffs_db
Binary file not shown.

0 comments on commit 9063cbd

Please sign in to comment.