From d43a0e3818f3fb5a3720e20adcbacdc32d36771a Mon Sep 17 00:00:00 2001 From: tantanmeow Date: Mon, 12 Jul 2021 21:26:33 -0400 Subject: [PATCH] inherit from sklearn base class --- pyxpcm/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyxpcm/models.py b/pyxpcm/models.py index b943ffa..ab5a4b2 100644 --- a/pyxpcm/models.py +++ b/pyxpcm/models.py @@ -49,7 +49,7 @@ class PCMFeatureError(Exception): class PCMClassError(Exception): """Exception raised when classes not correct""" -class pcm(object): +class pcm(BaseEstimator): """Profile Classification Model class constructor Consume and return :mod:`xarray` objects