IDE#

class pinnx.problem.IDE(geometry, ide, constraints, quad_deg, approximator=None, kernel=None, num_domain=0, num_boundary=0, train_distribution='Hammersley', anchors=None, solution=None, num_test=None, loss_fn='MSE', loss_weights=None)[source]#

IDE solver.

The current version only supports 1D problems with the integral int_0^x K(x, t) y(t) dt.

Parameters:

kernel (Callable) – (x, t) –> R.

test()[source]#

Return a test dataset.

train_next_batch(batch_size=None)[source]#

Return a training dataset of the size batch_size.