.. Template is based on github.com/jdb78/pytorch-forecasting/tree/v0.9.2/docs/source under MIT License LinearPerSegmentModel ===================== .. currentmodule:: etna.models .. autoclass:: LinearPerSegmentModel .. rubric:: Methods .. autosummary:: ~LinearPerSegmentModel.fit ~LinearPerSegmentModel.forecast ~LinearPerSegmentModel.get_model ~LinearPerSegmentModel.load ~LinearPerSegmentModel.params_to_tune ~LinearPerSegmentModel.predict ~LinearPerSegmentModel.save ~LinearPerSegmentModel.set_params ~LinearPerSegmentModel.to_dict .. rubric:: Attributes This class stores its :code:`__init__` parameters as attributes. .. autosummary:: ~LinearPerSegmentModel.context_size