prophet-rb 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -1
  3. data/LICENSE.txt +1 -1
  4. data/README.md +51 -1
  5. data/data-raw/LICENSE-holidays.txt +20 -0
  6. data/data-raw/README.md +3 -0
  7. data/data-raw/generated_holidays.csv +29302 -61443
  8. data/lib/prophet/forecaster.rb +200 -0
  9. data/lib/prophet/holidays.rb +6 -10
  10. data/lib/prophet/stan_backend.rb +5 -5
  11. data/lib/prophet/version.rb +1 -1
  12. data/lib/prophet.rb +22 -7
  13. data/stan/{unix/prophet.stan → prophet.stan} +8 -7
  14. data/vendor/aarch64-linux/bin/prophet +0 -0
  15. data/vendor/{prophet-linux-arm → aarch64-linux}/lib/libtbb.so +0 -0
  16. data/vendor/{prophet-linux-arm → aarch64-linux}/lib/libtbb.so.2 +0 -0
  17. data/vendor/{prophet-linux-arm → aarch64-linux}/lib/libtbbmalloc.so +0 -0
  18. data/vendor/{prophet-linux-arm → aarch64-linux}/lib/libtbbmalloc.so.2 +0 -0
  19. data/vendor/{prophet-linux-arm → aarch64-linux}/lib/libtbbmalloc_proxy.so +0 -0
  20. data/vendor/{prophet-linux-arm → aarch64-linux}/lib/libtbbmalloc_proxy.so.2 +0 -0
  21. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/boost-license.txt +0 -0
  22. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/cli11-license.txt +0 -0
  23. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/cmdstan-license.txt +0 -0
  24. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/eigen-bsd-license.txt +0 -0
  25. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/eigen-mpl2-license.txt +0 -0
  26. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/prophet-license.txt +0 -0
  27. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/rapidjson-license.txt +0 -0
  28. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/stan-license.txt +0 -0
  29. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/stan-math-license.txt +0 -0
  30. data/vendor/aarch64-linux/licenses/sundials-license.txt +29 -0
  31. data/vendor/aarch64-linux/licenses/sundials-notice.txt +21 -0
  32. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/tbb-license.txt +0 -0
  33. data/vendor/{prophet-linux-arm → aarch64-linux}/licenses/tbb-third-party-programs.txt +0 -0
  34. data/vendor/arm64-darwin/bin/prophet +0 -0
  35. data/vendor/arm64-darwin/lib/libtbb.dylib +0 -0
  36. data/vendor/{prophet-mac-arm → arm64-darwin}/lib/libtbbmalloc.dylib +0 -0
  37. data/vendor/{prophet-mac-arm → arm64-darwin}/lib/libtbbmalloc_proxy.dylib +0 -0
  38. data/vendor/{prophet-linux → arm64-darwin}/licenses/boost-license.txt +0 -0
  39. data/vendor/{prophet-linux → arm64-darwin}/licenses/cli11-license.txt +0 -0
  40. data/vendor/{prophet-linux → arm64-darwin}/licenses/cmdstan-license.txt +0 -0
  41. data/vendor/{prophet-linux → arm64-darwin}/licenses/eigen-bsd-license.txt +0 -0
  42. data/vendor/{prophet-linux → arm64-darwin}/licenses/eigen-mpl2-license.txt +0 -0
  43. data/vendor/{prophet-linux → arm64-darwin}/licenses/prophet-license.txt +0 -0
  44. data/vendor/{prophet-linux → arm64-darwin}/licenses/rapidjson-license.txt +0 -0
  45. data/vendor/{prophet-linux → arm64-darwin}/licenses/stan-license.txt +0 -0
  46. data/vendor/{prophet-linux → arm64-darwin}/licenses/stan-math-license.txt +0 -0
  47. data/vendor/arm64-darwin/licenses/sundials-license.txt +29 -0
  48. data/vendor/arm64-darwin/licenses/sundials-notice.txt +21 -0
  49. data/vendor/{prophet-linux → arm64-darwin}/licenses/tbb-license.txt +0 -0
  50. data/vendor/{prophet-linux → arm64-darwin}/licenses/tbb-third-party-programs.txt +0 -0
  51. data/vendor/x86_64-darwin/bin/prophet +0 -0
  52. data/vendor/x86_64-darwin/lib/libtbb.dylib +0 -0
  53. data/vendor/{prophet-mac → x86_64-darwin}/lib/libtbbmalloc.dylib +0 -0
  54. data/vendor/{prophet-mac → x86_64-darwin}/lib/libtbbmalloc_proxy.dylib +0 -0
  55. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/boost-license.txt +0 -0
  56. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/cli11-license.txt +0 -0
  57. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/cmdstan-license.txt +0 -0
  58. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/eigen-bsd-license.txt +0 -0
  59. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/eigen-mpl2-license.txt +0 -0
  60. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/prophet-license.txt +0 -0
  61. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/rapidjson-license.txt +0 -0
  62. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/stan-license.txt +0 -0
  63. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/stan-math-license.txt +0 -0
  64. data/vendor/x86_64-darwin/licenses/sundials-license.txt +29 -0
  65. data/vendor/x86_64-darwin/licenses/sundials-notice.txt +21 -0
  66. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/tbb-license.txt +0 -0
  67. data/vendor/{prophet-mac-arm → x86_64-darwin}/licenses/tbb-third-party-programs.txt +0 -0
  68. data/vendor/x86_64-linux/bin/prophet +0 -0
  69. data/vendor/{prophet-linux → x86_64-linux}/lib/libtbb.so +0 -0
  70. data/vendor/x86_64-linux/lib/libtbb.so.2 +0 -0
  71. data/vendor/{prophet-linux → x86_64-linux}/lib/libtbbmalloc.so +0 -0
  72. data/vendor/x86_64-linux/lib/libtbbmalloc.so.2 +0 -0
  73. data/vendor/{prophet-linux → x86_64-linux}/lib/libtbbmalloc_proxy.so +0 -0
  74. data/vendor/{prophet-linux → x86_64-linux}/lib/libtbbmalloc_proxy.so.2 +0 -0
  75. data/vendor/{prophet-mac → x86_64-linux}/licenses/boost-license.txt +0 -0
  76. data/vendor/{prophet-mac → x86_64-linux}/licenses/cli11-license.txt +0 -0
  77. data/vendor/{prophet-mac → x86_64-linux}/licenses/cmdstan-license.txt +0 -0
  78. data/vendor/{prophet-mac → x86_64-linux}/licenses/eigen-bsd-license.txt +0 -0
  79. data/vendor/{prophet-mac → x86_64-linux}/licenses/eigen-mpl2-license.txt +0 -0
  80. data/vendor/{prophet-mac → x86_64-linux}/licenses/prophet-license.txt +0 -0
  81. data/vendor/{prophet-mac → x86_64-linux}/licenses/rapidjson-license.txt +0 -0
  82. data/vendor/{prophet-mac → x86_64-linux}/licenses/stan-license.txt +0 -0
  83. data/vendor/{prophet-mac → x86_64-linux}/licenses/stan-math-license.txt +0 -0
  84. data/vendor/x86_64-linux/licenses/sundials-license.txt +29 -0
  85. data/vendor/x86_64-linux/licenses/sundials-notice.txt +21 -0
  86. data/vendor/{prophet-mac → x86_64-linux}/licenses/tbb-license.txt +0 -0
  87. data/vendor/{prophet-mac → x86_64-linux}/licenses/tbb-third-party-programs.txt +0 -0
  88. metadata +79 -74
  89. data/stan/win/prophet.stan +0 -175
  90. data/vendor/prophet-linux/bin/prophet +0 -0
  91. data/vendor/prophet-linux/lib/libtbb.so.2 +0 -0
  92. data/vendor/prophet-linux/lib/libtbbmalloc.so.2 +0 -0
  93. data/vendor/prophet-linux/licenses/sundials-license.txt +0 -67
  94. data/vendor/prophet-linux-arm/bin/prophet +0 -0
  95. data/vendor/prophet-linux-arm/licenses/sundials-license.txt +0 -67
  96. data/vendor/prophet-mac/bin/prophet +0 -0
  97. data/vendor/prophet-mac/lib/libtbb.dylib +0 -0
  98. data/vendor/prophet-mac/licenses/sundials-license.txt +0 -67
  99. data/vendor/prophet-mac-arm/bin/prophet +0 -0
  100. data/vendor/prophet-mac-arm/lib/libtbb.dylib +0 -0
  101. data/vendor/prophet-mac-arm/licenses/sundials-license.txt +0 -67
