QuadrupleDataset#
- class pinnx.problem.QuadrupleDataset(X_train, y_train, X_test, y_test, approximator=None, loss_fn='MSE', loss_weights=None)[source]#
Dataset with each data point as a quadruple.
The couple of the first three elements are the input, and the fourth element is the output. This dataset can be used with the network
MIONetfor operator learning.- Parameters:
X_train – A tuple of three NumPy arrays.
y_train – A NumPy array.