Skip to content

Releases: lululxvi/deepxde

DeepXDE v0.11.0

11 Apr 01:41

Choose a tag to compare

We stop the support of Python 2.7 from this release.

Areas of improvement

  • Vectorize geometry related methods
  • PDE supports resample PDE residual points via callback PDEResidualResampler
  • Implement Polygon.boundary_normal()

New APIs

  • Add multifidelity DeepONet

API changes

  • Geometry-related methods (inside, on_boundary, on_initial, boundary_normal, periodic_point) now use the 2d input of shape N by d, not a 1d vector.

DeepXDE v0.10.0

06 Feb 23:06

Choose a tag to compare

Areas of improvement

  • PDE supports excluded points
  • Add PointSetBC for training using exact solution.
  • Add Hypersphere.boundary_normal()
  • Add Triangle.inside()

API changes

  • PDE doesn't support numpy.array X as the third parameter. To define pde with extra coefficients, use PDE(..., auxiliary_var_function=...), see an example at Lorenz_inverse_forced_Colab.ipynb.

DeepXDE v0.9.1

18 Dec 04:01

Choose a tag to compare

Areas of improvement

  • Model.predict() supports PDE with two or three arguments
  • PDE supports different loss functions for different errors
  • Hypercube.uniform_points() uses the same dx in each dimension

New APIs

  • Add metric: nanl2_relative_error, zero
  • Add callback: Timer

DeepXDE v0.9.0

09 Nov 04:02

Choose a tag to compare

New module

  • Add new module dde.grad to compute gradients via dde.grad.jacobian() and dde.grad.hessian()

Areas of improvement

  • Bug fix: GeometryXTime.periodic_point()

DeepXDE v0.8.6

28 Oct 05:00

Choose a tag to compare

Areas of improvement

  • Model.save() supports pickle
  • PDE
    • supports pde as None
    • supports bcs as the empty list []
    • accepts train_distribution = 'uniform' or 'pseudo' or 'sobol'
  • OpNN supports user-defined branch net
  • OpDataSet supports mini-batch training

API changes

  • Rename Model._print_model() to Model.print_model()

New APIs

  • Add Model.state_dict()
  • Add PDE.resample_train_points()

DeepXDE v0.8.5

22 Sep 07:15
ec0a9e1

Choose a tag to compare

Areas of improvement

  • Add Triangle.on_boundary and Triangle.boundary_normal
  • OpNN supports different activations for branch and trunk nets
  • Bug fix: GeometryXTime.uniform_points

DeepXDE v0.8.4

08 Aug 04:08

Choose a tag to compare

Areas of improvement

  • Support numpy inputs to define PDE
  • Bug fix: Hypershpere sobol points

New APIs

  • Add feed-forward neural networks (PFNN) that support sub-networks
  • Add fractional PDE (FPDE and TimeFPDE) with fractional Laplacian

DeepXDE v0.8.3

08 Jul 23:57

Choose a tag to compare

Areas of improvement

  • Bug fix: Cuboid.random_boundary_points()

DeepXDE v0.8.2

07 Jul 19:07

Choose a tag to compare

Areas of improvement

  • OpNN can be partially trained
  • DirichletBC supports functions that returns a number
  • DataSet does not standardize by default
  • Add Swish activation
  • Bug fix in loss plot

DeepXDE v0.8.1

07 Jun 06:31

Choose a tag to compare

Areas of improvement

  • Add loss: mean absolute error
  • Bug fix: Geometry point sampling