Skip to content

Commit

Permalink
Rename catboost (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-shenshina authored Jul 5, 2022
1 parent 01b349d commit 2a1481c
Show file tree
Hide file tree
Showing 21 changed files with 724 additions and 346 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-
-
-
-
### Changed
- Add columns and mode parameters in plot_correlation_matrix ([#726](https://github.com/tinkoff-ai/etna/pull/753))
-
- Add CatBoostPerSegmentModel and CatBoostMultiSegmentModel classes, deprecate CatBoostModelPerSegment and CatBoostModelMultiSegment ([#779](https://github.com/tinkoff-ai/etna/pull/779))
-
-
-
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ train_ts, test_ts = ts.train_test_split(test_size=HORIZON)

Define transformations and model:
```python
from etna.models import CatBoostModelMultiSegment
from etna.models import CatBoostMultiSegmentModel
from etna.transforms import DateFlagsTransform
from etna.transforms import DensityOutliersTransform
from etna.transforms import FourierTransform
Expand All @@ -95,7 +95,7 @@ transforms = [
]

# Prepare model
model = CatBoostModelMultiSegment()
model = CatBoostMultiSegmentModel()
```

Fit `Pipeline` and make a prediction:
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/perfomance/configs/pipeline/daily_case1.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_target_: etna.pipeline.Pipeline
horizon: 14
model:
_target_: etna.models.CatBoostModelMultiSegment
_target_: etna.models.CatBoostMultiSegmentModel
transforms:
- _target_: etna.transforms.TimeSeriesImputerTransform
in_column: target
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/perfomance/configs/pipeline/daily_case2.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_target_: etna.pipeline.Pipeline
horizon: 14
model:
_target_: etna.models.CatBoostModelPerSegment
_target_: etna.models.CatBoostPerSegmentModel
transforms:
- _target_: etna.transforms.TimeSeriesImputerTransform
in_column: target
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/perfomance/configs/pipeline/daily_case3.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_target_: etna.pipeline.Pipeline
horizon: 14
model:
_target_: etna.models.CatBoostModelMultiSegment
_target_: etna.models.CatBoostMultiSegmentModel
transforms:
- _target_: etna.transforms.TimeSeriesImputerTransform
in_column: target
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/perfomance/configs/pipeline/daily_case6.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_target_: etna.pipeline.Pipeline
horizon: 14
model:
_target_: etna.models.CatBoostModelMultiSegment
_target_: etna.models.CatBoostMultiSegmentModel
transforms:
- _target_: etna.transforms.TimeSeriesImputerTransform
in_column: target
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/perfomance/configs/pipeline/default.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_target_: etna.pipeline.Pipeline
horizon: 14
model:
_target_: etna.models.CatBoostModelMultiSegment
_target_: etna.models.CatBoostMultiSegmentModel
transforms:
- _target_: etna.transforms.LinearTrendTransform
in_column: target
Expand Down
4 changes: 2 additions & 2 deletions docs/source/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Example of pipeline's config:
_target_: etna.pipeline.Pipeline
horizon: 4
model:
_target_: etna.models.CatBoostModelMultiSegment
_target_: etna.models.CatBoostMultiSegmentModel
transforms:
- _target_: etna.transforms.LinearTrendTransform
in_column: target
Expand Down Expand Up @@ -103,7 +103,7 @@ Example of pipeline's config:
_target_: etna.pipeline.Pipeline
horizon: 4
model:
_target_: etna.models.CatBoostModelMultiSegment
_target_: etna.models.CatBoostMultiSegmentModel
transforms:
- _target_: etna.transforms.LinearTrendTransform
in_column: target
Expand Down
2 changes: 2 additions & 0 deletions etna/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
from etna.models.base import PerSegmentModel
from etna.models.catboost import CatBoostModelMultiSegment
from etna.models.catboost import CatBoostModelPerSegment
from etna.models.catboost import CatBoostMultiSegmentModel
from etna.models.catboost import CatBoostPerSegmentModel
from etna.models.holt_winters import HoltModel
from etna.models.holt_winters import HoltWintersModel
from etna.models.holt_winters import SimpleExpSmoothingModel
Expand Down
Loading

1 comment on commit 2a1481c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.