normalization
parent
be4ac3f26c
commit
41ca9b994e
|
@ -302,11 +302,13 @@ class GasSensorDataLoader:
|
|||
x_output = np.concatenate((x_output, x_sample))
|
||||
y_output = np.concatenate((y_output, y_sample))
|
||||
|
||||
target_scaler = MinMaxScaler()
|
||||
y_output = target_scaler.fit_transform(y_output)
|
||||
|
||||
self.dataset[ws] = (x_output, y_output, g_output)
|
||||
|
||||
return self.dataset[ws]
|
||||
|
||||
|
||||
def create_conv1d_dataset(self, measurament, r, l, window):
|
||||
|
||||
X_data = self.scaled_data[measurament]['data'].iloc[r:l]
|
||||
|
|
Loading…
Reference in New Issue