# PeriodicCorrelatedPatternMining Class for Mining Periodic Correlated Patterns
#
# **Importing and Using the PeriodicCorrelatedPatternMining Class in a Python Program**
#
# from geoanalytics.patternMining import PeriodicCorrelatedPatternMining
#
# miner = PeriodicCorrelatedPatternMining("data/input.txt")
#
# miner.run(minSupport=3, minAllConf=0.6, maxPerAllConf=0.8, maxPer=10)
#
__copyright__ = """
Copyright (C) 2022 Rage Uday Kiran
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import pandas as pd
from PAMI.extras.dbStats.TemporalDatabase import TemporalDatabase
from PAMI.periodicCorrelatedPattern.basic import EPCPGrowth
from typing import Union
from .abstract import PatternMiner