Browse code

change resolution_loss to a factory function

Bas Nijholt authored on 22/11/2018 11:48:25
Showing 1 changed files
... ...
@@ -15,7 +15,7 @@ Custom loss functions
15 15
 
16 16
 .. autofunction:: adaptive.learner.learner2D.uniform_loss
17 17
 
18
-.. autofunction:: adaptive.learner.learner2D.resolution_loss
18
+.. autofunction:: adaptive.learner.learner2D.resolution_loss_function
19 19
 
20 20
 
21 21
 Helper functions
Browse code

add doc files

Bas Nijholt authored on 16/10/2018 18:10:12
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,25 @@
1
+adaptive.Learner2D
2
+==================
3
+
4
+.. autoclass:: adaptive.Learner2D
5
+    :members:
6
+    :undoc-members:
7
+    :show-inheritance:
8
+
9
+
10
+Custom loss functions
11
+---------------------
12
+.. autofunction:: adaptive.learner.learner2D.default_loss
13
+
14
+.. autofunction:: adaptive.learner.learner2D.minimize_triangle_surface_loss
15
+
16
+.. autofunction:: adaptive.learner.learner2D.uniform_loss
17
+
18
+.. autofunction:: adaptive.learner.learner2D.resolution_loss
19
+
20
+
21
+Helper functions
22
+----------------
23
+.. autofunction:: adaptive.learner.learner2D.areas
24
+
25
+.. autofunction:: adaptive.learner.learner2D.deviations