From a4c419c618ec4c1a5e352ccdbba32fec56738970 Mon Sep 17 00:00:00 2001 From: Hannes Signer Date: Tue, 21 Jan 2025 17:36:41 +0100 Subject: [PATCH] add template class --- preprocessing.py | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/preprocessing.py b/preprocessing.py index 7cb8acd..afc1e7a 100644 --- a/preprocessing.py +++ b/preprocessing.py @@ -74,14 +74,30 @@ class DataSetSampling(): self.sampling_strategy = sampling_strategy def fit(self, X): - return self + pass def transform(self): - return self + pass class Scaling(): + def __init__(self, X, scaling_strategy): + self.X = X + self.scaler = scaling_strategy + + def fit(self, X): + pass + + def transform(self): + pass + + def fit_transform(self, X): + pass + + def inverse_transform(self, X): + pass +