mirror of
https://git.gfz-potsdam.de/naaice/model-training.git
synced 2025-12-15 19:38:21 +01:00
add template class
This commit is contained in:
parent
81d35796f8
commit
a4c419c618
@ -74,14 +74,30 @@ class DataSetSampling():
|
|||||||
self.sampling_strategy = sampling_strategy
|
self.sampling_strategy = sampling_strategy
|
||||||
|
|
||||||
def fit(self, X):
|
def fit(self, X):
|
||||||
return self
|
pass
|
||||||
|
|
||||||
def transform(self):
|
def transform(self):
|
||||||
return self
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Scaling():
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user