# Source code for pyFTS.benchmarks.naive

    #!/usr/bin/python
    # -*- coding: utf8 -*-

    from pyFTS.common import fts

    class Naive(fts.FTS):
        """Naïve Forecasting method"""
        def __init__(self, **kwargs):
            super(Naive, self).__init__(order=1, name="Naive",**kwargs)
            self.name = "Naïve Model"
            self.detail = "Naïve Model"
            self.benchmark_only = True
            self.is_high_order = False
            self.uod_clip = False

        def forecast(self, data, **kwargs):
            return data