Skip to content

Commit

Permalink
minmax not absmax in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tcuongd committed Oct 18, 2023
1 parent b16d849 commit c00f6a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_docs/additional_topics.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ There are few caveats that should be kept in mind when considering warm-starting



Before model fitting, Prophet scales `y` by dividing by the maximum value in the history. For datasets with very large `y` values, the scaled `y` values may be compressed to a very small range (i.e. `[0.99999... - 1.0]`), which causes a bad fit. This can be fixed by setting `scaling='absmax'` in the Prophet constructor.
Before model fitting, Prophet scales `y` by dividing by the maximum value in the history. For datasets with very large `y` values, the scaled `y` values may be compressed to a very small range (i.e. `[0.99999... - 1.0]`), which causes a bad fit. This can be fixed by setting `scaling='minmax'` in the Prophet constructor.


```python
Expand Down
2 changes: 1 addition & 1 deletion notebooks/additional_topics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@
"source": [
"### minmax scaling (new in 1.1.5)\n",
"\n",
"Before model fitting, Prophet scales `y` by dividing by the maximum value in the history. For datasets with very large `y` values, the scaled `y` values may be compressed to a very small range (i.e. `[0.99999... - 1.0]`), which causes a bad fit. This can be fixed by setting `scaling='absmax'` in the Prophet constructor."
"Before model fitting, Prophet scales `y` by dividing by the maximum value in the history. For datasets with very large `y` values, the scaled `y` values may be compressed to a very small range (i.e. `[0.99999... - 1.0]`), which causes a bad fit. This can be fixed by setting `scaling='minmax'` in the Prophet constructor."
]
},
{
Expand Down

0 comments on commit c00f6a2

Please sign in to comment.