You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/content/contributing/code_anatomy.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ The `pre` module contains all transformer and basis class definitions.
48
48
Transformers and bases can be _monolithic_ (treating the state as one variable) or _multivariable_ (treating different chunks of the state as separate variables).
49
49
Multivariable transformers and bases inherit from `pre._multivar._MultivarMixin` and should have, as attributes, a list of monolithic counterparts.
50
50
51
-
Read [Data Normalization](sec-normalization) and [Basis Computation](sec-basis-computation) before starting work here.
51
+
Read [Data Scaling](sec-pre-scaling) and [Basis Computation](sec-basis-computation) before starting work here.
Copy file name to clipboardexpand all lines: docs/content/opinf/intro.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ Common preprocessing steps include
153
153
2. Centering or shifting data to account for boundary conditions.
154
154
3. Scaling / nondimensionalizing the variables represented in the state.
155
155
156
-
See [Data Normalization](sec-normalization) for details and examples.
156
+
See [Data Scaling](sec-pre-scaling) for details and examples.
157
157
:::
158
158
159
159
Operator Inference uses a regression problem to compute the reduced-order operators, which requires state data ($\mathbf{Q}$), input data ($\mathbf{U}$), _and_ data for the corresponding time derivatives:
Copy file name to clipboardexpand all lines: docs/content/tutorials/basics.ipynb
+2-8
Original file line number
Diff line number
Diff line change
@@ -641,17 +641,11 @@
641
641
"cell_type": "markdown",
642
642
"metadata": {},
643
643
"source": [
644
-
":::{tip}\n",
644
+
"::::{tip}\n",
645
645
"The class `opinf.pre.PODBasis` conveniently combines basis construction and dimension selection. The `fit()` method receives the state matrix $\\mathbf{Q}$ and either the desired reduced dimension $r$ or a threshold value for selecting $r$ based on the cumulative or residual energy.\n",
646
646
"\n",
647
-
"python```\n",
648
-
">>> basis = opinf.pre.PODBasis().fit(Q, r=2)\n",
649
-
">>> basis.shape == Vr.shape and np.all(basis.entries == Vr)\n",
650
-
"True\n",
651
-
"```\n",
652
-
"\n",
653
647
"The next tutorial uses the `PODBasis` class instead of the `pod_basis()` function.\n",
Copy file name to clipboardexpand all lines: docs/content/tutorials/heat_equation.ipynb
+2-2
Original file line number
Diff line number
Diff line change
@@ -880,7 +880,7 @@
880
880
"source": [
881
881
":::{admonition} On Convergence\n",
882
882
":class: warning\n",
883
-
"The figure above conveys a sense of convergence: as the reduced dimension $r$ increases, the ROM error decreases. In more complex problems, **the error does not always decrease monotinically as $r$ increases**. In fact, at some point as $r$ increases performance often deteriorates significantly due to poor conditioning in the operator inference regression. In practice, choose a reduced dimension $r$ that balances solution accuracy with computational speed, not too small but also not too large.\n",
883
+
"The figure above conveys a sense of convergence: as the reduced dimension $r$ increases, the ROM error decreases. In more complex problems, **the error does not always decrease monotonically as $r$ increases**. In fact, at some point as $r$ increases performance often deteriorates significantly due to poor conditioning in the operator inference regression. In practice, choose a reduced dimension $r$ that balances solution accuracy with computational speed, not too small but also not too large.\n",
0 commit comments