Skip to content

Rename catboost #779

Merged
merged 11 commits into from
Jul 5, 2022
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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