# Source code for deeppavlov.core.models.estimator

# Copyright 2017 Neural Networks and Deep Learning lab, MIPT
#
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# Unless required by applicable law or agreed to in writing, software
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and

from abc import abstractmethod

from .component import Component
from .serializable import Serializable

[docs]class Estimator(Component, Serializable):
"""Abstract class for components that could be fitted on the data as a whole."""

@abstractmethod
def fit(self, *args, **kwargs):
pass