prophet-rb 0.4.2 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7d18b97220bb11a0d836b1d272728ed9211aa85fb687032c6451d26b70c6755
4
- data.tar.gz: c0de54e1a1f66785fe7a61f22c187376c43f9746f9cefa9f6d46834c742f15fb
3
+ metadata.gz: db6bcb7718fabc1b3eb85bfac7e772f4e792b190acb7147f533c105bb67ce7c2
4
+ data.tar.gz: 43446f1d8923d712e4c7856b3529f0c36b5c32c3dbfec59ca2124b901e8a8b0d
5
5
  SHA512:
6
- metadata.gz: 3b7d79d1b6c2fd8335ce417c653ecca5b7e15b9092dcba76f0062e38a775a0af6f88bb92334b2a24871745b2d64fb8822c3898617d9c391268cc7c7299e99e31
7
- data.tar.gz: 0c094fe16a216ed0f19e566c5c5af896a878b3086f4ac0e550e58e9945c213aae9d12259a08c628b0f02662f7e7c25dcf10313ac65b311f9024a8b60f2b84331
6
+ metadata.gz: 3f6c0802652ee69eeef122356743c7ea7b86d3e6252a78852dc8b5ab88e3bd1cb1aa88cb4193fe1de6581a2034b3827f5ccb4a8a0cb4f53af5cc7d5439bb8b3e
7
+ data.tar.gz: 77d16680eac6f21e60c2e46d4f87f55fa9b8a0778ade2d3d7b244e90ce3978063b6f845ddcaa63d8f38982dcd665ef3b6a1993b394cf280698e4ac1793350a23
data/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## 0.5.1 (2024-05-06)
2
+
3
+ - Added `scaling` option
4
+ - Fixed issue with yearly seasonality being enabled without enough data
5
+ - Fixed issue with internal columns in `predict` output (`col`, `col_lower`, and `col_upper`)
6
+
7
+ ## 0.5.0 (2023-09-05)
8
+
9
+ - Added support for Polars
10
+ - Updated holidays
11
+ - Changed warning to error for unsupported country holidays
12
+ - Disabled logging by default
13
+ - Fixed error with `add_regressor` and holidays
14
+ - Dropped support for Ruby < 3
15
+
1
16
  ## 0.4.2 (2022-07-12)
2
17
 
3
18
  - Fixed warning with `add_country_holidays` method
data/LICENSE.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) Facebook, Inc. and its affiliates.
4
- Copyright (c) 2020-2022 Andrew Kane
4
+ Copyright (c) 2020-2023 Andrew Kane
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining
7
7
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -227,7 +227,7 @@ m = Prophet.new(changepoints: ["2014-01-01"])
227
227
  Create a data frame with `holiday` and `ds` columns. Include all occurrences in your past data and future occurrences you’d like to forecast.
228
228
 
229
229
  ```ruby
230
- playoffs = Rover::DataFrame.new(
230
+ playoffs = Rover::DataFrame.new({
231
231
  "holiday" => "playoff",
232
232
  "ds" => [
233
233
  "2008-01-13", "2009-01-03", "2010-01-16",
@@ -238,13 +238,13 @@ playoffs = Rover::DataFrame.new(
238
238
  ],
239
239
  "lower_window" => 0,
240
240
  "upper_window" => 1
241
- )
242
- superbowls = Rover::DataFrame.new(
241
+ })
242
+ superbowls = Rover::DataFrame.new({
243
243
  "holiday" => "superbowl",
244
244
  "ds" => ["2010-02-07", "2014-02-02", "2016-02-07"],
245
245
  "lower_window" => 0,
246
246
  "upper_window" => 1
247
- )
247
+ })
248
248
  holidays = playoffs.concat(superbowls)
249
249
 
250
250
  m = Prophet.new(holidays: holidays)
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017-2022 <maurizio.montel@gmail.com>
1
+ Copyright (c) 2017-2023 <dr.prodigy.github@gmail.com>
2
2
  Copyright (c) 2014-2017 <ryanssdev@icloud.com>
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
data/data-raw/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  Holidays from 1995 through 2044 are generated from [this script](https://github.com/facebook/prophet/blob/main/python/scripts/generate_holidays_file.py).
2
2
 
3
- The data is primarily based on the Python [holidays](https://pypi.org/project/holidays/) package.
3
+ The data is from the Python [holidays](https://pypi.org/project/holidays/) package.