main
ifiguero 2025-03-13 23:43:31 -03:00
parent 28b1123ae4
commit 08a87e1605
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ class GasSensorDataLoader:
self.logger.info("Initializing dataset delta values.")
data_copy = {key: {'label': value['label'], 'sampleId': value['sampleId'], 'data': value['data'].copy()} for key, value in self.data.items()}
if self.smooth == 'conv3':
self.logger.info("Noise filter: Convolution [0.2, 0.6, 0.2] selected.")
kernel = np.array([0.2, 0.6, 0.2])
for key in data_copy:
tempdf = pd.DataFrame()