prophet-rb 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7d18b97220bb11a0d836b1d272728ed9211aa85fb687032c6451d26b70c6755
4
- data.tar.gz: c0de54e1a1f66785fe7a61f22c187376c43f9746f9cefa9f6d46834c742f15fb
3
+ metadata.gz: 4fd9d15984092c132cd6f13fa633e76e989de29ddd38f3f467803f7f76036466
4
+ data.tar.gz: 79b66208c4473e18a2da9fe8676d806d1e993f8f2723739f6ba4592d94b2b2f4
5
5
  SHA512:
6
- metadata.gz: 3b7d79d1b6c2fd8335ce417c653ecca5b7e15b9092dcba76f0062e38a775a0af6f88bb92334b2a24871745b2d64fb8822c3898617d9c391268cc7c7299e99e31
7
- data.tar.gz: 0c094fe16a216ed0f19e566c5c5af896a878b3086f4ac0e550e58e9945c213aae9d12259a08c628b0f02662f7e7c25dcf10313ac65b311f9024a8b60f2b84331
6
+ metadata.gz: de7a1a66e44a5846eebbdfc3fe77f7b43032e30562c276fb4e4422086887f689699046c683e4bc55b5291ac2cc80c28a9b8cdd5a2bddb218162a9c5fde6ebd30
7
+ data.tar.gz: 5ab4054e4e4f77a6b3255ee1f9fcb70b5e3aa02d74912960f2c2817c2b4e730d9c896959cd2e8dcaa0dc66338cece5e0130d967a3cdcc2b7c913f9a8fffb524b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.5.0 (2023-09-05)
2
+
3
+ - Added support for Polars
4
+ - Updated holidays
5
+ - Changed warning to error for unsupported country holidays
6
+ - Disabled logging by default
7
+ - Fixed error with `add_regressor` and holidays
8
+ - Dropped support for Ruby < 3
9
+
1
10
  ## 0.4.2 (2022-07-12)
2
11
 
3
12
  - 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.