@@ -1,67 +0,0 @@
1
- Copyright (c) 2002-2016, Lawrence Livermore National Security.
2
- Produced at the Lawrence Livermore National Laboratory.
3
- Written by A.C. Hindmarsh, D.R. Reynolds, R. Serban, C.S. Woodward,
4
- S.D. Cohen, A.G. Taylor, S. Peles, L.E. Banks, and D. Shumaker.
5
- LLNL-CODE-667205 (ARKODE)
6
- UCRL-CODE-155951 (CVODE)
7
- UCRL-CODE-155950 (CVODES)
8
- UCRL-CODE-155952 (IDA)
9
- UCRL-CODE-237203 (IDAS)
10
- LLNL-CODE-665877 (KINSOL)
11
- All rights reserved.
12
-
13
- This file is part of SUNDIALS. For details,
14
- see http://computation.llnl.gov/projects/sundials
15
-
16
- Redistribution and use in source and binary forms, with or without
17
- modification, are permitted provided that the following conditions
18
- are met:
19
-
20
- 1. Redistributions of source code must retain the above copyright
21
- notice, this list of conditions and the disclaimer below.
22
-
23
- 2. Redistributions in binary form must reproduce the above copyright
24
- notice, this list of conditions and the disclaimer (as noted below)
25
- in the documentation and/or other materials provided with the
26
- distribution.
27
-
28
- 3. Neither the name of the LLNS/LLNL nor the names of its contributors
29
- may be used to endorse or promote products derived from this software
30
- without specific prior written permission.
31
-
32
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
33
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
34
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
35
- FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
36
- LAWRENCE LIVERMORE NATIONAL SECURITY, LLC, THE U.S. DEPARTMENT OF
37
- ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
38
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
39
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
40
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
41
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
42
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
43
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
44
-
45
- Additional BSD Notice
46
- ---------------------
47
- 1. This notice is required to be provided under our contract with
48
- the U.S. Department of Energy (DOE). This work was produced at
49
- Lawrence Livermore National Laboratory under Contract
50
- No. DE-AC52-07NA27344 with the DOE.
51
-
52
- 2. Neither the United States Government nor Lawrence Livermore
53
- National Security, LLC nor any of their employees, makes any warranty,
54
- express or implied, or assumes any liability or responsibility for the
55
- accuracy, completeness, or usefulness of any information, apparatus,
56
- product, or process disclosed, or represents that its use would not
57
- infringe privately-owned rights.
58
-
59
- 3. Also, reference herein to any specific commercial products, process,
60
- or services by trade name, trademark, manufacturer or otherwise does
61
- not necessarily constitute or imply its endorsement, recommendation,
62
- or favoring by the United States Government or Lawrence Livermore
63
- National Security, LLC. The views and opinions of authors expressed
64
- herein do not necessarily state or reflect those of the United States
65
- Government or Lawrence Livermore National Security, LLC, and shall
66
- not be used for advertising or product endorsement purposes.
67
-
Binary file
@@ -1,67 +0,0 @@
1
- Copyright (c) 2002-2016, Lawrence Livermore National Security.
2
- Produced at the Lawrence Livermore National Laboratory.
3
- Written by A.C. Hindmarsh, D.R. Reynolds, R. Serban, C.S. Woodward,
4
- S.D. Cohen, A.G. Taylor, S. Peles, L.E. Banks, and D. Shumaker.
5
- LLNL-CODE-667205 (ARKODE)
6
- UCRL-CODE-155951 (CVODE)
7
- UCRL-CODE-155950 (CVODES)
8
- UCRL-CODE-155952 (IDA)
9
- UCRL-CODE-237203 (IDAS)
10
- LLNL-CODE-665877 (KINSOL)
11
- All rights reserved.
12
-
13
- This file is part of SUNDIALS. For details,
14
- see http://computation.llnl.gov/projects/sundials
15
-
16
- Redistribution and use in source and binary forms, with or without
17
- modification, are permitted provided that the following conditions
18
- are met:
19
-
20
- 1. Redistributions of source code must retain the above copyright
21
- notice, this list of conditions and the disclaimer below.
22
-
23
- 2. Redistributions in binary form must reproduce the above copyright
24
- notice, this list of conditions and the disclaimer (as noted below)
25
- in the documentation and/or other materials provided with the
26
- distribution.
27
-
28
- 3. Neither the name of the LLNS/LLNL nor the names of its contributors
29
- may be used to endorse or promote products derived from this software
30
- without specific prior written permission.
31
-
32
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
33
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
34
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
35
- FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
36
- LAWRENCE LIVERMORE NATIONAL SECURITY, LLC, THE U.S. DEPARTMENT OF
37
- ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
38
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
39
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
40
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
41
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
42
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
43
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
44
-
45
- Additional BSD Notice
46
- ---------------------
47
- 1. This notice is required to be provided under our contract with
48
- the U.S. Department of Energy (DOE). This work was produced at
49
- Lawrence Livermore National Laboratory under Contract
50
- No. DE-AC52-07NA27344 with the DOE.
51
-
52
- 2. Neither the United States Government nor Lawrence Livermore
53
- National Security, LLC nor any of their employees, makes any warranty,
54
- express or implied, or assumes any liability or responsibility for the
55
- accuracy, completeness, or usefulness of any information, apparatus,
56
- product, or process disclosed, or represents that its use would not
57
- infringe privately-owned rights.
58
-
59
- 3. Also, reference herein to any specific commercial products, process,
60
- or services by trade name, trademark, manufacturer or otherwise does
61
- not necessarily constitute or imply its endorsement, recommendation,
62
- or favoring by the United States Government or Lawrence Livermore
63
- National Security, LLC. The views and opinions of authors expressed
64
- herein do not necessarily state or reflect those of the United States
65
- Government or Lawrence Livermore National Security, LLC, and shall
66
- not be used for advertising or product endorsement purposes.
67
-