From 1a5b95e6b809217ea401b176554d6ad8599e19bf Mon Sep 17 00:00:00 2001 From: andre_ramos Date: Tue, 29 Oct 2024 20:09:44 -0300 Subject: [PATCH 1/7] update glmnet --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 31a5ca3..3016354 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "StateSpaceLearning" uuid = "971c4b7c-2c4e-4bac-8525-e842df3cde7b" authors = ["andreramosfc "] -version = "1.0.1" +version = "1.0.2" [deps] Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" @@ -12,6 +12,6 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] -GLMNet = "0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2" +GLMNet = "0.7.4" Distributions = "0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25" julia = "1" From 34419ba2f6ba2421b0a46358eab7aa966e0956b2 Mon Sep 17 00:00:00 2001 From: andre_ramos Date: Tue, 29 Oct 2024 20:19:23 -0300 Subject: [PATCH 2/7] fix julia version --- Project.toml | 2 +- docs/Project.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 3016354..3df4000 100644 --- a/Project.toml +++ b/Project.toml @@ -14,4 +14,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] GLMNet = "0.7.4" Distributions = "0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25" -julia = "1" +julia = "1.10" diff --git a/docs/Project.toml b/docs/Project.toml index 94a04ca..4642989 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -4,3 +4,6 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" GLMNet = "8d5ece8b-de18-5317-b113-243142960cc6" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" + +[compat] +julia = "1.10" \ No newline at end of file From 3585fa8d7cf8372d0a2cfa44e4bd72fedeaaa901 Mon Sep 17 00:00:00 2001 From: andre_ramos Date: Tue, 29 Oct 2024 20:24:25 -0300 Subject: [PATCH 3/7] try fix project docs --- docs/Project.toml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 4642989..1c41a2d 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,9 +1,5 @@ [deps] -Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" -GLMNet = "8d5ece8b-de18-5317-b113-243142960cc6" -LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" -Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" [compat] -julia = "1.10" \ No newline at end of file +julia = "1.10" From 1f39402c7b8ba1a7a6beba3400b204075247894e Mon Sep 17 00:00:00 2001 From: andre_ramos Date: Tue, 29 Oct 2024 20:24:49 -0300 Subject: [PATCH 4/7] update gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index f4343d6..25394c9 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ paper_tests/m4_test/metrics_results/ paper_tests/m4_test/results_ARIMA/ paper_tests/m4_test/results_SSL/ paper_tests/simulation_test/results_simulation_raw/ + +docs/build \ No newline at end of file From d6b7da69270ce0d22babff5dfbe20369ec72f19e Mon Sep 17 00:00:00 2001 From: andre_ramos Date: Tue, 29 Oct 2024 20:29:24 -0300 Subject: [PATCH 5/7] update julia docs --- .github/workflows/documentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 4f56798..a546a6b 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -12,8 +12,8 @@ jobs: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@latest with: - # Build documentation on Julia 1.0 - version: '1.0' + # Build documentation on Julia 1.10 + version: '1.10' - name: Install dependencies run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - name: Build and deploy From 782933d9120978bcc1e24a5e4bbd60a28cf27415 Mon Sep 17 00:00:00 2001 From: andre_ramos Date: Tue, 29 Oct 2024 20:33:08 -0300 Subject: [PATCH 6/7] add deps --- docs/Project.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Project.toml b/docs/Project.toml index 1c41a2d..efbcd71 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,5 +1,11 @@ [deps] +Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +GLMNet = "8d5ece8b-de18-5317-b113-243142960cc6" +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" [compat] julia = "1.10" +GLMNet = "0.7.4" +Distributions = "0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25" \ No newline at end of file From 0b5e4c89a5e80382577c53cb703cac2e0f779170 Mon Sep 17 00:00:00 2001 From: andre_ramos Date: Tue, 29 Oct 2024 20:39:45 -0300 Subject: [PATCH 7/7] fix png refs --- docs/src/manual.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/manual.md b/docs/src/manual.md index ec8b4df..4fd8d60 100644 --- a/docs/src/manual.md +++ b/docs/src/manual.md @@ -68,7 +68,7 @@ prediction = exp.(prediction_log) plot(airp.passengers, w=2 , color = "Black", lab = "Historical", legend = :outerbottom) plot!(vcat(ones(length(log_air_passengers)).*NaN, prediction), lab = "Forecast", w=2, color = "blue") ``` -![quick_example_airp](./docs/src/assets/quick_example_airp.PNG) +![quick_example_airp](assets/quick_example_airp.PNG) ```julia N_scenarios = 1000 @@ -81,7 +81,7 @@ end plot!(vcat(ones(length(log_air_passengers)).*NaN, exp.(simulation[:, N_scenarios])), lab = "Scenarios Paths", α = 0.1 , color = "red") ``` -![airp_sim](./docs/src/assets/airp_sim.svg) +![airp_sim](assets/airp_sim.svg) ### Component Extraction Quick example on how to perform component extraction in time series utilizing StateSpaceLearning. @@ -107,7 +107,7 @@ plot(seasonal, w=2 , color = "Black", lab = "Seasonal Component", legend = :oute ``` -| ![quick_example_trend](./docs/src/assets/trend.svg) | ![quick_example_seas](./docs/src/assets/seasonal.svg)| +| ![quick_example_trend](assets/trend.svg) | ![quick_example_seas](assets/seasonal.svg)| |:------------------------------:|:-----------------------------:| @@ -164,7 +164,7 @@ plot!(real_removed_valued, lab = "Real Removed Values", w=2, color = "red") plot!(fitted_completed_missing_values, lab = "Fit in Sample completed values", w=2, color = "blue") ``` -![quick_example_completion_airp](./docs/src/assets/quick_example_completion_airp.PNG) +![quick_example_completion_airp](assets/quick_example_completion_airp.PNG) ### Outlier Detection Quick example of outlier detection for an altered air passengers time-series (artificial NaN values are added to the original time-series). @@ -190,7 +190,7 @@ plot(log_air_passengers, w=2 , color = "Black", lab = "Historical", legend = :ou scatter!([detected_outliers], log_air_passengers[detected_outliers], lab = "Detected Outliers") ``` -![quick_example_completion_airp](./docs/src/assets/outlier.svg) +![quick_example_completion_airp](assets/outlier.svg) ### StateSpaceModels initialization Quick example on how to use StateSpaceLearning to initialize StateSpaceModels